{include file="header.tpl"}

{if $false_data != 1}
<h3>Por favor confirma su deposito</h3><br><br>

<form name=spend method=post action="https://www.alertpay.com/PayProcess.aspx">
su numero de cuenta de AlertPay <b>{$account}</b><br>
Cantidad ({$currency_sign}): <b>{$amount_format}</b><br>
{if $use_compound}
{if $compound_min_percents == $compound_max_percents && !$compound_percents}
<input type=hidden name=apc_4 value="{$compound_min_percents}">
{else}
<table cellspacing=0 cellpadding=2 border=0>
<tr><td nowrap width=1%>Para agravar por ciento: </td>
  {if $compound_percents}
<td><select name='apc_4' class=inpts>
{section name=p loop=$compound_percents}<option value="{$compound_percents[p].percent}">{$compound_percents[p].percent}%</option>{/section}
</select></td>
  {else}
<td width=99%><input type=text name='apc_4' value="{$compound_min_percents}" class=inpts size=5></td></tr>
<tr><td nowrap colspan=2>(Usted puede configurar cualquier porciento entre <b>{$compound_min_percents}%</b> y <b>{$compound_max_percents}%</b>)</td>
  {/if}
</tr>
<!--tr><td colspan=2><small>Ejemplo: {$compounding}% de sus ingresos se acumulan en depósito de.</small></td></tr-->
</table>
{/if}
{else}
<input type=hidden name=apc_4 value="0">
{/if}

<br>

<input type=hidden name=apc_1 value="{$userinfo.id}">
<input type=hidden name=apc_2 value={$h_id}>
<input type=hidden name=apc_3 value=checkpayment>

<INPUT type=hidden name=ap_purchasetype value="Item">
<INPUT type=hidden name=ap_currency value="USD">
<INPUT type=hidden name=ap_quantity value="1">
<INPUT type=hidden name=ap_amount value="{$amount}">
<INPUT type=hidden name=ap_merchant value="{$settings.def_payee_account_alertpay}">
<INPUT type=hidden name=ap_returnurl value="{$settings.site_url}/index.php?a=return_egold&process=yes">
<INPUT type=hidden name=ap_cancelurl  value="{$settings.site_url}/index.php?a=return_egold&process=no">
<INPUT type=hidden value="Deposito a {$settings.site_name} Usuario {$userinfo.username}" name=ap_itemname>
<br><input type=submit value="Proceso" class=sbmt>  
<input type=button class=sbmt value="Cancel" onclick="document.location='?a=account'">
</form>
{/if}
{include file="footer.tpl"}
