{include file="header.tpl"}
<div id="main-content">
    <div id="sub_content">
<div class="plan_head"><p>Forgot Password</p></div>
<div class="plan_img"><img src="images/ra.png"></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 $found_records == 2}
<div class="success">
Your accound was found. Please check your e-mail address and follow confirm URL to reset your password.
</div>
<br><br>
{else}

{if $found_records == 0}
<div class="success">
No accounts found for provided info.
</div>
<br><br>
{elseif $found_records == 1}
<div class="success">
Request was confirmed. Login and password was sent to your email address.
</div>
<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="contact_up">
           <div class="login_box">
               <div class="Info_icon">
                    <img src="images/login.png">
                </div>
               <div class="login_right">
                   <div class="info_head">
                        <p>Password Recovery Area</p>
                    </div>
                   <div class="fe_border">
                        <img src="images/pe.png">
                    </div>
                   <div class="login_down">
                       <div class="login_one">
                           <input type="text" placeholder="your username or e-mail" name='email' value="">
                       </div>
                       <div class="log-for">
                            <div class="lognow-">
                                <input type="submit" value="Send Now">
                            </div>
                        </div>
                   </div>
               </div>
           </div>
        </div>
</table>
</form><br><br>
{/if}


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