<?php /* Smarty version 2.6.2, created on 2012-10-11 15:50:56
         compiled from deposit_list.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'myescape', 'deposit_list.tpl', 5, 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>Your deposits:</h1><br>

<b>Total: <?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['total'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b><br><br>

<?php if (isset($this->_sections['plans'])) unset($this->_sections['plans']);
$this->_sections['plans']['name'] = 'plans';
$this->_sections['plans']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['plans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plans']['show'] = true;
$this->_sections['plans']['max'] = $this->_sections['plans']['loop'];
$this->_sections['plans']['step'] = 1;
$this->_sections['plans']['start'] = $this->_sections['plans']['step'] > 0 ? 0 : $this->_sections['plans']['loop']-1;
if ($this->_sections['plans']['show']) {
    $this->_sections['plans']['total'] = $this->_sections['plans']['loop'];
    if ($this->_sections['plans']['total'] == 0)
        $this->_sections['plans']['show'] = false;
} else
    $this->_sections['plans']['total'] = 0;
if ($this->_sections['plans']['show']):

            for ($this->_sections['plans']['index'] = $this->_sections['plans']['start'], $this->_sections['plans']['iteration'] = 1;
                 $this->_sections['plans']['iteration'] <= $this->_sections['plans']['total'];
                 $this->_sections['plans']['index'] += $this->_sections['plans']['step'], $this->_sections['plans']['iteration']++):
$this->_sections['plans']['rownum'] = $this->_sections['plans']['iteration'];
$this->_sections['plans']['index_prev'] = $this->_sections['plans']['index'] - $this->_sections['plans']['step'];
$this->_sections['plans']['index_next'] = $this->_sections['plans']['index'] + $this->_sections['plans']['step'];
$this->_sections['plans']['first']      = ($this->_sections['plans']['iteration'] == 1);
$this->_sections['plans']['last']       = ($this->_sections['plans']['iteration'] == $this->_sections['plans']['total']);
?>
<table cellspacing=1 cellpadding=2 border=0 width=100% class=line><tr><td>
<table cellspacing=1 cellpadding=2 border=0 width=100%>
<tr>
 <td colspan=3 align=center>
 
 <b><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['name'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b>
 </tr>
<tr>
 <td class=inheader>Plan</td>
 <td class=inheader width=200>Amount Spent (<?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
)</td>
 <td class=inheader width=100 nowrap><nobr><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['period'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 Profit (%)</nobr></td>
</tr>
<?php if (isset($this->_sections['plan_options'])) unset($this->_sections['plan_options']);
$this->_sections['plan_options']['name'] = 'plan_options';
$this->_sections['plan_options']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['plans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['plan_options']['show'] = true;
$this->_sections['plan_options']['max'] = $this->_sections['plan_options']['loop'];
$this->_sections['plan_options']['step'] = 1;
$this->_sections['plan_options']['start'] = $this->_sections['plan_options']['step'] > 0 ? 0 : $this->_sections['plan_options']['loop']-1;
if ($this->_sections['plan_options']['show']) {
    $this->_sections['plan_options']['total'] = $this->_sections['plan_options']['loop'];
    if ($this->_sections['plan_options']['total'] == 0)
        $this->_sections['plan_options']['show'] = false;
} else
    $this->_sections['plan_options']['total'] = 0;
if ($this->_sections['plan_options']['show']):

            for ($this->_sections['plan_options']['index'] = $this->_sections['plan_options']['start'], $this->_sections['plan_options']['iteration'] = 1;
                 $this->_sections['plan_options']['iteration'] <= $this->_sections['plan_options']['total'];
                 $this->_sections['plan_options']['index'] += $this->_sections['plan_options']['step'], $this->_sections['plan_options']['iteration']++):
$this->_sections['plan_options']['rownum'] = $this->_sections['plan_options']['iteration'];
$this->_sections['plan_options']['index_prev'] = $this->_sections['plan_options']['index'] - $this->_sections['plan_options']['step'];
$this->_sections['plan_options']['index_next'] = $this->_sections['plan_options']['index'] + $this->_sections['plan_options']['step'];
$this->_sections['plan_options']['first']      = ($this->_sections['plan_options']['iteration'] == 1);
$this->_sections['plan_options']['last']       = ($this->_sections['plan_options']['iteration'] == $this->_sections['plan_options']['total']);
?>
<tr>
 <td class=item><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['plans'][$this->_sections['plan_options']['index']]['name'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</td>
 <td class=item align=right><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['plans'][$this->_sections['plan_options']['index']]['deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</td>
 <td class=item align=right><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['plans'][$this->_sections['plan_options']['index']]['percent'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</td>
</tr>
<?php endfor; endif; ?>
</table>
<br>
<table cellspacing=1 cellpadding=2 border=0 width=100%>
<?php if (! ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
<tr>
 <td colspan=4><b>No deposits for this plan</b></td>
</tr>           
<?php else: ?>
<tr>
 <td colspan=4 class=inheader style="text-align:left">Your deposits:</td>
</tr>
<tr>
 <td class=inheader>Date</td>
 <td class=inheader>Amount</td>
<?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['use_compound'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
 <td class=inheader>Compounding Percent</td>
<?php endif; ?>
<?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['withdraw_principal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
 <td class=inheader>Release</td>
<?php endif; ?>
</tr>           
<?php if (isset($this->_sections['deposit'])) unset($this->_sections['deposit']);
$this->_sections['deposit']['name'] = 'deposit';
$this->_sections['deposit']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['deposit']['show'] = true;
$this->_sections['deposit']['max'] = $this->_sections['deposit']['loop'];
$this->_sections['deposit']['step'] = 1;
$this->_sections['deposit']['start'] = $this->_sections['deposit']['step'] > 0 ? 0 : $this->_sections['deposit']['loop']-1;
if ($this->_sections['deposit']['show']) {
    $this->_sections['deposit']['total'] = $this->_sections['deposit']['loop'];
    if ($this->_sections['deposit']['total'] == 0)
        $this->_sections['deposit']['show'] = false;
} else
    $this->_sections['deposit']['total'] = 0;
if ($this->_sections['deposit']['show']):

            for ($this->_sections['deposit']['index'] = $this->_sections['deposit']['start'], $this->_sections['deposit']['iteration'] = 1;
                 $this->_sections['deposit']['iteration'] <= $this->_sections['deposit']['total'];
                 $this->_sections['deposit']['index'] += $this->_sections['deposit']['step'], $this->_sections['deposit']['iteration']++):
$this->_sections['deposit']['rownum'] = $this->_sections['deposit']['iteration'];
$this->_sections['deposit']['index_prev'] = $this->_sections['deposit']['index'] - $this->_sections['deposit']['step'];
$this->_sections['deposit']['index_next'] = $this->_sections['deposit']['index'] + $this->_sections['deposit']['step'];
$this->_sections['deposit']['first']      = ($this->_sections['deposit']['iteration'] == 1);
$this->_sections['deposit']['last']       = ($this->_sections['deposit']['iteration'] == $this->_sections['deposit']['total']);
?>
<tr>
 <td align=center class=item> <b><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['date'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b><br>Expire in <?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['expire_in'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 days</td>
 <td align=center class=item><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <img src="images/<?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['ec'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
.gif" align=absmiddle hspace=1 height=17></b></td>
<?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['use_compound'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
 <td align=center class=item align=center><?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['compound'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
% <a href="?a=change_compound&deposit=<?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['id'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
">[change]</a></td>
<?php endif; ?>
<?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['withdraw_principal'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
 <td align=center class=item>
  <?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['can_withdraw'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
   <a href="?a=withdraw_principal&deposit=<?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['id'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
">[release]</a>
  <?php else: ?>
   <?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['pending_duration'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0): ?>
    <?php echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['pending_duration'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 day<?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['deposits'][$this->_sections['deposit']['index']]['pending_duration'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 1): ?>s<?php endif; ?> left
   <?php else: ?>
    not available
   <?php endif; ?>
  <?php endif; ?>
 </td>
<?php endif; ?>
</tr>
<?php endfor; endif; ?>
<?php endif; ?>
</table>
<?php if (((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['total_deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0 || ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['today_profit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0 || ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['total_profit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0): ?>
<table cellspacing=0 cellpadding=1 border=0>
<tr><td>Deposited Total:</td><td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['total_deposit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td></tr>
<tr><td>Profit Today:</td><td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['today_profit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td></tr>

<tr><td>Total Profit:</td><td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp));  echo ((is_array($_tmp=$this->_tpl_vars['plans'][$this->_sections['plans']['index']]['total_profit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td></tr>

</table>
<?php endif; ?>
<br>
</td></tr></table>
<br>
<?php endfor; endif; ?>

<?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);
 ?>
