<?php /* Smarty version 2.6.2, created on 2012-10-13 04:39:37
         compiled from account_main.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'myescape', 'account_main.tpl', 3, 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);
 ?>

<h1><span><?php echo ((is_array($_tmp=$this->_tpl_vars['userinfo']['username'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</span>, welcome to your account!</h1>

<?php if (((is_array($_tmp=$this->_tpl_vars['settings']['use_transaction_code'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 1 && ((is_array($_tmp=$this->_tpl_vars['userinfo']['transaction_code'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ''): ?> <b>Note: currently you have not specified 
a Transaction code. The Transaction code strengthens your funds security in our 
system. The code is required to withdraw funds from your account<?php if (((is_array($_tmp=$this->_tpl_vars['settings']['internal_transfer_enabled'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?> 
and for internal transfer to another user account<?php endif; ?>. Just do not change 'Transaction 
code' in your account information if you do not want to use this feature. <a href=?a=edit_account>Click 
here</a> to specify a new transaction code .</b> <br>
<br>
<?php endif; ?>

<div class="accpage">
<div class="accform">
  <div class="aleft">
    <p class="accbal">Account Balance:</p>
    <p class="accbal2">$<?php echo ((is_array($_tmp=$this->_tpl_vars['ab_formated']['total'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</p>
    <p class="btn"><a href="?a=deposit"><img src="images/accmain_deposit.png" width="123" height="29" alt=" " /></a></p>
  </div>
  <div class="aright">
    <p class="lastaccess">&nbsp;</p>
    <p class="regdate">Registered on: <?php echo ((is_array($_tmp=$this->_tpl_vars['userinfo']['create_account_date'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</p>
    <p class="btn"><a href="?a=withdraw"><img src="images/accmain_withdraw.png" width="123" height="29" alt=" " /></a></p>    
  </div>
</div>

<hr />

<h4>Account overview</h4>
<div class="accform2">

<p><span class="sp1">Earned Total:</span><span class="sp2">$<?php echo ((is_array($_tmp=$this->_tpl_vars['ab_formated']['earning'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</span></p>
<p class="bg1"><span class="sp1">Last Deposit:</span><span class="sp2">$<?php if (((is_array($_tmp=$this->_tpl_vars['last_deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))):  echo ((is_array($_tmp=$this->_tpl_vars['last_deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
&nbsp; <small><?php echo ((is_array($_tmp=$this->_tpl_vars['last_deposit_date'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</small><?php else: ?>0.00<?php endif; ?></span></p>
<p><span class="sp1">Pending Withdrawal:</span><span class="sp2">&nbsp;
<?php if (isset($this->_sections['p'])) unset($this->_sections['p']);
$this->_sections['p']['name'] = 'p';
$this->_sections['p']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['ps'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['p']['show'] = true;
$this->_sections['p']['max'] = $this->_sections['p']['loop'];
$this->_sections['p']['step'] = 1;
$this->_sections['p']['start'] = $this->_sections['p']['step'] > 0 ? 0 : $this->_sections['p']['loop']-1;
if ($this->_sections['p']['show']) {
    $this->_sections['p']['total'] = $this->_sections['p']['loop'];
    if ($this->_sections['p']['total'] == 0)
        $this->_sections['p']['show'] = false;
} else
    $this->_sections['p']['total'] = 0;
if ($this->_sections['p']['show']):

            for ($this->_sections['p']['index'] = $this->_sections['p']['start'], $this->_sections['p']['iteration'] = 1;
                 $this->_sections['p']['iteration'] <= $this->_sections['p']['total'];
                 $this->_sections['p']['index'] += $this->_sections['p']['step'], $this->_sections['p']['iteration']++):
$this->_sections['p']['rownum'] = $this->_sections['p']['iteration'];
$this->_sections['p']['index_prev'] = $this->_sections['p']['index'] - $this->_sections['p']['step'];
$this->_sections['p']['index_next'] = $this->_sections['p']['index'] + $this->_sections['p']['step'];
$this->_sections['p']['first']      = ($this->_sections['p']['iteration'] == 1);
$this->_sections['p']['last']       = ($this->_sections['p']['iteration'] == $this->_sections['p']['total']);
?>
  <?php if (((is_array($_tmp=$this->_tpl_vars['ps'][$this->_sections['p']['index']]['pending_col'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0):  echo ((is_array($_tmp=$this->_tpl_vars['ps'][$this->_sections['p']['index']]['pending_col'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['ps'][$this->_sections['p']['index']]['name'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 deposit<?php if (((is_array($_tmp=$this->_tpl_vars['ps'][$this->_sections['p']['index']]['pending_col'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 1): ?>s<?php endif; ?> of $<?php echo ((is_array($_tmp=$this->_tpl_vars['ps'][$this->_sections['p']['index']]['pending_amount'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 total pending<br><?php endif; ?>
<?php endfor; endif; ?>
</span></p>

<p class="bg1"><span class="sp1">Total Deposit:</span><span class="sp2">$<?php if (((is_array($_tmp=$this->_tpl_vars['ab_formated']['deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) != 0):  echo ((is_array($_tmp=$this->_tpl_vars['ab_formated']['deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  else: ?>0.00<?php endif; ?></span></p>
<p><span class="sp1">Withdrew Total:</span><span class="sp2">$<?php if (((is_array($_tmp=$this->_tpl_vars['ab_formated']['withdrawal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0):  echo ((is_array($_tmp=$this->_tpl_vars['ab_formated']['withdrawal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  else: ?>0.00<?php endif; ?></span></p>
<p class="bg1"><span class="sp1">Last Withdrawal:</span><span class="sp2">$<?php echo ((is_array($_tmp=$this->_tpl_vars['last_withdrawal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
&nbsp; <small><?php echo ((is_array($_tmp=$this->_tpl_vars['last_withdrawal_date'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</small></span></p>

<p><span class="sp1">Active Deposit:</span><span class="sp2">$<?php echo ((is_array($_tmp=$this->_tpl_vars['ab_formated']['active_deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</span></p>
<p class="bg1"><span class="sp1">Withdrew Total:</span><span class="sp2">$<?php if (((is_array($_tmp=$this->_tpl_vars['ab_formated']['withdrawal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0):  echo ((is_array($_tmp=$this->_tpl_vars['ab_formated']['withdrawal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  else: ?>0.00<?php endif; ?></span></p>

</div>




</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);
 ?>