<?php /* Smarty version 2.6.22, created on 2014-02-11 21:39:23
         compiled from /home/joomaria/public_html/zipmarket/apps/users/views/history.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', '/home/joomaria/public_html/zipmarket/apps/users/views/history.html', 43, false),array('modifier', 'string_format', '/home/joomaria/public_html/zipmarket/apps/users/views/history.html', 66, false),)), $this); ?>
<?php if ($_SESSION['user']['power_elite_author'] == 'true' || $_SESSION['user']['elite_author'] == 'true'): ?>
<div class="<?php if ($_SESSION['user']['power_elite_author'] == 'true'): ?>power-elite-author<?php endif; ?><?php if ($_SESSION['user']['elite_author'] == 'true'): ?>elite-author<?php endif; ?>">
  <div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href='/' class="first">Home</a>\<a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
users/<?php echo $_SESSION['user']['username']; ?>
/">My Account</a>\</div>
       <h2 class="page-title"><?php echo $this->_tpl_vars['lang']['deposit_history1']; ?>
 </h2>
    </div>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['root_path'])."/zipmarket/apps/users/views/tabsy.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  </div>
</div>
<?php else: ?>
  <div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href='/' class="first">Home</a>\<a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
users/<?php echo $_SESSION['user']['username']; ?>
/">My Account</a>\</div>
       <h2 class="page-title"><?php echo $this->_tpl_vars['lang']['deposit_history1']; ?>
 </h2>
    </div>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['root_path'])."/zipmarket/apps/users/views/tabsy.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  </div>
<?php endif; ?>	
<div id="content">
      <div class="container">
	  		<?php echo $this->_tpl_vars['errorMessage']; ?>

<div class="content-l">

  <div class="general_table_border">
  
    <table class="general_table" border="0" cellpadding="0" cellspacing="0">
      <thead>
        <tr>
          <td><?php echo $this->_tpl_vars['lang']['action']; ?>
</td>
          <td><?php echo $this->_tpl_vars['lang']['when']; ?>
</td>
          <td><?php echo $this->_tpl_vars['lang']['transaction_id1']; ?>
</td>
		   <td>Invoice</td>
        </tr>
      </thead>
      <tbody>
	  <?php $_from = $this->_tpl_vars['history']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['h']):
?>
    <?php if ($this->_tpl_vars['history']): ?> 
	<tr>
        <td><?php echo $this->_tpl_vars['h']['action']; ?>
</td>
        <td><?php echo ((is_array($_tmp=$this->_tpl_vars['h']['datetime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, 'j F Y') : smarty_modifier_date_format($_tmp, 'j F Y')); ?>
</td>
        <td><small><?php echo $this->_tpl_vars['h']['transaction_id']; ?>
</small><!-- include item number here --></td>
		<td><a href="#" popup="true">-</a></td>
      </tr>
<?php else: ?>
	<tr>
        <td></td>
        <td></td>
        <td>nothing here</td>
		<td></td>
    </tr>
	<?php endif; ?>
	  <?php endforeach; endif; unset($_from); ?>
      </tbody>
    </table>
	
  </div>

</div>

<div class="sidebar-s sidebar-right">
  <h2 class="box-heading">Current Balance</h2>
  <div class="content-box current-balance">
   <?php echo ((is_array($_tmp=$_SESSION['user']['total'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
 <?php echo $this->_tpl_vars['currency']['symbol']; ?>

  </div>
</div>

      </div>
    </div>