<?php /* Smarty version 3.1.27, created on 2023-11-10 01:41:53
         compiled from "/home/allianc2/public_html/tmpl/login.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1492957018654dd0b1d2c3c5_95166356%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1120407eb14e9f2a6b5be9674f2b1ec69affd76c' => 
    array (
      0 => '/home/allianc2/public_html/tmpl/login.tpl',
      1 => 1666436447,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1492957018654dd0b1d2c3c5_95166356',
  'variables' => 
  array (
    'frm' => 0,
    'bf_tries' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_654dd0b1d6b0f0_48838546',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_654dd0b1d6b0f0_48838546')) {
function content_654dd0b1d6b0f0_48838546 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/allianc2/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '1492957018654dd0b1d2c3c5_95166356';
echo $_smarty_tpl->getSubTemplate ("header99.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('meta_title'=>"Login"), 0);
?>



<?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 }?>
  <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='<?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="row sp10">
<div class="col-lg-12">
<div class="input-group">
<input name="username" type="text" class="form-control" placeholder="Username" value='<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['username'], ENT_QUOTES, 'UTF-8', true));?>
' 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>

<?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="col-sm-12">
                                    <div class="input-group">
                                    <a href="<?php echo smarty_modifier_myescape(encurl("?a=forgot_password"));?>
">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="<?php echo smarty_modifier_myescape(encurl("?a=signup"));?>
">Don't Have An Account? Click Here</a></center>
                                </div>
                            </div>
                           
</form>
   </div>
                </div>
            </section>
        </div>
  <?php echo $_smarty_tpl->getSubTemplate ("footer88.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 
<?php }
}
?>