{literal}
<style>
.pay_forms td {padding: 5px;text-align: center;}
button {padding: 3px; width: 250px;}
</style>
{/literal}
<table border=0 cellpadding=5 align=center class="pay_forms" width=100%>

{if $settings.lr_account && $settings.15_enable}
<tr>
<td>
<form action="https://sci.libertyreserve.com" method="post">
<INPUT type=hidden name="pid" value="{$pid}">
<input type=hidden name="lr_acc" value="{$settings.lr_account}">
<input type=hidden name="lr_store" value="{$settings.lr_store}">
<input type=hidden name="lr_amnt" value="{$amount|sprintf:"%.02f"}">
<input type=hidden name="lr_currency" value="LRUSD">
<input type=hidden name="lr_comments" value="{$memo}">
<input type=hidden name="lr_success_url" value="{"?a=advertise&process=yes"|encurl}">
<input type=hidden name="lr_fail_url" value="{"?a=advertise&process=no"|encurl}">
<input type=hidden name="lr_status_url" value="{"index.php"|encurl}">
<button>Pay with Liberty Reserve<br><img src="{"`$theme`images/LibertyReserve.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

{if $settings.eg_account && $settings.36_enable}
<tr>
<td>
<form action="https://www.egopay.com/api/pay" method="post">
<input type="hidden" name="hash" value="{egopayhash amount=$amount currency=USD description=$memo cf_1=$pid fail_url="?a=advertise&process=no"|encurl success_url="?a=advertise&process=yes"|encurl}">
<button>Pay with EgoPay<br><img src="{"`$theme`images/EgoPay.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

{if $settings.pm_account && $settings.18_enable}
<tr>
<td>
<form action="https://perfectmoney.com/api/step1.asp" method="POST">
<INPUT type=hidden name="pid" value="{$pid}">
<input type=hidden name="PAYEE_ACCOUNT" value="{$settings.pm_account}">
<input type=hidden name="PAYEE_NAME" value="{$settings.pm_name}">
<input type=hidden name="PAYMENT_ID" value="">
<input type=hidden name="PAYMENT_AMOUNT" value="{$amount|sprintf:"%.02f"}">
<input type=hidden name="PAYMENT_UNITS" value=USD>
<input type=hidden name="SUGGESTED_MEMO" value="{$memo}">
<input type=hidden name="STATUS_URL" value="{"?a=status"|encurl}">
<input type=hidden name="PAYMENT_URL" value="{"?a=advertise&process=yes"|encurl}">
<input type=hidden name="PAYMENT_URL_METHOD" value="POST">
<input type=hidden name="NOPAYMENT_URL" value="{"?a=advertise&process=no"|encurl}">
<input type=hidden name="NOPAYMENT_URL_METHOD" value="POST">
<input type=hidden name="BAGGAGE_FIELDS" value="pid">
<button>Pay with Perfect Money<br><img src="{"`$theme`images/PerfectMoney.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

{if $settings.ap_account && $settings.11_enable}
<tr>
<td>
<form action="https://www.payza.com/PayProcess.aspx" method="POST">
<input type=hidden name=apc_1 value="{$pid}">
<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.ap_account}">
<INPUT type=hidden name="ap_returnurl" value="{"?a=advertise&process=yes"|encurl}">
<INPUT type=hidden name="ap_cancelurl"  value="{"?a=advertise&process=no"|encurl}">
<INPUT type=hidden name="ap_itemname" value="{$memo}">
<button>Pay with Payza<br><img src="{"`$theme`images/Payza.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

{if $settings.stp_account && $settings.22_enable}
<tr>
<td>
<form action="https://solidtrustpay.com/handle.php" method="POST">
<input type=hidden name="user1" value="solidtrustpay_postback">
<input type=hidden name="user3" value={$pid}>
<input type=hidden name="currency" value="USD">
<INPUT type=hidden name="amount" value="{$amount}">
<INPUT type=hidden name="merchantAccount" value="{$settings.stp_account}" >
<INPUT type=hidden name="notify_url" value="{"index.php"|encurl}">
<INPUT type=hidden name="return_url" value="{"?a=advertise&process=yes"|encurl}">
<INPUT type=hidden name="cancel_url" value="{"?a=advertise&process=no"|encurl}">
<INPUT type=hidden name="memo" value="{$memo}">
<INPUT type=hidden name="item_id" value="{$memo}">
<button>Pay with SolidTrustPay<br><img src="{"`$theme`images/SolidTrustPay.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}


{if $settings.pp_account && $settings.6_enable}
<tr>
<td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_xclick">
  <input type=hidden name=custom value="{$pid}">
  <input type="hidden" name="business" value="{$settings.pp_account}">
  <input type="hidden" name="item_name" value="{$memo}"> 
  <input type="hidden" name="amount" value="{$amount}">
  <input type="hidden" name="return" value="{"?a=advertise&process=yes"|encurl}">
  <input type="hidden" name="notify_url" value="{"index.php"|encurl}">
  <input type="hidden" name="cancel_return" value="{"?a=advertise&process=no"|encurl}"> 
  <input type=hidden name=quantity value=1>
  <input type=hidden name=no_note value=1>
  <input type=hidden name=no_shipping value=1>
  <input type=hidden name=rm value=2>
  <input type=hidden name=currency_code value="USD">
  <button>Pay with PayPal<br><img src="{"`$theme`images/PayPal.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

</table>