{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.pm_account && $settings.18_enable}
<tr>
<td>
<form action="https://perfectmoney.is/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>{t processing="Perfect Money"}Pay with %processing{/t}<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://secure.payza.com/checkout" 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>{t processing="Payza"}Pay with %processing{/t}<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="sci_name" value="{$settings.stp_store}" > 
<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>{t processing="SolidTrustPay"}Pay with %processing{/t}<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>{t processing="PayPal"}Pay with %processing{/t}<br><img src="{"`$theme`images/PayPal.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

{if $settings.pe_account && $settings.43_enable}
<tr>
<td>

<form method="GET" action="//payeer.com/api/merchant/m.php" target=_top>
  <input type="hidden" name="m_shop" value="{$settings.pe_store}">
  <input type="hidden" name="m_orderid" value="{$pid}">
  <input type="hidden" name="m_amount" value="{$amount}">
  <input type="hidden" name="m_curr" value="USD">
  <input type="hidden" name="m_desc" value="{$memo|base64_encode}">
  <input type="hidden" name="m_sign" value="{payeerhash amount=$amount currency=USD description=$memo orderid=$pid}">
  <button>{t processing="Payeer"}Pay with %processing{/t}<br><img src="{"`$theme`images/Payeer.gif"|encurl}"></button>
</form>
</td>
</tr>
{/if}

{if $settings.advcash_account && $settings.56_enable}
<tr>
<td>

<form method="get" action="https://wallet.advcash.com/sci/" target=_top>
<input type="hidden" name="ac_account_name" value="{$settings.advcash_account|escape:html}">
<input type="hidden" name="ac_sci_name" value="{$settings.advcash_sci|escape:html}">
<input type="hidden" name="ac_amount" value="{$amount}">
<input type="hidden" name="ac_order_id" value="{$pid}">
<input type="hidden" name="ac_sign" value="{advcashhash amount=$amount currency=USD pid=$pid}">
<input type="hidden" name="ac_currency" value="USD">
<input type="hidden" name="ac_comment" value="{$memo|escape:html}">
<input type="hidden" name="ac_status_url" value="{"index.php"|encurl}" />
<input type="hidden" name="ac_success_url" value="{"?a=advertise&process=yes"|encurl}" />
<input type="hidden" name="ac_fail_url" value="{"?a=advertise&process=no"|encurl}" />
<input type="hidden" name="ac_success_url_method" value=POST>
<input type="hidden" name="ac_status_url_method" value=POST>
<input type="hidden" name="ac_fail_url_method" value=POST>
<button>{t processing="AdvCash"}Pay with %processing{/t}<br><img src="{"`$theme`images/AdvCash.gif"|encurl}"></button>
</form>

</td>
</tr>
{/if}

{if $settings.btc_account && $settings.48_enable}
<tr>
<td>

<form action="https://www.coinpayments.net/index.php" method="post">
<input type="hidden" name="cmd" value="_pay_simple">
<input type="hidden" name="reset" value="1">
<input type="hidden" name="merchant" value="{$settings.btc_account}">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="amountf" value="{$amount}">
<input type="hidden" name="invoice" value="{$pid}">
<input type="hidden" name="first_name" value="">
<input type="hidden" name="last_name" value="">
<input type="hidden" name="email" value="">
<input type=hidden name=ipn_url value="{"index.php"|encurl}">
<input type=hidden name=success_url value="{"?a=advertise&process=yes"|encurl}">
<input type=hidden name=cancel_url value="{"?a=advertise&process=no"|encurl}">
<input type="hidden" name="item_name" value="{$memo|escape:html}">
<button>{t processing="Bitcoin"}Pay with %processing{/t}<br><img src="{"`$theme`images/Bitcoin.gif"|encurl}"></button>
</form>

</td>
</tr>
{/if}

{if $settings.btc_account && $settings.68_enable}
<tr>
<td>

<form action="https://www.coinpayments.net/index.php" method="post">
<input type="hidden" name="cmd" value="_pay_simple">
<input type="hidden" name="reset" value="1">
<input type="hidden" name="merchant" value="{$settings.ltc_account}">
<input type="hidden" name="currency" value="USD">
<input type="hidden" name="amountf" value="{$amount}">
<input type="hidden" name="invoice" value="{$pid}">
<input type="hidden" name="first_name" value="">
<input type="hidden" name="last_name" value="">
<input type="hidden" name="email" value="">
<input type=hidden name=ipn_url value="{"index.php"|encurl}">
<input type=hidden name=success_url value="{"?a=advertise&process=yes"|encurl}">
<input type=hidden name=cancel_url value="{"?a=advertise&process=no"|encurl}">
<input type="hidden" name="item_name" value="{$memo|escape:html}">
<button>{t processing="Litecoin"}Pay with %processing{/t}<br><img src="{"`$theme`images/Litecoin.gif"|encurl}"></button>
</form>

</td>
</tr>
{/if}


{if $settings.epay_account && $settings.64_enable}
<tr>
<td>

<form action="https://api.epay.com/paymentApi/merReceive" method="post" target="_top">
<input type=hidden name="PAYEE_ACCOUNT" value="{$settings.epay_account|escape:all}">
<input type=hidden name="PAYEE_NAME" value="{$settings.epay_name|escape:all}">
<input type=hidden name="PAYMENT_AMOUNT" value="{$amount}">
<input type=hidden name="PAYMENT_UNITS" value="USD">
<input type=hidden name="PAYMENT_ID" value="{$pid}">
<input type=hidden name="STATUS_URL" value="{"index.php"|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="">
<input type=hidden name="SUGGESTED_MEMO" value="{$memo|escape:html}">
<input type=hidden name="V2_HASH" value="{epayhash amount=$amount currency=USD}">
<button>{t processing="EPay"}Pay with %processing{/t}<br><img src="{"`$theme`images/EPay.gif"|encurl}"></button>
</form>

</td>
</tr>
{/if}

</table>