{include file="header.tpl"}
 <!-- .....:::::: Start Breadcrumb Section :::::.... -->
        <div class="breadcrumb-section">
            <div class="breadcrumb-wrapper">
                <div class="image"><img src="assets/images/background/breadcrumb.png" alt=""></div>
                <div class="container">
                    <div class="row">
                        <div class="col-12">
                            <div class="content">
                                <h2 class="title">Log In</h2>
                                <ol class="breadcrumb-link">
                                    <li><a href="?a=home">Home</a></li>
                                    <li class="active" aria-current="page">Log In</li>
                                </ol>
                            </div>
                        </div>
                    </div>
                </div>            
            </div>
        </div>
        <!-- .....:::::: End Breadcrumb Section :::::.... -->

      <div class="container">
   
{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 class="form-group contact-form" 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">
    <div class="col-md-2"></div>
    <div class="col-lg-7">
<div class="col-lg-12 form-group">
    <br><br>
    <h3 ><b>Get In touch:</b></h3><br>
</div>
<br><br>
 <div class="col-lg-12 mb-6 form-group-single-item form-group-single-item-inner-bg">
<input type=text name=username value='{$frm.username|escape:"html"}' >
</div>
<div class="col-md-12 mb-6 form-group-single-item form-group-single-item-inner-bg">
 <input type=password name=password value='' >
<br><br>
 <a href="?a=forgot_password" style="float:right;">Forgot Password?</a>
</div>

{include file="captcha.tpl" action="login"}
<div class="col-md-12 mb-6">
<button type="submit" class="btn btn-lg btn-primary">Log In</button>
</div>
</div>
<div class="col-md-3"></div>
</div>
</form>
<br><br>

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