{include file="header2.tpl"}
<!-- Login -->
 <div id="contact" class="one-contact-area">
     <div class="container-fluid p-0">
         <div class="row m-0">
             <div class="col-lg-5 p-0">
                 <div class="contact-img">
                     <img src="assets/img/home-four/contact.jpg" alt="Conatact">
                 </div>
             </div>
             <div class="col-lg-7 p-0">
                 <div class="contact-content">
                     <div class="one-section-title">
                         <span class="sub-title">LET’S LOGIN</span>
                         <h2>Login Credentials
</h2>
                     </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}

<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}'>
<div class="row m-0">
    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <label>
                <i class='bx bx-user'></i>
            </label>
            <input type="text" name="username" value='{$frm.username|escape:"html"}' class="form-control" placeholder="username">
            <div class="help-block with-errors"></div>
        </div>
    </div>


    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <label>
                <i class="bx bx-show"></i>
            </label>
            <input type=password name=password value='' class="form-control" placeholder="password">
            <div class="help-block with-errors"></div>
        </div>
    </div>


{include file="captcha.tpl" action="login"}

    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <a href="{"?a=forgot_password"|encurl}">Forgot Your Password??</a>
        </div>
    </div>
            
<div class="col-md-12 col-lg-12">
                                 <div class="row m-0">
                                     <div class="col-sm-4 col-lg-4 pl-0">
<button type="submit" value="Login" class="contact-btn btn">

SUBMIT
</button>
<div class="h3 text-center hidden"></div>
<div class="clearfix"></div>
</div>

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

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

 <!-- End Login -->
 
{include file="footer2.tpl"}
