<script type="text/javascript" src="{theme}/js/profile_edit.js"></script>

[general]
<div class="buttonsprofile">
  <div class="activetab">
    <a href="/editmypage" onClick="Page.Go(this.href); return false;">
    <div>{translate=lang_67}</div>
    </a>
  </div>
  <a href="/editmypage/contact" onClick="Page.Go(this.href); return false;">{translate=lang_68}</a>
  <a href="/editmypage/interests" onClick="Page.Go(this.href); return false;">{translate=lang_69}</a>
  <a href="/editmypage/all" onClick="Page.Go(this.href); return false;">{translate=lang_70}</a>
</div>
<div class="clear" style="margin-bottom:20px;"></div>
<div class="err_yellow" id="info_save" style="display:none;font-weight:normal;"></div>
<div class="clear"></div>
<div class="texta">{translate=lang_71}:</div>
<div class="padstylej">
  <select id="sex" class="inpst" onChange="sp.check()">
    <option value="0">- {translate=lang_72} -</option>
    
  {sex}
 
  </select>
</div>
<div class="mgclr"></div>
<div class="[sp-all]no_display[/sp-all]" id="sp_block">
  <div class="texta">{translate=lang_73}:</div>
  <div class="padstylej">
    <div class="[user-m]no_display[/user-m]" id="sp_sel_m">
      <select id="sp" class="inpst" onChange="sp.openfriends()">
        <option value="0">- {translate=lang_72} -</option>
        <option value="1" [instSelect-sp-1]>{translate=lang_74}</option>
        <option value="2" [instSelect-sp-2]>{translate=lang_75}</option>
        <option value="3" [instSelect-sp-3]>{translate=lang_76}</option>
        <option value="4" [instSelect-sp-4]>{translate=lang_77}</option>
        <option value="5" [instSelect-sp-5]>{translate=lang_78}</option>
        <option value="6" [instSelect-sp-6]>{translate=lang_79}</option>
        <option value="7" [instSelect-sp-7]>{translate=lang_80}</option>
      </select>
    </div>
    <div class="[user-w]no_display[/user-w]" id="sp_sel_w">
      <select id="sp_w" class="inpst" onChange="sp.openfriends()">
        <option value="0">- {translate=lang_72} -</option>
        <option value="1" [instSelect-sp-1]>{translate=lang_81}</option>
        <option value="2" [instSelect-sp-2]>{translate=lang_82}</option>
        <option value="3" [instSelect-sp-3]>{translate=lang_83}</option>
        <option value="4" [instSelect-sp-4]>{translate=lang_84}</option>
        <option value="5" [instSelect-sp-5]>{translate=lang_85}</option>
        <option value="6" [instSelect-sp-6]>{translate=lang_79}</option>
        <option value="7" [instSelect-sp-7]>{translate=lang_79}</option>
      </select>
    </div>
  </div>
  <div class="mgclr"></div>
</div>
<div class="[sp]no_display[/sp]" id="sp_type">
  <div class="texta" id="sp_text">{sp-text}</div>
  <div class="padstylej fl_l">
    <div style="margin-top:3px;margin-bottom:10px;padding-left:1px;float:left">
      <a href="/" id="sp_name" onClick="sp.openfriends(); return false">{sp-name}</a>
    </div>
    <img src="{theme}/images/close_a_wall.png" class="sp_del" onClick="sp.del()" /></div>
  <div class="mgclr"></div>
  <input type="hidden" id="sp_val" />
</div>
<div class="texta">{translate=lang_86}:</div>
<div class="padstylej">
  <select id="day" class="inpst">
    <option>- {translate=lang_87} -</option>
    
  {user-day}
 
  </select>
  <select id="month" class="inpst">
    <option>- {translate=lang_88} -</option>
    
  {user-month}
 
  </select>
  <select id="year" class="inpst">
    <option>- {translate=lang_89} -</option>
    {user-year}
 
  </select>
</div>
<div class="mgclr"></div>
<div class="texta">{translate=lang_90}:</div>
<div class="padstylej">
  <select id="country" class="inpst" onChange="Profile.LoadCity(this.value); return false;">
    <option value="0">- {translate=lang_72} -</option>
    
  {country}
 
  </select>
  <img src="{theme}/images/loading_mini.gif" alt="" class="load_mini" id="load_mini" /></div>
<div class="mgclr"></div>
<span id="city">
<div class="texta">{translate=lang_91}:</div>
<div class="padstylej">
  <select id="select_city" class="inpst">
    <option value="0">- {translate=lang_72} -</option>
    
  {city}
 
  </select>
  <img src="{theme}/images/loading_mini.gif" alt="" class="load_mini" id="load_mini" /></div>
<div class="mgclr"></div>
</span>
<div class="texta">&nbsp;</div>
<div class="button_div fl_l">
  <button id="saveform">{translate=lang_92}</button>
</div>
<div class="mgclr"></div>
[/general]
[contact]
<div class="buttonsprofile">
  <a href="/editmypage" onClick="Page.Go(this.href); return false;">{translate=lang_93}</a>
  <div class="activetab">
    <a href="/editmypage/contact" onClick="Page.Go(this.href); return false;">
    <div>{translate=lang_94}</div>
    </a>
  </div>
  <a href="/editmypage/interests" onClick="Page.Go(this.href); return false;">{translate=lang_95}</a>
  <a href="/editmypage/all" onClick="Page.Go(this.href); return false;">{translate=lang_70}</a>
