2009-08-03 04:10:16 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
var confirmCheckoutMsg='{t}Thank you! We will now finalize your purchase and forward you to the secure payment area.{/t}';
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="themes/default/blocks/checkout/ajax.js"></script>
|
2008-11-26 22:50:40 +00:00
|
|
|
|
|
|
|
<!-- CHECKOUT CONFIRM -->
|
|
|
|
<div id="checkout_confirm_div">
|
2009-08-03 04:10:16 +00:00
|
|
|
{if $VAR.option != ''}
|
|
|
|
{$method->exe('checkout','checkoutoption')}
|
|
|
|
|
|
|
|
{if $plugin_template != false}
|
|
|
|
{$block->display($plugin_template)}
|
|
|
|
{/if}
|
|
|
|
{/if}
|
2008-11-26 22:50:40 +00:00
|
|
|
</div>
|
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<p id="checkout_options_show" {osb f=style_hide}>
|
|
|
|
<a href="#" onclick="document.getElementById('checkout_confirm_div').style.display='none';document.getElementById('checkout_options_show').style.display='none';document.getElementById('checkout_options').style.display='block';">{t}View More Payment Options{/t}</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<!-- CHECKOUT OPTIONS -->
|
2008-11-26 22:50:40 +00:00
|
|
|
<div id="checkout_options">
|
2009-08-03 04:10:16 +00:00
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td class="table_heading">{t}Select Your Preferred Payment Option{/t}</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td class="row1">
|
|
|
|
<table width="100%" border="0" cellspacing="4" cellpadding="3">
|
|
|
|
{if $checkoutoptions}
|
|
|
|
{foreach from=$checkoutoptions item=checkout key=key}
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 20%;"><a href="javascript:void(0);" onclick="changeCheckoutOption({$checkout.fields.id},'{if $VAR._page=='invoice:checkout_multiple'}multi{else}invoice{/if}','{$record.id}',0)">{if $checkout.fields.graphic_url==''}{$checkout.fields.name}{else}<img src="{$checkout.fields.graphic_url}" alt="{$checkout.fields.name}" border="0">{/if}</a></td>
|
|
|
|
<td style="width: 80%;">{$checkout.fields.description} </td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
{else}
|
|
|
|
<tr valign="top">
|
|
|
|
<td>{t}Sorry, no online payment option is available for this order. Please contact us for order information and payment options.{/t}</td>
|
|
|
|
</tr>
|
|
|
|
{/if}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br/>
|
2008-11-26 22:50:40 +00:00
|
|
|
</div>
|
2009-08-03 04:10:16 +00:00
|
|
|
|
2008-11-26 22:50:40 +00:00
|
|
|
<!-- SINGLE CHECKOUT OPTIONS -->
|
2009-08-03 04:10:16 +00:00
|
|
|
{if $VAR.option== '' && $checkout_c == 1}
|
|
|
|
<script type="text/javascript">changeCheckoutOption(last_checkout_id,{$invoice.id});</script>
|
|
|
|
{elseif $VAR.option > 0}
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
{literal}
|
|
|
|
try {document.getElementById('checkout_options_show').style.display='block';} catch(e) {}
|
|
|
|
try {document.getElementById('checkout_options').style.display='none';} catch(e) {}
|
|
|
|
{/literal}
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
{/if}
|