{include file="./index_top.tpl"}
<script>
$('.header__user-item--logout').hide();
</script>
<br><br>
<div align=center>{$lang.Password_changing}</div><br>
    <form action="login.php?restore_pass" method="post">
        <table align=center cellspacing=10>
            <tr>
                <td colspan=2 align=center style="color:red">
                    {if $error}{$error}{else}{$lang.change_pass_text}{/if}<br><br>
                </td>
            </tr>
            <tr>
                <td width=40% align=right>{$lang.Password}:</td>
                <td><input class="form-control form-control-160" type=password name="new_password"></td>
            </tr>
            <tr>
                <td width=40% align=right>{$lang.Password_again}:</td>
                <td><input class="form-control form-control-160" type=password name="confirm_password"></td>
            </tr>
            <tr>
                <td colspan=2 align=center><br><input class="btn btn-sm btn-default" type=submit value="{$lang.Send}"></td>
            </tr>
        </table>
        <input type="hidden" name="csrf" value="{$csrf}"/>
    </form>
<br>