<?php /* Smarty version 2.6.2, created on 2012-10-11 15:48:37
         compiled from login.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'myescape', 'login.tpl', 21, false),array('modifier', 'escape', 'login.tpl', 36, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?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;
}
</script>
'; ?>


<?php if (((is_array($_tmp=$this->_tpl_vars['frm']['say'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 'invalid_login'): ?>
<h1>Login error:</h1><br><br>
<p>
Your login or password or turing image code is wrong. Please check this information.
</p>
<?php endif; ?>
<h1>Login:</h1>
<div style="margin-left:10px;">
<form method=post name=mainform onsubmit="return checkform()">
<input type=hidden name=a value='do_login'>
<input type=hidden name=follow value='<?php echo ((is_array($_tmp=$this->_tpl_vars['frm']['follow'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
'>
<input type=hidden name=follow_id value='<?php echo ((is_array($_tmp=$this->_tpl_vars['frm']['follow_id'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
'>
<table cellspacing=0 cellpadding=2 border=0>
<tr>
 <td>Username:</td>
 <td><input type=text name=username value='<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['frm']['username'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
' class=inpts size=30></td>
</tr><tr>
 <td>Password:</td>
 <td><input type=password name=password value='' class=inpts size=30></td>
</tr>
<?php if (((is_array($_tmp=$this->_tpl_vars['userinfo']['validation_enabled'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 1): ?>
<tr>
 <td class=menutxt><img src="?a=show_validation_image&<?php echo ((is_array($_tmp=$this->_tpl_vars['userinfo']['session_name'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
=<?php echo ((is_array($_tmp=$this->_tpl_vars['userinfo']['session_id'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
&rand=<?php echo ((is_array($_tmp=$this->_tpl_vars['userinfo']['rand'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
"></td>
 <td><input type=text name=validation_number class=inpts size=30></td>
</tr>
<?php endif; ?>
<tr>
 <td>&nbsp;</td>
 <td><input type=submit value="Login" class=sbmt></td>
</tr></table>
</form>
<br><br>
or <a href=?a=forgot_password >remember your login information</a>.
</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
