<?php /* Smarty version 3.1.27, created on 2024-04-06 01:35:10
         compiled from "/home/ganstrades/public_html/tmpl/login.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:18003165606610a6ce6cbdc5_60516610%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '860e867ef5c705f7f8911a985b5f2e655713d44f' => 
    array (
      0 => '/home/ganstrades/public_html/tmpl/login.tpl',
      1 => 1704196807,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18003165606610a6ce6cbdc5_60516610',
  'variables' => 
  array (
    'frm' => 0,
    'bf_tries' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_6610a6ce914133_05210533',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_6610a6ce914133_05210533')) {
function content_6610a6ce914133_05210533 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/ganstrades/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '18003165606610a6ce6cbdc5_60516610';
echo $_smarty_tpl->getSubTemplate ("header88.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>

<!-- PAGE-BANNER -->
         <section id="page-banner">
             <div class="container">
                 <div class="page-header">
                     <h2 class="fontubonto font-weight-medium text-uppercase wow fadeIn" data-wow-duration="1s" data-wow-delay="0.35s">Login</h2>
                 </div>
                 <div class="d-flex align-items-center justify-content-center">
                     <div class="col-lg-8 no-gutters">
                         <div class="page-breadcrumb" aria-label="breadcrumb">
                             <ol class="breadcrumb justify-content-center">
                                 <li class="breadcrumb-item wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.5s"><a href="/user">Home</a></li>
                                 <li class="breadcrumb-item wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.7s"><a href="javascript:void(0)">Login</a></li>
                             </ol>
                         </div>
                     </div>
                 </div>
             </div>
         </section>
         <!-- /PAGE-BANNER -->
     
    <section id="about-us" class="about-page secbg-3">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="form-block py-5">

<?php echo '<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;
}
<?php echo '</script'; ?>
>


<?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == '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>
<?php if ($_smarty_tpl->tpl_vars['bf_tries']->value['status']) {?>
<?php if ($_smarty_tpl->tpl_vars['bf_tries']->value['left'] == 0) {?>
<div class="error">You have already maximum times entered incorrectly login info. Your account is blocked. Check your email to active.</div>
<?php } else { ?>
<div class="error">You have <b><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['bf_tries']->value['left']);?>
</b> tries to entered correctly login information befor blocking.</div>
<?php }?>
<?php }?>

<?php }?>
<form method=post name=mainform onsubmit="return checkform()" class="login-form">
<input type=hidden name=a value='do_login'>
<input type=hidden name=follow value='<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['frm']->value['follow']);?>
'>
<input type=hidden name=follow_id value='<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['frm']->value['follow_id']);?>
'>
<div class="signin">
<h3 class="title mb-30">Login Form</h3>

<div class="form-group mb-30">
<input class="form-control" type="text" value='<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['username'], ENT_QUOTES, 'UTF-8', true));?>
' name="username" placeholder="Username">
</div>

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

<?php echo $_smarty_tpl->getSubTemplate ("captcha.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('action'=>"login"), 0);
?>

<div class="remember-me d-flex flex-column flex-sm-row align-items-center justify-content-center justify-content-sm-between mb-30">
<a class="text-white mt-10"  href="<?php echo smarty_modifier_myescape(encurl("?a=forgot_password"));?>
">Forgot password?</a>
                                </div>

                                <div class="btn-area">
<button class="btn-login login-auth-btn" type="submit"><span>Login</span></button>
                                </div>

                                <div class="login-query mt-30 text-center">
                                    <a  href="?a=signup">Don't have any account? Sign Up</a>
                                </div>
                            </div>

</form>
</div>

                    <div class="connectivity wow fadeIn" data-wow-duration="1s" data-wow-delay="0.35s">
                        <div class="d-flex align-items-center justify-content-center">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php echo $_smarty_tpl->getSubTemplate ("footer88.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>

<?php }
}
?>