<?php /* Smarty version 3.1.27, created on 2026-03-22 06:57:47
         compiled from "/home/crystala/veltrixholdingsltd.com/tmpl/login_tfa.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:125452491869bf92ebd84f23_08752827%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '92b934b696fd9ab352c8bb18fd9e709c0d6053a3' => 
    array (
      0 => '/home/crystala/veltrixholdingsltd.com/tmpl/login_tfa.tpl',
      1 => 1483073764,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '125452491869bf92ebd84f23_08752827',
  'variables' => 
  array (
    'say' => 0,
    'frm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_69bf92ebda9851_56857248',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_69bf92ebda9851_56857248')) {
function content_69bf92ebda9851_56857248 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/crystala/veltrixholdingsltd.com/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '125452491869bf92ebd84f23_08752827';
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 }
}
?>