<?if($PAGE_ID$="login")?>
<div class="login-form">
<div class="input-box">
<div><input class="user" autocomplete="off" placeholder="Имя пользователя" type="text" name="user" size="20" maxlength="50"/></div>
<div><input class="password" autocomplete="off" placeholder="Пароль" type="password" name="password" size="20" maxlength="15"/></div>
</div>
<div class="function">
<div class="checkbox"><input id="rem$PAGE_ID$" type="checkbox" name="rem" value="1" checked="checked"/><label for="rem$PAGE_ID$"><span></span>Запомнить меня</label></div>
<a class="forgot-your-password" href="$REMINDER_LINK$">Забыли пароль? Кликните здесь.</a>
</div>
<input class="loginButton" name="sbm" type="submit" value="ВХОД"/>
</div>
<?else?>
<div class="login_panel">
<div class="lp_close"></div>
<div class="login_panel_in">
<div class="lp_title">Вход</div>
<div class="lp_form clr">
<ul class="login_form">
<li>
<span class="lf_name">Логин</span>
<input type="text" name="user" id="login_name" value="Логин" onblur="if(this.value=='') this.value='Логин';" onfocus="if(this.value=='Логин') this.value='';" class="f_input lgw_form_inp lb_input_user">
</li>
<li>
<span class="lf_name">Пароль</span>
<input type="password" name="password" value="Пароль" onblur="if(this.value=='') this.value='Пароль';" onfocus="if(this.value=='Пароль') this.value='';" id="login_password" class="f_input lgw_form_inp lb_input_pass">
</li>
<li><input id="rem$PAGE_ID$" type="checkbox" name="rem" value="1" checked="checked"> <label for="login_save"> Запомнить</label></li>
<li class="lp_bt_box clr">
<a href="$REMINDER_LINK$" class="lp_res_pas">Напомнить пароль</a>
<button class="lb_login_bt global_button"type="submit" title="Войти">Вход</button> 
</li>
</ul>
</div>

<div class="lp_or"><span>или</span> </div>
<div class="lp_social_login">
<div class="lp_sl_title">Войдите или создайте акаунт с помощью</div>
<ul>
<li class="vk"><a href="javascript://" onclick="return uSocialLogin('vkontakte');" target="_blank" rel="nofollow"></a></li>
<li class="gpl"><a href="javascript://" onclick="return uSocialLogin('google');" target="_blank" rel="nofollow"></a></li>
<li class="tw"><a href="javascript://" onclick="return uSocialLogin('twitter');" target="_blank" rel="nofollow"></a></li>
<li class="fb"><a href="javascript://" onclick="return uSocialLogin('facebook');" target="_blank" rel="nofollow"></a></li>
</ul>
</div>

<div class="lp_or"><span>или</span> </div>
<a href="$REGISTER_LINK$" class="lp_reg global_button">Зарегистрироваться на сайте</a>
</div>
</div>
<?endif?>

<style>
#uidLogButton {display: none;} 
#baseLogForm {display: block!important;} 
#uidLogButtonAjx {display: none;} 
#baseLogFormAjx {display: block!important;} 
</style>