{include file="header2.tpl"}
<div class="col-lg-9">
                        <div class="first-content">
                            <div class="row">
                                <div class="col-lg-12">
                                    <div class="main-title main-title_lower" data-aos="fade-right" data-aos-delay="0">Authentication</div>
                                    <div class="main-subtitle" data-aos="fade-right" data-aos-delay="0">Account login</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()" class="sign">
<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}'>
<label class="sign-input">
<input type="text" value="{$frm.username|escape:"html"}"  name=username autofocus required>
<div class="sign-input-wrap">
<div class="sign-input__check">
<svg>
<use xlink:href="assets/img/sprite.svg#check"></use>
                                                    </svg>
</div><span><svg><use xlink:href="assets/img/sprite.svg#user"></use></svg>Your Login</span></div>
                                        </label>

                                        
<label class="sign-input">
    <input type="password" name="password" required>
<div class="sign-input-wrap">
    <div class="sign-input__check">
<svg><use xlink:href="assets/img/sprite.svg#check"></use></svg>
    </div><span><svg><use xlink:href="assets/img/sprite.svg#pass"></use>
</svg>Your Password</span></div></label>
                                        

{include file="captcha.tpl" action="login"}
 <div class="sign-capch">
										                                              
<div class="sign-bot login-mod">
<button class="main-btn" type="submit" name="auth_form_btn">Login</button>
<div class="sign-check"><span><a href="/?a=forgot_password">Forgot your password?</a></span>
          
                </div>
             </div>
          </div>
</form>
</div>
                            </div>
                        </div>
                    </div>	
                     </div>
                        </div>
                    </div>	

{include file="footer2.tpl"}