<?php /* Smarty version 3.1.27, created on 2025-09-04 12:08:35
         compiled from "/home/austintr/public_html/tmpl/login_tfa.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:185096997268b9814361e2c8_89001305%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c591d044f66f992e984ce1fd78abc44e8b09ec1c' => 
    array (
      0 => '/home/austintr/public_html/tmpl/login_tfa.tpl',
      1 => 1580247360,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '185096997268b9814361e2c8_89001305',
  'variables' => 
  array (
    'say' => 0,
    'frm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_68b981436540e7_97400787',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_68b981436540e7_97400787')) {
function content_68b981436540e7_97400787 ($_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'] = '185096997268b9814361e2c8_89001305';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


<h3>Two Factor Authorization:</h3>
<?php if ($_smarty_tpl->tpl_vars['say']->value == 'invalid_code') {?>
You have entered invalid code.
<?php }?>
<br>
<form method=post name=mainform onsubmit="return checkform()">
<input type=hidden name=a value='do_login_tfa'>
<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']);?>
'>
<input type=hidden name=time>
<table cellspacing=0 cellpadding=2 border=0>
<tr>
 <td>Code:</td>
 <td><input type=text name=code value="" class=inpts size=30 autofocus="autofocus"></td>
</tr><tr>
 <td>&nbsp;</td>
 <td><input type=submit value="Submit" class=sbmt> <input type=button onclick="<?php echo smarty_modifier_myescape(encurl("?a=logout"));?>
" value="Cancel" class=sbmt></td>
</tr></table>
</form>


<?php echo '<script'; ?>
 language=javascript>
document.mainform.time.value = (new Date()).getTime();

function checkform() {
  if (!document.mainform.code.value.match(/^[0-9]{6}$/)) {
    alert("Please type code!");
    document.mainform.code.focus();
    return false;
  }
  return true;
}
<?php echo '</script'; ?>
>



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

<?php }
}
?>