<?php /* Smarty version 3.1.27, created on 2026-01-07 01:24:03
         compiled from "/home/austintr/public_html/tmpl/login_box.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1625731490695db5b38552f8_41430279%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8423c6b08a7be8b8e2659728e763f3a91a4d9e02' => 
    array (
      0 => '/home/austintr/public_html/tmpl/login_box.tpl',
      1 => 1599166900,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1625731490695db5b38552f8_41430279',
  'variables' => 
  array (
    'userinfo' => 0,
    'frm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_695db5b386af86_61633238',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_695db5b386af86_61633238')) {
function content_695db5b386af86_61633238 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/austintr/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '1625731490695db5b38552f8_41430279';
if ($_smarty_tpl->tpl_vars['userinfo']->value['logged'] != 1) {?>

<?php echo '<script'; ?>
 language=javascript>
function checklogin() {   
  if (document.loginform.username.value=='') {
    alert("Please enter your username!");
    document.loginform.username.focus();
    return false;
  }
  if (document.loginform.password.value=='') {
    alert("Please enter your password!");
    document.loginform.password.focus();
    return false;
  }
  return true;
}
<?php echo '</script'; ?>
>

<form method=post name=loginform onsubmit="return checklogin()">
<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']);?>
'>
<div class="row">
    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <label>
                <i class='bx bx-user'></i>
            </label>
            <input type="text" name="username" class="form-control" placeholder="Enter Username*">
        </div>
    </div>
    
    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <label>
                <i class='bx bx-show-alt'></i>
            </label>
            <input type="password" name="password" class="form-control" placeholder="Enter 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",'inpt_size'=>15), 0);
?>

    
    <div class="col-lg-12">
        <div class="form-group">
        <a href="/?a=forgot_password">
            Forgot Password?
        </a>
        </div>
    </div>
    
    
    <div class="col-lg-12">
        <button type="submit" class="btn cmn-banner-btn">
            Login to Dashboard
            <i class='bx bx-right-arrow-alt'></i>
        </button>
    </div>

</div>


</form>

<?php } else { ?>

<div class="row">
    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <label>
                <i class='bx bx-user'></i>
            </label>
            <input type="text" name="username" class="form-control" placeholder="Enter Username*">
        </div>
    </div>
    
    <div class="col-sm-6 col-lg-6">
        <div class="form-group">
            <label>
                <i class='bx bx-show-alt'></i>
            </label>
            <input type="password" name="password" class="form-control" placeholder="Enter 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",'inpt_size'=>15), 0);
?>

    
    <div class="col-lg-12">
        <div class="form-group">
        <a href="/?a=forgot_password">
            Forgot Password?
        </a>
        </div>
    </div>
    
    <div class="col-lg-12">
        <a href="/?a=account" class="btn cmn-banner-btn">
            Back to Dashboard
            <i class='bx bx-right-arrow-alt'></i>
        </a>
    </div>

</div>


<?php }
}
}
?>