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

{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>

<div class="error">Your login or password or turing image code is wrong. Please check this information.</div>
{if $bf_tries.status}
{if $bf_tries.left == 0}
<div class="error">You have already maximum times entered incorrectly login info. Your account is blocked. Check your email to active.</div>
{else}
<div class="error">You have <b>{$bf_tries.left}</b> tries to entered correctly login information befor blocking.</div>
{/if}
{/if}

{/if}
  <div class="page-content bg-white">
            <!-- Banner  -->
            <div class="dz-bnr-inr dz-bnr-inr-md style-1 overlay-black-middle" style="background-image: url('images/banner/bnr16.jpg');">
                <div class="container">
                    <div class="dz-bnr-inr-entry">
                        <h1 style="margin-top: 15%">Login</h1>
                        <!-- Breadcrumb Row -->
                        <nav aria-label="breadcrumb" class="breadcrumb-row">
                            <ul class="breadcrumb">
                                <li class=""><a href="/">Home</a></li>
                                <li class="breadcrumb-item active" aria-current="page"><i class="fa-arrow-right fa"></i> &nbsp Login</li>
                            </ul>
                        </nav>
                        <!-- Breadcrumb Row End -->
                    </div>
                </div>
            </div>
            <!-- Banner End -->
            <section class="content-inner-2">
                <div class="container">
                    <div class="contact-area1">
                        <div class="section-head style-1 text-center">
                            <h5 class="sub-title">enter your login details to access your account</h5>
                            <h2 class="title">Login</h2>
                        </div>
<br>
<form method=post name=mainform onsubmit="return checkform()" class="dz-form dzForm">
<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 sp10">
<div class="col-lg-12">
<div class="input-group">
<input name="username" type="text" class="form-control" placeholder="Username" value='{$frm.username|escape:"html"}' autofocus="autofocus"/>
                                    </div>
                                </div>

 <div class="col-sm-12">
                                    <div class="input-group">
<input name="password" type="password" value='' class="form-control" placeholder="Password" />
                                    </div>
                                </div>

{include file="captcha.tpl" action="login"}
<div class="col-sm-12">
                                    <div class="input-group">
                                    <a href="{"?a=forgot_password"|encurl}">Forgot Password? Click Here</a>
                                    </div>
                                </div>
                                <div class="col-sm-12 text-center">
<input type="submit" value="ACCESS ACCOUNT" class="btn btn-primary" />
                                </div>
                                <div class="col-sm-12 text-center" style="padding-top:5%">
                                    <center><a href="{"?a=signup"|encurl}">Don't Have An Account? Click Here</a></center>
                                </div>
                            </div>
                           
</form>
   </div>
                </div>
            </section>
        </div>
  {include file="footer88.tpl"} 
