		<div class="bigheader">
			<h2>{$LANG.addfunds}</h2>
		</div><!-- .bigheader -->

{if $addfundsdisabled}


			<div class="notice notice-error">
				<div class="inside">
					<p>{$LANG.clientareaaddfundsdisabled}</p>
				</div>
			</div>

{else}

<p>{$LANG.addfundsdescription}</p>

<div class="table-responsive table-grey">
<table>
        <tr>
          <td width="20%"><strong>{$LANG.addfundsminimum}</strong></td>
          <td>{$currencysymbol}{$minimumamount} {$currency}</td>
        </tr>
        <tr>
          <td><strong>{$LANG.addfundsmaximum}</strong></td>
          <td>{$currencysymbol}{$maximumamount} {$currency}</td>
        </tr>
        <tr>
          <td><strong>{$LANG.addfundsmaximumbalance}</strong></td>
          <td>{$currencysymbol}{$maximumbalance} {$currency}</td>
        </tr>
</table>
</div>

{if $notallowed}

			<div class="notice notice-error">
				<div class="inside">
					<p>{$LANG.clientareaaddfundsnotallowed}</p>
				</div>
			</div>

{/if}

{if $errormessage}

			<div class="notice notice-error">
				<div class="inside">
					<p>{$errormessage}</p>
				</div>
			</div>

{/if}


<form method="post" action="{$smarty.server.PHP_SELF}?action=addfunds">


  		<div class="feildset">
		
			<div class="col1">
			
				<div>
					<label>
						<span>{$LANG.addfundsamount}: ({$LANG.required})</span>
						<input type="text" name="amount" tabindex="1" requred="required" autofocus="autofocus" value="{$amount}" />
					</label>
				</div>	
				
				<div>
					<label>
						<span>{$LANG.orderpaymentmethod}:</span>
					    <select name="paymentmethod">
  
					      {foreach key=num item=gateway from=$gateways}
					      
					      <option value="{$gateway.sysname}">{$gateway.name}</option>
					      
					      {/foreach}
					    
					    </select>
					</label>
				</div>							
			
			</div>
			
			
				<div style="height: 20px;"></div>
			
			  <p class="center">
    <input type="submit" value="{$LANG.addfunds}" class="button1 color2" />
  				</p>
			
			
		</div>
  
  
</form>
{/if}