HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irk2.ru/templates/skin/habra/actions/ActionSettings/profile.tpl
{include file='header.tpl'}

{include file='menu.settings.tpl'}

{include file='system_message.tpl'}

{literal}
<script>
document.addEvent('domready', function() {	

	var inputCity = $('profile_city');
 
	new Autocompleter.Request.HTML(inputCity, DIR_WEB_ROOT+'/include/ajax/cityAutocompleter.php', {
		'indicatorClass': 'autocompleter-loading', // class added to the input during request
		'minLength': 2, // We need at least 1 character
		'selectMode': 'pick', // Instant completion
		'multiple': false // Tag support, by default comma separated
	});
	
	
	var inputCountry = $('profile_country');
 
	new Autocompleter.Request.HTML(inputCountry, DIR_WEB_ROOT+'/include/ajax/countryAutocompleter.php', {
		'indicatorClass': 'autocompleter-loading', // class added to the input during request
		'minLength': 2, // We need at least 1 character
		'selectMode': 'pick', // Instant completion
		'multiple': false // Tag support, by default comma separated
	});
});
</script>
{/literal}

<BR>
<table width="100%"  border="0" cellspacing="4" cellpadding="4">
<tr>

<td align="left">



<p><span class="header">{$aLang.settings_profile_edit}</span>

<form action="{$DIR_WEB_ROOT}/settings/" method="POST" enctype="multipart/form-data">

	<label for="profile_name"><span class="form">{$aLang.settings_profile_name}:</span></label><br />
	<input  style="width: 60%;" type="text" name="profile_name" tabindex="1" id="profile_name" value="{$oUserCurrent->getProfileName()|escape:'html'}" size="20" />	<br>
	<span class="form_note">{$aLang.settings_profile_name_notice}</span><br />
	<br>

	<label for="mail"><span class="form">{$aLang.settings_profile_mail}:</span></label><br />
	<input  style="width: 60%;" type="text" name="mail" tabindex="1" id="mail" value="{$oUserCurrent->getMail()|escape:'html'}" size="20" />	<br>
	<span class="form_note">{$aLang.settings_profile_mail_notice}</span><br />
	<br>

	<span class="form">{$aLang.settings_profile_sex}:</span><br />
	<input type="radio" name="profile_sex" id="profile_sex_m" value="man" {if $oUserCurrent->getProfileSex()=='man'}checked{/if}> &mdash; <span class="form"><label for="profile_sex_m">{$aLang.settings_profile_sex_man}</label></span> <br />
	<input type="radio" name="profile_sex" id="profile_sex_w" value="woman" {if $oUserCurrent->getProfileSex()=='woman'}checked{/if}> &mdash; <span class="form"><label for="profile_sex_w">{$aLang.settings_profile_sex_woman}</label></span><br />
	<input type="radio" name="profile_sex" id="profile_sex_o"  value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if}> &mdash; <span class="form"><label for="profile_sex_o">{$aLang.settings_profile_sex_other}</label></span><br />
	<br>

	

	
	
	<span class="form">{$aLang.settings_profile_birthday}: </span><br />
	<select name="profile_birthday_day">
		<option value="">{$aLang.date_day}</option>
		{section name=date_day start=1 loop=32 step=1}    		
    		<option value="{$smarty.section.date_day.index}" {if $smarty.section.date_day.index==$oUserCurrent->getProfileBirthday()|date_format:"%d"}selected{/if}>{$smarty.section.date_day.index}</option>
		{/section}
	</select>
	<select name="profile_birthday_month">
		<option value="">{$aLang.date_month}</option>		
		<option value="1" {if 1==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_1}</option>
		<option value="2" {if 2==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_2}</option>
		<option value="3" {if 3==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_3}</option>
		<option value="4" {if 4==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_4}</option>
		<option value="5" {if 5==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_5}</option>
		<option value="6" {if 6==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_6}</option>
		<option value="7" {if 7==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_7}</option>
		<option value="8" {if 8==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_8}</option>
		<option value="9" {if 9==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_9}</option>
		<option value="10" {if 10==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_10}</option>
		<option value="11" {if 11==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_11}</option>
		<option value="12" {if 12==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.date_month_12}</option>		
	</select>
	<select name="profile_birthday_year">
		<option value="">{$aLang.date_year}</option>
		{section name=date_year start=1930 loop=2100 step=1}    		
    		<option value="{$smarty.section.date_year.index}" {if $smarty.section.date_year.index==$oUserCurrent->getProfileBirthday()|date_format:"%Y"}selected{/if}>{$smarty.section.date_year.index}</option>
		{/section}
	</select>
	<br><br>
	
	
	<span class="form">{$aLang.settings_profile_country}: </span><br /><input  style="width: 60%;" type="text"	id="profile_country" name="profile_country" value="{$oUserCurrent->getProfileCountry()|escape:'html'}"><br>
	<span class="form">{$aLang.settings_profile_city}:  </span><br /><input  style="width: 60%;" type="text"	id="profile_city" name="profile_city" value="{$oUserCurrent->getProfileCity()|escape:'html'}"><br>
	<br>

	
	<span class="form">{$aLang.settings_profile_icq}:</span><br /> <input type="text"	name="profile_icq" value="{$oUserCurrent->getProfileIcq()|escape:'html'}"><br>
	<br>

	<span class="form">{$aLang.settings_profile_site} :</span><br /> <input style="width: 60%;" type="text"	id="profile_site" name="profile_site" value="{$oUserCurrent->getProfileSite()|escape:'html'}"> &mdash; <label for="profile_site"><span class="form">{$aLang.settings_profile_site_url}</span></label><br>
	<input type="text" style="width: 60%;" id="profile_site_name"	name="profile_site_name" value="{$oUserCurrent->getProfileSiteName()|escape:'html'}"> &mdash; <label for="profile_site_name"><span class="form">{$aLang.settings_profile_site_name}</span></label><br>
	<br>

	
	<span class="form">{$aLang.settings_profile_about}: </span><br /><textarea style="width: 60%;" name="profile_about">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea>
	<br>
	<br>
	<br>	
	<span class="form">{$aLang.settings_profile_password_current}:</span><br /> <input type="password"	name="password_now" value=""><br>
	<span class="form">{$aLang.settings_profile_password_new}:</span><br /> <input type="password"	name="password" value=""><br>
	<span class="form">{$aLang.settings_profile_password_confirm}:</span><br /> <input type="password"	name="password_confirm" value=""><br><br>
<br>

{if $oUserCurrent->getProfileAvatar()}
		<img src="{$oUserCurrent->getProfileAvatarPath(100)}" border="0">
		<img src="{$oUserCurrent->getProfileAvatarPath(64)}" border="0">
		<img src="{$oUserCurrent->getProfileAvatarPath(24)}" border="0">
		<input type="checkbox" id="avatar_delete" name="avatar_delete" value="on"> &mdash; <label for="avatar_delete"><span class="form">{$aLang.settings_profile_avatar_delete}</span></label><br /><br>
{/if}
	

<span class="form">{$aLang.settings_profile_avatar}:</span><br /> <input type="file" name="avatar" ><br>

	<p class="l-bot"><input type="submit" name="submit_profile_edit" tabindex="6" value="{$aLang.settings_profile_submit}" /></p>
</form>

</td>
</tr>
</table>


{include file='footer.tpl'}