<div style="width:984px;margin: 0 auto;">{$errorMessage}</div>
 {if $payments_data} 
<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">
{foreach from=$payments_data item=pm}
<div class="content-box vertical-space">
      <div class="deposit-aside content-box callout">
        <img alt="" src="/static/img/moneystack.png" width="130" height="95">
      </p></div>

      
        							<p>{$pm.description}</p>
<br />
									<img class="option" src="{if $pm.logo}/static/uploads/payments/{$pm.logo}{else}/static/img/paypal.png{/if}" alt="Pay with {if $pm.title}{$pm.title}{else}PayPal{/if}"></img>

						<div style="margin-left:300px;">{$pm.form}</div>

    </div>
{/foreach}

</div>

<div class="sidebar-s sidebar-right">
  <h2 class="box-heading">موجودي حساب شما</h2>
  <div class="content-box">
    <span class="current-balance">{$currency.symbol} {$smarty.session.user.total|string_format:"%.0f"}</span>

    <p><a href="/{$languageURL}invoices/">تاريخچه حساب شما</a></p>

    <p>
      <strong><strong>نياز به يک فاکتور داريد ؟</strong><br>اطمينان کنيد که حتما نام شرکت يا موسسه خود را درج کنيد .</strong><br>
      <a href="/{$languageURL}edit/">تنظيمات</a>
    </p>
  </div>
</div>


    </div>


  </div>
  {/if}  