<?php /* Smarty version 3.1.27, created on 2024-11-15 21:30:43
         compiled from "/home/greenfie/future-trade.ltd/user/tmpl/login.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:6706410716737bd8338b471_17236280%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '94ada5adbf151c5cc84bdfd3987ec911910edcbb' => 
    array (
      0 => '/home/greenfie/future-trade.ltd/user/tmpl/login.tpl',
      1 => 1712804116,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6706410716737bd8338b471_17236280',
  'variables' => 
  array (
    'frm' => 0,
    'bf_tries' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_6737bd833969b6_77258876',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_6737bd833969b6_77258876')) {
function content_6737bd833969b6_77258876 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/greenfie/future-trade.ltd/user/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '6706410716737bd8338b471_17236280';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 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 }?>
<h3>Login:</h3>
<br>
<form method=post name=mainform onsubmit="return checkform()">
<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']);?>
'>
<table cellspacing=0 cellpadding=2 border=0>
<tr>
 <td>Username:</td>
 <td><input type=text name=username value='<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['username'], ENT_QUOTES, 'UTF-8', true));?>
' class=inpts size=30 autofocus="autofocus"></td>
</tr><tr>
 <td>Password:</td>
 <td><input type=password name=password value='' class=inpts size=30></td>
</tr>
<?php echo $_smarty_tpl->getSubTemplate ("captcha.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('action'=>"login"), 0);
?>

<tr>
 <td>&nbsp;</td>
 <td><input type=submit value="Login" class=sbmt></td>
</tr></table>
</form>
<br><br>
or <a href="<?php echo smarty_modifier_myescape(encurl("?a=forgot_password"));?>
">remember your login information</a>.

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

<?php }
}
?>