44 lines
1.4 KiB
Smarty
44 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 class="title"><span>{l s='Manage payment info' mod='paymentinfo'}</span></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}
|
|
|
|
<h4 class='subtitle'>{l s='My paypal account' mod='paymentinfo'}</h4>
|
|
|
|
{if $paypal_accounts}
|
|
<table class="std table_skin">
|
|
<tbody>
|
|
{foreach from=$paypal_accounts item=paypal}
|
|
<tr>
|
|
<td>
|
|
<b>{$paypal.name}</b>
|
|
<br />
|
|
<i>{$paypal.email}</i>
|
|
<br />
|
|
{$paypal.city}
|
|
</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}
|
|
|
|
<br />
|
|
|
|
<p class="footer_links">
|
|
<a class="back_account" href="{$link->getPageLink('my-account.php', true)}" class="button">
|
|
<i class="icon-user"></i><span>{l s='Back to my account' mod='paymentinfo'}</span>
|
|
</a>
|
|
</p> |