<div id="login-form-window">
<div id="login-form-window-header">
<div onclick="return authFormWindow.CloseLoginForm()" id="close-form-window" title="Закрити вікно">Закрити</div><b>Авторизація</b>
</div>
<?if ($arResult["SHOW_ERRORS"] == "Y" && $arResult["ERROR"] === true && $MESS["WRONG_LOGIN"]):?>
<?ShowMessage($arResult['ERROR_MESSAGE']);?>
<?endif?>
<form method="post" target="_top" action="<?=$arResult["AUTH_URL"]?>">
<?if (strlen($arResult["BACKURL"]) > 0):?>
<input type='hidden' name='backurl' value='<?=$arResult["BACKURL"]?>' />
<?endif?>
<?foreach ($arResult["POST"] as $key => $value):?>
<input type="hidden" name="<?=$key?>" value="<?=$value?>" />
<?endforeach?>
<input type="hidden" name="AUTH_FORM" value="Y" />
<input type="hidden" name="TYPE" value="AUTH" />
<table align="center" cellspacing="0" cellpadding="4">
<tr>
<td align="right" width="30%"><?=GetMessage("AUTH_LOGIN")?>:</td>
<td><input type="text" name="USER_LOGIN" id="auth-user-login" maxlength="50" value="<?=$arResult["USER_LOGIN"]?>" size="12" tabindex="1" /></td>
</tr>
<tr>
<td align="right"><?=GetMessage("AUTH_PASSWORD")?>:</td>
<td><input type="password" name="USER_PASSWORD" maxlength="50" size="12" tabindex="2" /><br /></td>
</tr>
<?if ($arResult["STORE_PASSWORD"] == "Y"):?>
<tr>
<td></td>
<td><input type="checkbox" id="USER_REMEMBER" name="USER_REMEMBER" value="Y" tabindex="3" checked="checked" /><label class="remember-text" for="USER_REMEMBER"><?=GetMessage("AUTH_REMEMBER_ME")?></label></td>
</tr>
<?endif?>
<tr>
<td></td>
<td>
<input type="submit" name="Login" value="<?=GetMessage("AUTH_LOGIN_BUTTON")?>" tabindex="4" /><br />
<a href="<?=$arResult["AUTH_FORGOT_PASSWORD_URL"]?>"><?=GetMessage("AUTH_FORGOT_PASSWORD_2")?></a><br />
<?if($arResult["NEW_USER_REGISTRATION"] == "Y"):?>
<a href="<?=$arResult["AUTH_REGISTER_URL"]?>"><?=GetMessage("AUTH_REGISTER")?></a><br />
<?endif?>
</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
</form>
</div>
|