<?php /* Smarty version 2.6.22, created on 2014-02-10 23:54:11
         compiled from D:/Program+Files+%28x86%29/Ampps/www/zipmarket%5Capps%5Cusers%5Cviews/deposit.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', 'D:/Program Files (x86)/Ampps/www/zipmarket\\apps\\users\\views/deposit.html', 64, 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">خانه </a>/<a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
users/<?php echo $_SESSION['user']['username']; ?>
/">حساب کاربری من </a>/</div>
       <h2 class="page-title">واریز نقدی </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">خانه </a>/<a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
users/<?php echo $_SESSION['user']['username']; ?>
/">حساب کاربری من </a>/</div>
       <h1 class="page-title">واریز نقدی </h1>
    </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 id="process">
  <div class="inner-boundary">
    <div class="inner-border">
        <ul>
	       <li class="<?php if (! isset ( $this->_tpl_vars['depositID'] ) && ! isset ( $this->_tpl_vars['complete'] )): ?>current<?php endif; ?>">لطفا مبلغی که می خواهید شارژ کنید را انتخاب نمائید <img src="/static/img/arrow.gif" /></li>
	       <li class="<?php if (isset ( $this->_tpl_vars['depositID'] )): ?>current <?php endif; ?>"><?php echo $this->_tpl_vars['lang']['make_payment']; ?>
<img src="/static/img/arrow.gif" /></li>
	       <li class="<?php echo $this->_tpl_vars['lang']['return_to_site']; ?>
"><img src="/static/img/arrow.gif" /><?php echo $this->_tpl_vars['lang']['return_to_site']; ?>
</li>	
        </ul>
      <div class="single">واریز نقدی</div>
      <img class="context" src="/static/img/cash.png" alt="Deposit" height="44" width="52"/>
    </div>
  </div>
</div>
<div class="content-l">
  	<form id="add-deposit" method="post" action="">
    <div class="content-box vertical-space">
      <div class="deposit-aside content-box callout">
        <img alt="Deposit Money!" height="95" src="/static/img/moneystack.png" width="130" />
        <p>برای مقادیر بزرگتر <a href="/support/">تماس بگیرید</a>
      </div>

      <h2><?php echo $this->_tpl_vars['lang']['how_much_deposit']; ?>
</h2>
      <p>سپردها به تومان مي باشند . </p>

      <ul class="deposit-amounts">
	  <?php unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)10000;
$this->_sections['foo']['loop'] = is_array($_loop=100001) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)10000) == 0 ? 1 : (int)10000;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?>
             <li>
						     <label><input<?php if ($this->_sections['foo']['first']): ?> checked="checked"<?php endif; ?> class="checkbox" id="amount_<?php echo $this->_sections['foo']['index']; ?>
" name="amount" style="border: none" type="radio" value="<?php echo $this->_sections['foo']['index']; ?>
" />
						     <?php echo $this->_sections['foo']['index']; ?>
 <span><?php echo $this->_tpl_vars['currency']['symbol']; ?>
</span></label>
			 </li>
	  <?php endfor; endif; ?>
      </ul><br /><br /><br /><br /><br /><br /><br /><br />
<div class="form-submit next-to-feature"><button type="submit" href="javascript: void(0);" id="paypal-purchase-button" name="paypal" onclick="$('#add-deposit').submit();" class="btn-icon purchase">شارژ حساب</button></div>
    </div>
</form></div>

<div class="sidebar-s sidebar-right">
  <h2 class="box-heading">موجودی اعتبار شما</h2>
  <div class="content-box">
    <span class="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']; ?>
</span>

    <p><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
invoices/"><?php echo $this->_tpl_vars['lang']['view_account_history']; ?>
</a></p>

    <p>
      <strong><?php echo $this->_tpl_vars['lang']['need_invoice']; ?>
</strong><br />
      <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
edit/"><?php echo $this->_tpl_vars['lang']['settings']; ?>
</a>
    </p>
  </div>
</div>

    </div>


  </div>