{include file="header.tpl" meta_title="Login"}




<section class="breadcrumb-area">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="breadcrumb-content">
                    <h2 class="breadcrumb__title">login</h2>
                    <ul class="breadcrumb__list">
                        <li class="active__list-item"><a href="?a=home">home</a></li>
  
                        <li>login</li>
                    </ul>
                </div><!-- end breadcrumb-content -->
            </div><!-- end col-lg-12 -->
        </div><!-- end row -->
    </div><!-- end container -->
</section><!-- end breadcrumb-area -->
<section class="form-shared">
    <div class="container">
        <div class="row">
            <div class="col-lg-6 mx-auto">
                <div class="contact-form-action">
                    <div class="form-heading text-center">
                        <h3 class="form__title">Login to your account!</h3>
                    </div>
                    <!--Contact Form-->
                   {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="col-lg-12">
                                <div class="form-group">
                                    <input class="form-control" type=text name=username value='{$frm.username|escape:"html"}' placeholder="Username">
                                </div>
                            </div><!-- end col-lg-12 -->
                            <div class="col-lg-12">
                                <div class="form-group">
                                    <input class="form-control" type=password name=password value='' placeholder="Password">
                                </div>
                            </div><!-- end col-lg-12 -->
                            <div class="col-lg-12 ">
                                <div class="form-condition">
                                    <div class="custom-checkbox">
                                        <input type="checkbox" id="chb1"/>
                                        <label for="chb1">Remember Me</label>
                                        <a href="?a=forgot_password" class="pass__desc pull-right"> Forgot my password?</a>
                                    </div>
                                </div>
                            </div><!-- end col-lg-12 -->
                            {include file="captcha.tpl" action="login"}
                            <div class="col-lg-12">
                               <div class="form-group">
                                   <button class="theme-button" type="submit">
                                       Login now <i class="fa fa-angle-right btn-icon"></i>
                                   </button>
                               </div>
                            </div><!-- end col-lg-12 -->
                            <div class="col-lg-12">
                              <div class="account-assist">
                                  <p class="account__desc">Not a member?<a href="?a=signup"> Register</a></p>
                              </div>
                            </div><!-- end col-lg-12 -->
                        </div><!-- end row -->
                    </form>
                </div><!-- end contact-form -->
            </div><!-- end col-lg-7 -->
        </div><!-- end row -->
    </div><!-- end container -->
</section><!-- end form-shared -->

{include file="footer.tpl"}