{include file="header1.tpl"}
<section class="auth-page">
{literal}
<script language=javascript>
function checkform() {
  if (document.forgotform.email.value == '') {
    alert("Please type your username or email!");
    document.forgotform.email.focus();
    return false;
  }
  return true;
}
</script>
{/literal} 

{if $errors.turing_image}
Invalid turing image<br><br>
{/if}


{if $found_records == 2}
Your accound was found. Please check your e-mail address and follow confirm URL to reset your password.
<br><br>
{else}

{if $found_records == 0}
No accounts found for provided info.
<br><br>
{elseif $found_records == 1}
Request was confirmed. Login and password was sent to your email address.
<br><br>
{/if}

<form method=post name=forgotform onsubmit="return checkform();">
<input type=hidden name=a value="forgot_password">
<input type=hidden name=action value="forgot_password">
<table cellspacing=0 cellpadding=2 border=0>
<div class="auth-container">
<div class="w-50 col__1">
    <img src="images/img-10.jpg" alt="">
</div>
<div class="w-50 col__2">
<div class="text-center">
    <h1>Reset Password</h1>
</div>
<div class="mt-4">
 <input type=text name='email' value="{$frm.email|escape:htmlall}" class="input" size=30 placeholder="Type your username or e-mail:">
</div>
{include file="captcha.tpl" action="forgot_password"}

<div class="mt-2 text-center">
    <button type="submit" value="Forgot" class="button button-1">Reset Password</button>
</div>
</div>
</div>
 
</table>
</form>
{/if}

</section>
</body>

<script src="js/app.js?id=285af70d6d5881d05330fe1fdcc4cf47"></script>

{literal}
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
    (function (m, e, t, r, i, k, a) {
        m[i] = m[i] || function () {
            (m[i].a = m[i].a || []).push(arguments)
        };
        m[i].l = 1 * new Date();
        for (var j = 0; j < document.scripts.length; j++) {
            if (document.scripts[j].src === r) {
                return;
            }
        }
        k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
    })
    (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

    ym(93761458, "init", {
        clickmap: true,
        trackLinks: true,
        accurateTrackBounce: true,
        webvisor: true
    });
</script>
{/literal}

<noscript>
    <div><img src="https://mc.yandex.ru/watch/93761458" style="position:absolute; left:-9999px;" alt=""/></div>
</noscript>
<!-- /Yandex.Metrika counter -->
</html>