<?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?>
<!--noindex-->
<div class="overlay" id="overlay"> 
<div class="login-box">
<div class="login-title">Авторизация</div>
<div class="login-social clearfix">
<a href="javascript://" onclick="return uSocialLogin('vkontakte');" target="_blank"><img src="/images/social/vkontakte.gif" /></a>
<a href="javascript://" onclick="return uSocialLogin('ok');" target="_blank"><img src="/images/social/odnoklassniki.gif" /></a>
<a href="javascript://" onclick="return uSocialLogin('facebook');" target="_blank"><img src="/images/social/facebook.gif" /></a>
<a href="javascript://" onclick="return uSocialLogin('twitter');"target="_blank"><img src="http://icons.iconarchive.com/icons/graphics-vibe/simple-rounded-social/16/twitter-icon.png" /></a>
<a href="javascript://" onclick="return uSocialLogin('yandex');" target="_blank"><img src="/images/social/yandex.gif" /></a>
<a href="javascript://" onclick="return uSocialLogin('google');" target="_blank"><img src="/images/social/google.gif" /></a>
</div>

<div class="login-form">
<div class="login-input"><input type="text" name="user" id="login_name" placeholder="Ваш логин"/></li></div>
<div class="login-input"><input type="password" name="password" id="login_password" placeholder="Ваш пароль" /></li></div>
<div class="login-button"><button name="sbm" type="submit" title="Вход">Войти на сайт</button></div>

<div class="login-checkbox">
<input id="rem$PAGE_ID$" type="checkbox" name="rem" value="1" checked="checked"/>
<label for="login_save">&nbsp;Запомнить</label>
</div>

<div class="login-links clearfix">
<a href="$REMINDER_LINK$">Забыли пароль?</a>
<a href="$REGISTER_LINK$" class="log-register">Регистрация</a>
</div>
</div>
</div>
</div>
<!--/noindex-->
<?endif?>

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