<?php /* Smarty version 3.1.27, created on 2026-03-30 21:07:59
         compiled from "/home/ztpmzifm/public_html/tmpl/forgot_password.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:140986226869cae62f936bc6_89303531%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '550fd412011f376dfc3774343dd893da3a377687' => 
    array (
      0 => '/home/ztpmzifm/public_html/tmpl/forgot_password.tpl',
      1 => 1774904872,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '140986226869cae62f936bc6_89303531',
  'variables' => 
  array (
    'errors' => 0,
    'found_records' => 0,
    'frm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_69cae62f9465b9_18016196',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_69cae62f9465b9_18016196')) {
function content_69cae62f9465b9_18016196 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/ztpmzifm/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

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

<main role="main" class=" ">
                <div class="container h-100- px-4 px-sm-0">
                    <div class="row flex h-100 align-items-center"><div
                    class=" col-sm-12 col-md-8 col-lg-6 col-xl-6 mx-auto ">
                    <div class="text-center auth-logo">
                        <img src="#" alt="BO Portal" aria-roledescription="logo"
                                 class="company_logo"/>
                    </div>


             <br><br><div class="auth-container text-white"><div class=""><div class="text-center pb-3"><h3 class="mb-5">
                    Forgot your password?
                </h3><p class="mt-n4">
                    Not a problem, happens to the best of us. Just enter your registered email below and we'll send you instructions to reset your password.
                </p></div>

<?php echo '<script'; ?>
 language=javascript>
function checkform() {
  if (document.forgotform.email.value == '') {
    alert("Please type your username or email!");
    document.forgotform.email.focus();
    return false;
  }
  return true;
}
<?php echo '</script'; ?>
>
 

<?php if ($_smarty_tpl->tpl_vars['errors']->value['turing_image']) {?>
Invalid turing image<br><br>
<?php }?>


<?php if ($_smarty_tpl->tpl_vars['found_records']->value == 2) {?>
Your accound was found. Please check your e-mail address and follow confirm URL to reset your password.
<br><br>
<?php } else { ?>

<?php if ($_smarty_tpl->tpl_vars['found_records']->value == 0) {?>
No accounts found for provided info.
<br><br>
<?php } elseif ($_smarty_tpl->tpl_vars['found_records']->value == 1) {?>
Request was confirmed. Login and password was sent to your email address.
<br><br>
<?php }?>

<form method=post name=forgotform onsubmit="return checkform();">
<input type=hidden name=a value="forgot_password">
<input type=hidden name=action value="forgot_password">
<table cellspacing=0 cellpadding=2 border=0>
<div class="form-group">
<label class="form-label" for="lostaccount">Username or e-mail</label>
<input type=text name='email' value="<?php echo smarty_modifier_myescape(mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['email'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8'));?>
" class="form-control-lg valid-email form-control" size=30 placeholder="Type your username or e-mail">
</div>
<?php echo $_smarty_tpl->getSubTemplate ("captcha.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('action'=>"forgot_password"), 0);
?>


<div class="text-center text-center pb-7">
<div class="form-group">
    <button type="submit" value="Forgot" class="btn btn-primary btn-rounded text-uppercase btn-rounded login-mobile">
                    Submit
    </button>
                
</div></div><p class="mb-0 text-center">
                Already a member?
<a href="?a=login" class="fw-500 text-primary">
                    Login
                </a></p>
</table>
</form>
<?php }?>

</div></div>

                
       <?php echo '<script'; ?>
>
   $('form').on('submit', function () {
            if ($(this)) {
                $('#candles-loader-overlay').show()
            }
        });
    <?php echo '</script'; ?>
>          


    </div></div></div></main>
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>