<?php /* Smarty version 2.6.2, created on 2012-10-13 05:18:25
         compiled from withdrawal_history.tpl */ ?>
<?php require_once(SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'myescape', 'withdrawal_history.tpl', 9, 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>Withdrawals History:</h1>
<form method=post>
<input type=hidden name=a value=withdraw_history>
<table cellspacing=0 cellpadding=0 border=0 width=100%>
<tr>
 <td align=right>
From: <select name=month_from class=inpts>
<?php if (isset($this->_sections['month_from'])) unset($this->_sections['month_from']);
$this->_sections['month_from']['name'] = 'month_from';
$this->_sections['month_from']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['month'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['month_from']['show'] = true;
$this->_sections['month_from']['max'] = $this->_sections['month_from']['loop'];
$this->_sections['month_from']['step'] = 1;
$this->_sections['month_from']['start'] = $this->_sections['month_from']['step'] > 0 ? 0 : $this->_sections['month_from']['loop']-1;
if ($this->_sections['month_from']['show']) {
    $this->_sections['month_from']['total'] = $this->_sections['month_from']['loop'];
    if ($this->_sections['month_from']['total'] == 0)
        $this->_sections['month_from']['show'] = false;
} else
    $this->_sections['month_from']['total'] = 0;
if ($this->_sections['month_from']['show']):

            for ($this->_sections['month_from']['index'] = $this->_sections['month_from']['start'], $this->_sections['month_from']['iteration'] = 1;
                 $this->_sections['month_from']['iteration'] <= $this->_sections['month_from']['total'];
                 $this->_sections['month_from']['index'] += $this->_sections['month_from']['step'], $this->_sections['month_from']['iteration']++):
$this->_sections['month_from']['rownum'] = $this->_sections['month_from']['iteration'];
$this->_sections['month_from']['index_prev'] = $this->_sections['month_from']['index'] - $this->_sections['month_from']['step'];
$this->_sections['month_from']['index_next'] = $this->_sections['month_from']['index'] + $this->_sections['month_from']['step'];
$this->_sections['month_from']['first']      = ($this->_sections['month_from']['iteration'] == 1);
$this->_sections['month_from']['last']       = ($this->_sections['month_from']['iteration'] == $this->_sections['month_from']['total']);
?>
<option value=<?php echo ((is_array($_tmp=$this->_sections['month_from']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php if (((is_array($_tmp=$this->_sections['month_from']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ((is_array($_tmp=$this->_tpl_vars['frm']['month_from'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['month'][$this->_sections['month_from']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

<?php endfor; endif; ?>
</select> &nbsp;
<select name=day_from class=inpts>
<?php if (isset($this->_sections['day_from'])) unset($this->_sections['day_from']);
$this->_sections['day_from']['name'] = 'day_from';
$this->_sections['day_from']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['day'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['day_from']['show'] = true;
$this->_sections['day_from']['max'] = $this->_sections['day_from']['loop'];
$this->_sections['day_from']['step'] = 1;
$this->_sections['day_from']['start'] = $this->_sections['day_from']['step'] > 0 ? 0 : $this->_sections['day_from']['loop']-1;
if ($this->_sections['day_from']['show']) {
    $this->_sections['day_from']['total'] = $this->_sections['day_from']['loop'];
    if ($this->_sections['day_from']['total'] == 0)
        $this->_sections['day_from']['show'] = false;
} else
    $this->_sections['day_from']['total'] = 0;
if ($this->_sections['day_from']['show']):

            for ($this->_sections['day_from']['index'] = $this->_sections['day_from']['start'], $this->_sections['day_from']['iteration'] = 1;
                 $this->_sections['day_from']['iteration'] <= $this->_sections['day_from']['total'];
                 $this->_sections['day_from']['index'] += $this->_sections['day_from']['step'], $this->_sections['day_from']['iteration']++):
$this->_sections['day_from']['rownum'] = $this->_sections['day_from']['iteration'];
$this->_sections['day_from']['index_prev'] = $this->_sections['day_from']['index'] - $this->_sections['day_from']['step'];
$this->_sections['day_from']['index_next'] = $this->_sections['day_from']['index'] + $this->_sections['day_from']['step'];
$this->_sections['day_from']['first']      = ($this->_sections['day_from']['iteration'] == 1);
$this->_sections['day_from']['last']       = ($this->_sections['day_from']['iteration'] == $this->_sections['day_from']['total']);
?>
<option value=<?php echo ((is_array($_tmp=$this->_sections['day_from']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php if (((is_array($_tmp=$this->_sections['day_from']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ((is_array($_tmp=$this->_tpl_vars['frm']['day_from'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['day'][$this->_sections['day_from']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

<?php endfor; endif; ?>
</select> &nbsp;

<select name=year_from class=inpts>
<?php if (isset($this->_sections['year_from'])) unset($this->_sections['year_from']);
$this->_sections['year_from']['name'] = 'year_from';
$this->_sections['year_from']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['year'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['year_from']['show'] = true;
$this->_sections['year_from']['max'] = $this->_sections['year_from']['loop'];
$this->_sections['year_from']['step'] = 1;
$this->_sections['year_from']['start'] = $this->_sections['year_from']['step'] > 0 ? 0 : $this->_sections['year_from']['loop']-1;
if ($this->_sections['year_from']['show']) {
    $this->_sections['year_from']['total'] = $this->_sections['year_from']['loop'];
    if ($this->_sections['year_from']['total'] == 0)
        $this->_sections['year_from']['show'] = false;
} else
    $this->_sections['year_from']['total'] = 0;
if ($this->_sections['year_from']['show']):

            for ($this->_sections['year_from']['index'] = $this->_sections['year_from']['start'], $this->_sections['year_from']['iteration'] = 1;
                 $this->_sections['year_from']['iteration'] <= $this->_sections['year_from']['total'];
                 $this->_sections['year_from']['index'] += $this->_sections['year_from']['step'], $this->_sections['year_from']['iteration']++):
$this->_sections['year_from']['rownum'] = $this->_sections['year_from']['iteration'];
$this->_sections['year_from']['index_prev'] = $this->_sections['year_from']['index'] - $this->_sections['year_from']['step'];
$this->_sections['year_from']['index_next'] = $this->_sections['year_from']['index'] + $this->_sections['year_from']['step'];
$this->_sections['year_from']['first']      = ($this->_sections['year_from']['iteration'] == 1);
$this->_sections['year_from']['last']       = ($this->_sections['year_from']['iteration'] == $this->_sections['year_from']['total']);
?>
<option value=<?php echo ((is_array($_tmp=$this->_tpl_vars['year'][$this->_sections['year_from']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php if (((is_array($_tmp=$this->_tpl_vars['year'][$this->_sections['year_from']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ((is_array($_tmp=$this->_tpl_vars['frm']['year_from'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['year'][$this->_sections['year_from']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

<?php endfor; endif; ?>
</select><br><img src=images/q.gif width=1 height=4><br>

To: <select name=month_to class=inpts>
<?php if (isset($this->_sections['month_to'])) unset($this->_sections['month_to']);
$this->_sections['month_to']['name'] = 'month_to';
$this->_sections['month_to']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['month'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['month_to']['show'] = true;
$this->_sections['month_to']['max'] = $this->_sections['month_to']['loop'];
$this->_sections['month_to']['step'] = 1;
$this->_sections['month_to']['start'] = $this->_sections['month_to']['step'] > 0 ? 0 : $this->_sections['month_to']['loop']-1;
if ($this->_sections['month_to']['show']) {
    $this->_sections['month_to']['total'] = $this->_sections['month_to']['loop'];
    if ($this->_sections['month_to']['total'] == 0)
        $this->_sections['month_to']['show'] = false;
} else
    $this->_sections['month_to']['total'] = 0;
if ($this->_sections['month_to']['show']):

            for ($this->_sections['month_to']['index'] = $this->_sections['month_to']['start'], $this->_sections['month_to']['iteration'] = 1;
                 $this->_sections['month_to']['iteration'] <= $this->_sections['month_to']['total'];
                 $this->_sections['month_to']['index'] += $this->_sections['month_to']['step'], $this->_sections['month_to']['iteration']++):
$this->_sections['month_to']['rownum'] = $this->_sections['month_to']['iteration'];
$this->_sections['month_to']['index_prev'] = $this->_sections['month_to']['index'] - $this->_sections['month_to']['step'];
$this->_sections['month_to']['index_next'] = $this->_sections['month_to']['index'] + $this->_sections['month_to']['step'];
$this->_sections['month_to']['first']      = ($this->_sections['month_to']['iteration'] == 1);
$this->_sections['month_to']['last']       = ($this->_sections['month_to']['iteration'] == $this->_sections['month_to']['total']);
?>
<option value=<?php echo ((is_array($_tmp=$this->_sections['month_to']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php if (((is_array($_tmp=$this->_sections['month_to']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ((is_array($_tmp=$this->_tpl_vars['frm']['month_to'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['month'][$this->_sections['month_to']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

<?php endfor; endif; ?>
</select> &nbsp;
<select name=day_to class=inpts>
<?php if (isset($this->_sections['day_to'])) unset($this->_sections['day_to']);
$this->_sections['day_to']['name'] = 'day_to';
$this->_sections['day_to']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['day'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['day_to']['show'] = true;
$this->_sections['day_to']['max'] = $this->_sections['day_to']['loop'];
$this->_sections['day_to']['step'] = 1;
$this->_sections['day_to']['start'] = $this->_sections['day_to']['step'] > 0 ? 0 : $this->_sections['day_to']['loop']-1;
if ($this->_sections['day_to']['show']) {
    $this->_sections['day_to']['total'] = $this->_sections['day_to']['loop'];
    if ($this->_sections['day_to']['total'] == 0)
        $this->_sections['day_to']['show'] = false;
} else
    $this->_sections['day_to']['total'] = 0;
if ($this->_sections['day_to']['show']):

            for ($this->_sections['day_to']['index'] = $this->_sections['day_to']['start'], $this->_sections['day_to']['iteration'] = 1;
                 $this->_sections['day_to']['iteration'] <= $this->_sections['day_to']['total'];
                 $this->_sections['day_to']['index'] += $this->_sections['day_to']['step'], $this->_sections['day_to']['iteration']++):
$this->_sections['day_to']['rownum'] = $this->_sections['day_to']['iteration'];
$this->_sections['day_to']['index_prev'] = $this->_sections['day_to']['index'] - $this->_sections['day_to']['step'];
$this->_sections['day_to']['index_next'] = $this->_sections['day_to']['index'] + $this->_sections['day_to']['step'];
$this->_sections['day_to']['first']      = ($this->_sections['day_to']['iteration'] == 1);
$this->_sections['day_to']['last']       = ($this->_sections['day_to']['iteration'] == $this->_sections['day_to']['total']);
?>
<option value=<?php echo ((is_array($_tmp=$this->_sections['day_to']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php if (((is_array($_tmp=$this->_sections['day_to']['index']+1)) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ((is_array($_tmp=$this->_tpl_vars['frm']['day_to'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['day'][$this->_sections['day_to']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

<?php endfor; endif; ?>
</select> &nbsp;

<select name=year_to class=inpts>
<?php if (isset($this->_sections['year_to'])) unset($this->_sections['year_to']);
$this->_sections['year_to']['name'] = 'year_to';
$this->_sections['year_to']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['year'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['year_to']['show'] = true;
$this->_sections['year_to']['max'] = $this->_sections['year_to']['loop'];
$this->_sections['year_to']['step'] = 1;
$this->_sections['year_to']['start'] = $this->_sections['year_to']['step'] > 0 ? 0 : $this->_sections['year_to']['loop']-1;
if ($this->_sections['year_to']['show']) {
    $this->_sections['year_to']['total'] = $this->_sections['year_to']['loop'];
    if ($this->_sections['year_to']['total'] == 0)
        $this->_sections['year_to']['show'] = false;
} else
    $this->_sections['year_to']['total'] = 0;
if ($this->_sections['year_to']['show']):

            for ($this->_sections['year_to']['index'] = $this->_sections['year_to']['start'], $this->_sections['year_to']['iteration'] = 1;
                 $this->_sections['year_to']['iteration'] <= $this->_sections['year_to']['total'];
                 $this->_sections['year_to']['index'] += $this->_sections['year_to']['step'], $this->_sections['year_to']['iteration']++):
$this->_sections['year_to']['rownum'] = $this->_sections['year_to']['iteration'];
$this->_sections['year_to']['index_prev'] = $this->_sections['year_to']['index'] - $this->_sections['year_to']['step'];
$this->_sections['year_to']['index_next'] = $this->_sections['year_to']['index'] + $this->_sections['year_to']['step'];
$this->_sections['year_to']['first']      = ($this->_sections['year_to']['iteration'] == 1);
$this->_sections['year_to']['last']       = ($this->_sections['year_to']['iteration'] == $this->_sections['year_to']['total']);
?>
<option value=<?php echo ((is_array($_tmp=$this->_tpl_vars['year'][$this->_sections['year_to']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php if (((is_array($_tmp=$this->_tpl_vars['year'][$this->_sections['year_to']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == ((is_array($_tmp=$this->_tpl_vars['frm']['year_to'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>selected<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['year'][$this->_sections['year_to']['index']])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

<?php endfor; endif; ?>
</select>

 </td>
 <td>
	&nbsp; <input type=submit value="Go" class=sbmt>
 </td>
</tr></table>
</form>
<br><br>

<?php if (((is_array($_tmp=$this->_tpl_vars['settings']['use_history_balance_mode'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))): ?>
<table cellspacing=1 cellpadding=2 border=0 width=100%>
<tr>
 <td class=inheader>Date</td>
 <td class=inheader>Type</td>
 <td class=inheader>Credit</td>
 <td class=inheader>Debit</td>
 <td class=inheader>Balance</td>
 <td class=inheader>P.S.</td>
</tr>
<?php if (((is_array($_tmp=$this->_tpl_vars['qtrans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0): ?>
<?php if (isset($this->_sections['trans'])) unset($this->_sections['trans']);
$this->_sections['trans']['name'] = 'trans';
$this->_sections['trans']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['trans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['trans']['show'] = true;
$this->_sections['trans']['max'] = $this->_sections['trans']['loop'];
$this->_sections['trans']['step'] = 1;
$this->_sections['trans']['start'] = $this->_sections['trans']['step'] > 0 ? 0 : $this->_sections['trans']['loop']-1;
if ($this->_sections['trans']['show']) {
    $this->_sections['trans']['total'] = $this->_sections['trans']['loop'];
    if ($this->_sections['trans']['total'] == 0)
        $this->_sections['trans']['show'] = false;
} else
    $this->_sections['trans']['total'] = 0;
if ($this->_sections['trans']['show']):

            for ($this->_sections['trans']['index'] = $this->_sections['trans']['start'], $this->_sections['trans']['iteration'] = 1;
                 $this->_sections['trans']['iteration'] <= $this->_sections['trans']['total'];
                 $this->_sections['trans']['index'] += $this->_sections['trans']['step'], $this->_sections['trans']['iteration']++):
$this->_sections['trans']['rownum'] = $this->_sections['trans']['iteration'];
$this->_sections['trans']['index_prev'] = $this->_sections['trans']['index'] - $this->_sections['trans']['step'];
$this->_sections['trans']['index_next'] = $this->_sections['trans']['index'] + $this->_sections['trans']['step'];
$this->_sections['trans']['first']      = ($this->_sections['trans']['iteration'] == 1);
$this->_sections['trans']['last']       = ($this->_sections['trans']['iteration'] == $this->_sections['trans']['total']);
?>
<tr>
 <td align=center nowrap><?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['d'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</td>
 <td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['transtype'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b><br><small class=gray><?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['description'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</small></td>
 <td align=right><b>
  <?php if (((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['debitcredit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 0): ?>
  <?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['trans'][$this->_sections['trans']['index']]['actual_amount'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

  </b>
  <?php else: ?>
  &nbsp;
  <?php endif; ?>
 </td>
 <td align=right><b>
  <?php if (((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['debitcredit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 1): ?>
  <?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['trans'][$this->_sections['trans']['index']]['actual_amount'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

  </b> 
  <?php if (((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['transtype'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 'Withdrawal request'): ?> <a href=?a=cancelwithdraw&id=<?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['id'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 onclick="return confirm('Are you sure you want to delete this request?')">[cancel]</a><?php endif; ?>
  <?php else: ?>
  &nbsp;
  <?php endif; ?>
 </td>
 <td align=right><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['trans'][$this->_sections['trans']['index']]['balance'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>

 </td>
 <td><img src="images/<?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['ec'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
.gif" align=absmiddle hspace=1 height=17></td>
</tr>
<?php endfor; endif; ?>
<?php else: ?>
<tr>
 <td colspan=6 align=center>No transactions found.</td>
</tr>
<?php endif; ?>
<tr><td colspan=3>&nbsp;</td>

<?php if (((is_array($_tmp=$this->_tpl_vars['qtrans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0): ?>
<tr>
 <td colspan=2>For this period:</td>
 <td align=right nowrap><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['periodcredit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
 <td align=right nowrap><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['perioddebit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
 <td align=right nowrap><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['periodbalance'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
</tr>
<?php endif; ?>
<tr>
 <td colspan=2>Total:</td>
 <td align=right nowrap><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['allcredit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
 <td align=right nowrap><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['alldebit'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
 <td align=right nowrap><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['allbalance'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
</tr>
</table>
<?php else: ?>
<table cellspacing=1 cellpadding=2 border=0 width=100%>
<tr>
 <td class=inheader>Type</td>
 <td class=inheader width=200>Amount</td>
 <td class=inheader width=170>Date</td>
</tr>
<?php if (((is_array($_tmp=$this->_tpl_vars['qtrans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0): ?>
<?php if (isset($this->_sections['trans'])) unset($this->_sections['trans']);
$this->_sections['trans']['name'] = 'trans';
$this->_sections['trans']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['trans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['trans']['show'] = true;
$this->_sections['trans']['max'] = $this->_sections['trans']['loop'];
$this->_sections['trans']['step'] = 1;
$this->_sections['trans']['start'] = $this->_sections['trans']['step'] > 0 ? 0 : $this->_sections['trans']['loop']-1;
if ($this->_sections['trans']['show']) {
    $this->_sections['trans']['total'] = $this->_sections['trans']['loop'];
    if ($this->_sections['trans']['total'] == 0)
        $this->_sections['trans']['show'] = false;
} else
    $this->_sections['trans']['total'] = 0;
if ($this->_sections['trans']['show']):

            for ($this->_sections['trans']['index'] = $this->_sections['trans']['start'], $this->_sections['trans']['iteration'] = 1;
                 $this->_sections['trans']['iteration'] <= $this->_sections['trans']['total'];
                 $this->_sections['trans']['index'] += $this->_sections['trans']['step'], $this->_sections['trans']['iteration']++):
$this->_sections['trans']['rownum'] = $this->_sections['trans']['iteration'];
$this->_sections['trans']['index_prev'] = $this->_sections['trans']['index'] - $this->_sections['trans']['step'];
$this->_sections['trans']['index_next'] = $this->_sections['trans']['index'] + $this->_sections['trans']['step'];
$this->_sections['trans']['first']      = ($this->_sections['trans']['iteration'] == 1);
$this->_sections['trans']['last']       = ($this->_sections['trans']['iteration'] == $this->_sections['trans']['total']);
?>
<tr>
 <td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['transtype'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
 <td width=200 align=right><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['actual_amount'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b> <img src="images/<?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['ec'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
.gif" align=absmiddle hspace=1 height=17> <?php if (((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['transtype'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) == 'Withdrawal request'): ?> <a href=?a=cancelwithdraw&id=<?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['id'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 onclick="return confirm('Are you sure you want to delete this request?')">[cancel]</a><?php endif; ?></td>
 <td width=170 align=center valign=bottom><b><small><?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['d'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</small></b></td>
</tr>
<tr>
 <td colspan=3 style="color: gray"><small><?php echo ((is_array($_tmp=$this->_tpl_vars['trans'][$this->_sections['trans']['index']]['description'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</small></td>
</tr>
<?php endfor; endif; ?>
<?php else: ?>
<tr>
 <td colspan=3 align=center>No transactions found.</td>
</tr>
<?php endif; ?>
<tr><td colspan=3>&nbsp;</td>
<?php if (((is_array($_tmp=$this->_tpl_vars['qtrans'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)) > 0): ?>
<tr>
 <td colspan=2>For this period:</td>
 <td align=right><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['periodsum'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
</tr>
<?php endif; ?>
<tr>
 <td colspan=2>Total:</td>
 <td align=right><b><?php echo ((is_array($_tmp=$this->_tpl_vars['currency_sign'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['allsum'])) ? $this->_run_mod_handler('myescape', true, $_tmp) : smarty_modifier_myescape($_tmp)); ?>
</b></td>
</tr>
</table>
<?php 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);
 ?>