{include file="header.tpl"}
<div id="main-content">
    <div id="sub_content">
<div class="plan_head"><p>Log In To Your Account</p></div>
<div class="plan_img"><img src="images/ra.png"></div>

{literal}
<script language=javascript>
function checkform() {
  if (document.mainform.username.value=='') {
    alert("Please type your username!");
    document.mainform.username.focus();
    return false;
  }
  if (document.mainform.password.value=='') {
    alert("Please type your password!");
    document.mainform.password.focus();
    return false;
  }
  return true;
}
</script>
{/literal}

{if $frm.say eq 'invalid_login'}
<h3>Login error:</h3><br><br>

Your login or password or turing image code is wrong. Please check this information.
{/if}
<h3>Login:</h3>
<br>
<form method=post name=mainform onsubmit="return checkform()">
<input type=hidden name=a value='do_login'>
<input type=hidden name=follow value='{$frm.follow}'>
<input type=hidden name=follow_id value='{$frm.follow_id}'>
<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>Member Log In Area</p>
                    </div>
<div class="fe_border">
                        <img src="images/pe.png">
                    </div>
 <div class="login_down">
                       <div class="login_one">


 <input type=text name=username value='{$frm.username|escape:"html"}' class=inpts size=30>

</div>
<div class="login_one">
 <input type=password name=password value='' class=inpts size=30>
</div>
{if $userinfo.validation_enabled == 1}
<tr>
 <td class=menutxt><img src="?a=show_validation_image&{$userinfo.session_name}={$userinfo.session_id}&rand={$userinfo.rand}"></td>
 <td><input type=text name=validation_number class=inpts size=30></td>
</tr>
{/if}



 <div class="log-for">
                            <div class="lognow-">
                                <input type="submit" value="Log In Now">
                            </div>
                            <div class="forgot-pass">
                                <a href="?a=forgot_password">Forgot Password ?</a>
                            </div>
                        </div>
                   </div>
               </div>
           </div>
        </div>
</table>
</form>




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

{include file="footer.tpl"}