</div>
<div class="clear" style="margin-bottom:20px;"></div>
<div class="err_yellow" id="info_save" style="display:none;font-weight:normal;"></div>
<div class="clear"></div>
<div class="texta">{translate=lang_96}:</div>
<input type="text" id="phone" class="inpst" maxlength="50" value="{phone}" style="width:200px;" />
<span id="validPhone"></span>
<div class="mgclr"></div>
<div class="texta">{translate=lang_97}:</div>
<input type="text" id="vk" class="inpst" maxlength="100" value="{vk}" style="width:200px;" />
<span id="validVk"></span>
<div class="mgclr"></div>
<div class="texta">{translate=lang_98}:</div>
<input type="text" id="od" class="inpst" maxlength="100" value="{od}" style="width:200px;" />
<span id="validOd"></span>
<div class="mgclr"></div>
<div class="texta">FaceBook:</div>
<input type="text" id="fb" class="inpst" maxlength="100" value="{fb}" style="width:200px;" />
<span id="validFb"></span>
<div class="mgclr"></div>
<div class="texta">Skype:</div>
<input type="text" id="skype" class="inpst" maxlength="100" value="{skype}" style="width:200px;" />
<span id="validSkype"></span>
<div class="mgclr"></div>
<div class="texta">ICQ:</div>
<input type="text" id="icq" class="inpst" maxlength="9" value="{icq}" style="width:200px;" />
<span id="validIcq"></span>
<div class="mgclr"></div>
<div class="texta">{translate=lang_99}:</div>
<input type="text" id="site" class="inpst" maxlength="100" value="{site}" style="width:200px;" />
<span id="validSite"></span>
<div class="mgclr"></div>
<div class="texta">&nbsp;</div>
<div class="button_div fl_l">
  <button name="save" id="saveform_contact">{translate=lang_92}</button>
</div>
<div class="mgclr"></div>
[/contact]
[interests]
<div class="buttonsprofile">
  <a href="/editmypage" onClick="Page.Go(this.href); return false;">{translate=lang_93}</a>
  <a href="/editmypage/contact" onClick="Page.Go(this.href); return false;">{translate=lang_94}</a>
  <div class="activetab">
    <a href="/editmypage/interests" onClick="Page.Go(this.href); return false;">
    <div>{translate=lang_95}</div>
    </a>
  </div>
  <a href="/editmypage/all" onClick="Page.Go(this.href); return false;">{translate=lang_70}</a>
</div>
<div class="clear" style="margin-bottom:20px;"></div>
<div class="err_yellow" id="info_save" style="display:none;font-weight:normal;"></div>
<div class="clear"></div>
<div class="texta">{translate=lang_100}:</div>
<textarea id="activity" class="inpst" style="width:300px;height:50px;overflow:hidden;">{activity}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_95}:</div>
<textarea id="interests" class="inpst" style="width:300px;height:50px;">{interests}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_101}:</div>
<textarea id="music" class="inpst" style="width:300px;height:50px;">{music}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_102}:</div>
<textarea id="kino" class="inpst" style="width:300px;height:50px;">{kino}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_103}:</div>
<textarea id="books" class="inpst" style="width:300px;height:50px;">{books}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_104}:</div>
<textarea id="games" class="inpst" style="width:300px;height:50px;">{games}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_105}:</div>
<textarea id="quote" class="inpst" style="width:300px;height:50px;">{quote}</textarea>
<div class="mgclr"></div>
<div class="texta">{translate=lang_106}:</div>
<textarea id="myinfo" class="inpst" style="width:300px;height:50px;">{myinfo}</textarea>
<div class="mgclr"></div>
<div class="texta">&nbsp;</div>
<div class="button_div fl_l">
  <button name="save" id="saveform_interests">{translate=lang_92}</button>
</div>
<div class="mgclr"></div>
[/interests]
[xfields] 
<script type="text/javascript">
$(document).ready(function(){
	//Сохранение доп.полей
	$('#saveform_xfields').click(function(){
		butloading('saveform_xfields', '55', 'disabled', '');
		$.post('/index.php?go=editprofile&act=save_xfields', {{for-js-list}}, function(d){
			$('#info_save').html(lang_infosave).show();
			butloading('saveform_xfields', '55', 'enabled', lang_box_save);
		});
	});
});
</script>
<div class="buttonsprofile">
  <a href="/editmypage" onClick="Page.Go(this.href); return false;">{translate=lang_93}</a>
  <a href="/editmypage/contact" onClick="Page.Go(this.href); return false;">{translate=lang_94}</a>
  <a href="/editmypage/interests" onClick="Page.Go(this.href); return false;">{translate=lang_95}</a>
  <div class="activetab">
    <a href="/editmypage/all" onClick="Page.Go(this.href); return false;">
    <div>{translate=lang_70}</div>
    </a>
  </div>
</div>
<div class="clear" style="margin-bottom:20px;"></div>
<div class="err_yellow" id="info_save" style="display:none;font-weight:normal;"></div>
<div class="clear"></div>
<div class="clear"></div>
{xfields}
<div class="texta">&nbsp;</div>
<div class="button_div fl_l">
  <button name="save" id="saveform_xfields">{translate=lang_92}</button>
</div>
<div class="mgclr"></div>
[/xfields]