<?php /* Smarty version 2.6.28, created on 2019-03-01 06:44:48
         compiled from /home/vinhostm/public_html/order/templates/portal/clientareaaddfunds.tpl */ ?>
<h2><?php echo $this->_tpl_vars['LANG']['addfunds']; ?>
</h2>
<?php if ($this->_tpl_vars['addfundsdisabled']): ?>
<br />
<div class="errorbox"><?php echo $this->_tpl_vars['LANG']['clientareaaddfundsdisabled']; ?>
</div>
<br /><br /><br />
<?php else: ?>
<p><?php echo $this->_tpl_vars['LANG']['addfundsdescription']; ?>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="frame">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="10" cellspacing="0">
        <tr>
          <td width="230" class="fieldarea"><strong><?php echo $this->_tpl_vars['LANG']['addfundsminimum']; ?>
</strong></td>
          <td><?php echo $this->_tpl_vars['currencysymbol']; ?>
<?php echo $this->_tpl_vars['minimumamount']; ?>
 <?php echo $this->_tpl_vars['currency']; ?>
</td>
        </tr>
        <tr>
          <td width="230" class="fieldarea"><strong><?php echo $this->_tpl_vars['LANG']['addfundsmaximum']; ?>
</strong></td>
          <td><?php echo $this->_tpl_vars['currencysymbol']; ?>
<?php echo $this->_tpl_vars['maximumamount']; ?>
 <?php echo $this->_tpl_vars['currency']; ?>
</td>
        </tr>
        <tr>
          <td width="230" class="fieldarea"><strong><?php echo $this->_tpl_vars['LANG']['addfundsmaximumbalance']; ?>
</strong></td>
          <td><?php echo $this->_tpl_vars['currencysymbol']; ?>
<?php echo $this->_tpl_vars['maximumbalance']; ?>
 <?php echo $this->_tpl_vars['currency']; ?>
</td>
        </tr>
      </table></td>
  </tr>
</table>
<?php if ($this->_tpl_vars['notallowed']): ?><br />
<div class="errorbox"><?php echo $this->_tpl_vars['LANG']['clientareaaddfundsnotallowed']; ?>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['errormessage']): ?><br />
<div class="errorbox"><?php echo $this->_tpl_vars['errormessage']; ?>
</div>
<?php endif; ?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?action=addfunds">
  <p align="center"><strong><?php echo $this->_tpl_vars['LANG']['addfundsamount']; ?>
:</strong>
    <input type="text" name="amount" size="10" value="<?php echo $this->_tpl_vars['amount']; ?>
" />
    <br />
    <strong><br />
    <?php echo $this->_tpl_vars['LANG']['orderpaymentmethod']; ?>
:</strong>
    <select name="paymentmethod">
      
      <?php $_from = $this->_tpl_vars['gateways']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['gateway']):
?>
      
      <option value="<?php echo $this->_tpl_vars['gateway']['sysname']; ?>
"><?php echo $this->_tpl_vars['gateway']['name']; ?>
</option>
      
      <?php endforeach; endif; unset($_from); ?>
    
    </select>
  </p>
  <p align="center">
    <input type="submit" value="<?php echo $this->_tpl_vars['LANG']['addfunds']; ?>
" />
  </p>
</form><br />
<?php endif; ?>