{include file="header2.tpl"}
<div class="col-lg-9">
<div class="first-content">
<div class="row">
<div class="col-lg-12">
<div class="main-title main-title_lower" data-aos="fade-right" data-aos-delay="0">Forgot Password</div>
<div class="main-subtitle" data-aos="fade-right" data-aos-delay="0">Password Recovery</div>
{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}
<b style="color:white">
    
Your accound was found. Please check your e-mail address and follow confirm URL to reset your password.</b>
<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();" class="sign">
<input type=hidden name=a value="forgot_password">
<input type=hidden name=action value="forgot_password">

    <label class="sign-input">
                                            <input type="text" value="{$frm.email|escape:htmlall}"  name='email' value="" autofocus required>
                                            <div class="sign-input-wrap">
                                                <div class="sign-input__check">
                                                    <svg>
                                                        <use xlink:href="assets/img/sprite.svg#check"></use>
                                                    </svg>
                                                </div><span><svg><use xlink:href="assets/img/sprite.svg#mail"></use></svg>Username or E-mail</span></div>
                                        </label>

{include file="captcha.tpl" action="forgot_password"}
<div class="sign-capch">
										                                              
<div class="sign-bot login-mod">
                                                <button class="main-btn" type="submit" name="auth_form_btn">Check</button>
                                            </div>
                                        </div>	
</form>
{/if}

</div>
                            </div>
                        </div>
                    </div>	



				
       </div>
            </div>
        </section>	
  
{include file="footer2.tpl"}
