<?php /* Smarty version 2.6.22, created on 2014-03-11 19:52:53
         compiled from /home/hamyarwp/public_html/market/zipmarket/apps/users/views/payment.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', '/home/hamyarwp/public_html/market/zipmarket/apps/users/views/payment.html', 69, false),)), $this); ?>
<div style="width:984px;margin: 0 auto;"><?php echo $this->_tpl_vars['errorMessage']; ?>
</div>
 <?php if ($this->_tpl_vars['payments_data']): ?> 
<?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>
       <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>
<?php endif; ?>


<div id="content">
      <div class="container">
	  		
		<div id="process">
  <div class="inner-boundary">
    <div class="inner-border">
        <ul>
	       <li class="">لطفا مبلغی که می خواهید شارژ کنید را انتخاب نمائید<img src="/static/img/arrow.gif"></li> 
	       <li class="current">پرداخت کنید<img src="/static/img/arrow.gif"></li>
	       <li class=""><img src="/static/img/arrow.gif">برگشت به سایت</li>	
        </ul>
      <div class="single"> </div>
      <img class="context" src="/static/img/cash.png" alt="Deposit" width="52" height="44">
    </div>
  </div>
</div>
<div class="content-l">
<?php $_from = $this->_tpl_vars['payments_data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['pm']):
?>
<div class="content-box options-follow">

      
        							<p><?php echo $this->_tpl_vars['pm']['description']; ?>
</p>

									<img class="option" src="<?php if ($this->_tpl_vars['pm']['logo']): ?>/static/uploads/payments/<?php echo $this->_tpl_vars['pm']['logo']; ?>
<?php else: ?>/static/img/paypal.png<?php endif; ?>" alt="Pay with <?php if ($this->_tpl_vars['pm']['title']): ?><?php echo $this->_tpl_vars['pm']['title']; ?>
<?php else: ?>PayPal<?php endif; ?>"></img>
<div class="form-submit next-to-feature"><?php echo $this->_tpl_vars['pm']['form']; ?>
</div>
						

</div>
<?php endforeach; endif; unset($_from); ?>
<div class="content-box deposit-mb">
<br />
        <img alt="Pay with Moneybookers" class="option" src="/static/img/moneybookers.png">
        <br>

        <div class="form-submit next-to-feature">
          <button type="submit" id="moneybookers-purchase-button" name="moneybookers" class="btn-icon purchase" disabled="">خرید کنید</button>
        </div>
</div>
</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/">تاريخچه حساب شما</a></p>

    <p>
      <strong><strong>نیاز به یک فاکتور دارید ؟</strong><br>اطمینان کنید که حتما نام شرکت یا موسسه خود را درج کنید .</strong><br>
      <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
edit/">تنظیمات</a>
    </p>
  </div>
</div>

    </div>
  </div>
  <?php endif; ?>