{include file="header88.tpl"}
 <!-- Banner Section Starts Here -->
    <div class="inner-banner section-bg overflow-hidden" style="background: #000;">

        <div class="container">
            <div class="inner__banner__content text-center">
                <h2 style="color: #fff;" class="title">WELCOME BACK</h2>
                <ul class="breadcums d-flex flex-wrap justify-content-center">
                    <li><a href="/">Home</a>//</li>
                    <li>Login</li>
                </ul>
            </div>
        </div>

    </div>
    <!-- Banner Section Ends Here -->

    <div class="account-section padding-top padding-bottom" style="background: #fff;">
        <div class="container" style="height: 800px;">
            <div class="row ">
            
                <div class="col"></div>

                <div class="col-md-6">


                    <div class="account__form__wrapper" style="background: #000; border: 3px solid #fff;">

                        <center>
                            <img src="../bb/logo.png" alt="" width="250px">
                        </center>
                        <br>
                        <h3 class=" text-center" style="color: #fff; font-weight; 400;">Enter Your Details To Login</h3>
                        <br>
                        
                        <br>

{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}
<br>
<form method=post class="form account__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="form-group">
<input type="text" name="username" class="form-control form--control" placeholder="Enter Username" required value="{$frm.username|escape:"html"}"></div>

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

{include file="captcha.tpl" action="login"}
<br>
                            <center>
<a href="{"?a=forgot_password"|encurl}" class="forgot-pass" style="color: #fff;">Forgot Password</a>
                            </center>

                            <br>
                            <center>
<button type="submit" name="submit" class="btn cmn--btn mt-4">login</button>
                                <br>
                            </center>

</form>
 <br>
                        <br>
                        <p style="color: #fff;" class="mt- text-center">Don't have an Account yet?   <a class="ms-2 text--base" href="{"?a=signup"|encurl}">Create Account</a></p>
                    </div>
                </div>

                <div class="col"></div>

            </div>
        </div>
    </div>
    <!-- Account Section Ends Here -->

    <center>
        <img src="bb/rim08.png" alt="" width="100%">
        <img src="bb/rim07.png" alt="" width="100%">
    </center>

{include file="footer88.tpl"}
