{section name=payment_options loop=$payment_options}
<form method="post" action="payment_settings.php" name="add_banner_form" enctype="multipart/form-data" id="irForm">
{if $msg==""}{else}
<div id="msg_small">{$msg}</div><br />
{/if}
<div id="demo" class="yui-navset">
<ul class="yui-nav" style="font-size:11px;">
<li class="selected"><a href="#tab1"><em>PayPal</em></a></li>
<li><a href="#tab2"><em>Bank Deposit</em></a></li>
<li><a href="#tab3"><em>Money Order</em></a></li>
<li><a href="#tab4"><em>Bank Cheque</em></a></li>
</ul>
<div class="yui-content" style="background-color:#F3F3F3">
<div><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"> </td>
<tr>
<td width="150">Paypal email address</td>
<td width="828" ><input id="paypal_id" name="paypal_id" type="text" class="irInput" value="{$payment_options[payment_options].paypal_id}" />
<input id="pm_id" name="pm_id" type="hidden" value="{$payment_options[payment_options].pm_id}" /></td>
</tr>
<tr>
<td width="150">Paypal API Username</td>
<td width="828" ><input id="paypal_api_username" name="paypal_api_username" type="text" class="irInput" value="{$payment_options[payment_options].paypal_api_username}" />
</td>
</tr>
<tr>
<td width="150">Paypal API Password</td>
<td width="828" ><input id="paypal_api_password" name="paypal_api_password" type="text" class="irInput" value="{$payment_options[payment_options].paypal_api_password}" />
</td>
</tr>
<tr>
<td width="150">Paypal API Signature</td>
<td width="828" ><input id="paypal_api_signature" name="paypal_api_signature" type="text" class="irInput" value="{$payment_options[payment_options].paypal_api_signature}" />
</td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
<tr>
<td height="30" colspan="2"><!-- <input name="activate_paypal" type="checkbox" id="activate_paypal" value="yes" {if $payment_options[payment_options].activate_paypal=="yes"} checked="checked"{/if} />
Yes activate <strong>Paypal</strong> as a payment method --></td>
</tr>
</table>
</div>
<div><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"> </td>
<tr>
<td height="30" colspan="2">Description</td>
<tr>
<td colspan="2" ><textarea name="bank_deposit" cols="80" rows="5" class="irInput" id="bank_deposit">{$payment_options[payment_options].bank_deposit}</textarea></td>
</tr>
<tr>
<td height="30" colspan="2">Please enter your bank account information and instructions</td>
<tr>
<td colspan="2" ><textarea name="bank_deposit_instructions" cols="80" rows="5" class="irInput" id="bank_deposit">{$payment_options[payment_options].bank_deposit_instructions}</textarea></td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
<tr>
<td colspan="2"><input name="activate_bank_deposit" type="checkbox" id="activate_bank_deposit" value="yes" {if $payment_options[payment_options].activate_bank_deposit=="yes"} checked="checked"{/if} />
Yes activate <strong>Bank Deposit</strong> as a payment method</td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
</table>
</div>
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td height="30" colspan="2">Description</td>
</tr>
<tr>
<td colspan="2" ><textarea name="money_order" cols="80" rows="5" class="irInput" id="money_order">{$payment_options[payment_options].money_order}</textarea></td>
</tr>
<tr>
<td height="30" colspan="2">Please enter instruction to send money via money order</td>
</tr>
<tr>
<td colspan="2" ><textarea name="money_order_instructions" cols="80" rows="5" class="irInput" id="money_order">{$payment_options[payment_options].money_order_instructions}</textarea></td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
<tr>
<td colspan="2"><input name="activate_money_order" type="checkbox" id="activate_money_order" value="yes" {if $payment_options[payment_options].activate_money_order=="yes"} checked="checked"{/if} />
Yes activate <strong>Money Order</strong> as payment method</td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
</table>
</div>
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td height="30" colspan="2">Please enter instruction to send money using bank Cheque</td>
</tr>
<tr>
<td colspan="2" ><textarea name="bank_check" cols="80" rows="5" class="irInput" id="bank_chech">{$payment_options[payment_options].bank_check}</textarea></td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
<tr>
<td colspan="2"><input name="activate_bank_check" type="checkbox" id="activate_bank_check" value="yes" {if $payment_options[payment_options].activate_bank_check=="yes"} checked="checked"{/if} />
Yes activate <strong>Bank Cheque</strong> as payment method</td>
</tr>
<tr>
<td> </td>
<td > </td>
</tr>
</table>
</div>
</div>
</div>
<br />
{literal}
<script>
(function() {
var tabView = new YAHOO.widget.TabView('demo');
YAHOO.log("The Form has finished loading; as you interact with it, you'll see log messages appearing here.", "info", "form");
})();
</script>
{/literal}
<input name="btn_submit" id="btn_submit" type="submit" value="Save" class="irBtnSave" />
</form>
{/section}