40 lines
1.4 KiB
Smarty
40 lines
1.4 KiB
Smarty
|
{capture name=path}<a href="{$link->getPageLink('my-account.php', TRUE)}">{l s='My Account' mod='paymentinfo'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Manage payment info' mod='paymentinfo'}{/capture}
|
||
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
||
|
|
||
|
<h1>{l s='Manage payment info' mod='paymentinfo'}</h1>
|
||
|
|
||
|
{if isset($delete) && $delete}
|
||
|
<div id="block-history" class="block-center">
|
||
|
<p class="success">{l s='Delete success' mod='paymentinfo'}</p>
|
||
|
</div>
|
||
|
<br>
|
||
|
{/if}
|
||
|
|
||
|
<h3>{l s='My paypal account' mod='paymentinfo'}</h3>
|
||
|
|
||
|
{if $paypal_accounts}
|
||
|
<table class="std">
|
||
|
<thead>
|
||
|
<th class="item">{l s='Name' mod='paymentinfo'}</th>
|
||
|
<th class="item">{l s='Email' mod='paymentinfo'}</th>
|
||
|
<th class="item">{l s='City' mod='paymentinfo'}</th>
|
||
|
<th class="item">{l s='Date add' mod='paymentinfo'}</th>
|
||
|
<th class="item">{l s='Action' mod='paymentinfo'}</th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{foreach from=$paypal_accounts item=paypal}
|
||
|
<tr>
|
||
|
<td>{$paypal.name}</td>
|
||
|
<td>{$paypal.email}</td>
|
||
|
<td>{$paypal.city}</td>
|
||
|
<td>{$paypal.date_add|date_format:'d/m/Y'}</td>
|
||
|
<td><a onclick="return confirm('{l s='Are you sure?' mod='paymentinfo'}');" href="?delete_agreement={$paypal.id_paypal_agreement}">{l s='Delete' mod='paymentinfo'}</a></td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{else}
|
||
|
<div id="block-history" class="block-center">
|
||
|
<p class="warning">{l s='No account register' mod='paymentinfo'}</p>
|
||
|
</div>
|
||
|
{/if}
|