<?php /* Smarty version 2.6.18, created on 2008-08-12 20:46:22
         compiled from /home.10.22/arboreth/www/arborethic_boutique/modules/bankwire/payment_execution.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'l', '/home.10.22/arboreth/www/arborethic_boutique/modules/bankwire/payment_execution.tpl', 1, false),array('function', 'convertPriceWithCurrency', '/home.10.22/arboreth/www/arborethic_boutique/modules/bankwire/payment_execution.tpl', 22, false),array('modifier', 'count', '/home.10.22/arboreth/www/arborethic_boutique/modules/bankwire/payment_execution.tpl', 20, false),)), $this); ?>
<?php ob_start(); ?><?php echo smartyTranslate(array('s' => 'Shipping'), $this);?>
<?php $this->_smarty_vars['capture']['path'] = ob_get_contents(); ob_end_clean(); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<h2><?php echo smartyTranslate(array('s' => 'Order summary','mod' => 'bankwire'), $this);?>
</h2>

<?php $this->assign('current_step', 'payment'); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./order-steps.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<h3><?php echo smartyTranslate(array('s' => 'Bank wire payment','mod' => 'bankwire'), $this);?>
</h3>

<form action="<?php echo $this->_tpl_vars['this_path_ssl']; ?>
validation.php" method="post">
<p>
	<img src="<?php echo $this->_tpl_vars['this_path']; ?>
bankwire.jpg" alt="<?php echo smartyTranslate(array('s' => 'bank wire','mod' => 'bankwire'), $this);?>
" style="float:left; margin: 0px 10px 5px 0px;" />
	<?php echo smartyTranslate(array('s' => 'You have chosen to pay by bank wire.','mod' => 'bankwire'), $this);?>

	<br/><br />
	<?php echo smartyTranslate(array('s' => 'Here is a short summary of your order:','mod' => 'bankwire'), $this);?>

</p>
<p style="margin-top:20px;">
	- <?php echo smartyTranslate(array('s' => 'The total amount of your order is','mod' => 'bankwire'), $this);?>

	<?php if (count($this->_tpl_vars['currencies']) > 1): ?>
		<?php $_from = $this->_tpl_vars['currencies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['currency']):
?>
			<span id="amount_<?php echo $this->_tpl_vars['currency']['id_currency']; ?>
" class="price" style="display:none;"><?php echo Product::convertPriceWithCurrency(array('price' => $this->_tpl_vars['total'],'currency' => $this->_tpl_vars['currency']), $this);?>
</span>
		<?php endforeach; endif; unset($_from); ?>
	<?php else: ?>
		<span id="amount_<?php echo $this->_tpl_vars['currencies']['0']['id_currency']; ?>
" class="price"><?php echo Product::convertPriceWithCurrency(array('price' => $this->_tpl_vars['total'],'currency' => $this->_tpl_vars['currencies']['0']), $this);?>
</span>
	<?php endif; ?>
</p>
<p>
	-
	<?php if (count($this->_tpl_vars['currencies']) > 1): ?>
		<?php echo smartyTranslate(array('s' => 'We accept several currencies to be sent by bank wire.','mod' => 'bankwire'), $this);?>

		<br /><br />
		<?php echo smartyTranslate(array('s' => 'Choose one of the following:','mod' => 'bankwire'), $this);?>

		<select id="currency_payement" name="currency_payement" onChange="showElemFromSelect('currency_payement', 'amount_')">
		<?php $_from = $this->_tpl_vars['currencies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['currency']):
?>
			<option value="<?php echo $this->_tpl_vars['currency']['id_currency']; ?>
" <?php if ($this->_tpl_vars['currency']['id_currency'] == $this->_tpl_vars['currency_default']->id): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['currency']['name']; ?>
</option>
		<?php endforeach; endif; unset($_from); ?>
		</select>
		<script language="javascript">showElemFromSelect('currency_payement', 'amount_');</script>
	<?php else: ?>
		<?php echo smartyTranslate(array('s' => 'We accept the following currency to be sent by bank wire:','mod' => 'bankwire'), $this);?>
&nbsp;<b><?php echo $this->_tpl_vars['currencies']['0']['name']; ?>
</b>
		<input type="hidden" name="currency_payement" value="<?php echo $this->_tpl_vars['currencies']['0']['id_currency']; ?>
">
	<?php endif; ?>
</p>
<p>
	<?php echo smartyTranslate(array('s' => 'Bank wire account information will be displayed on the next page.','mod' => 'bankwire'), $this);?>

	<br /><br />
	<b><?php echo smartyTranslate(array('s' => 'Please confirm your order by clicking \'I confirm my order\'','mod' => 'bankwire'), $this);?>
.</b>
</p>
<p class="cart_navigation">
	<a href="<?php echo $this->_tpl_vars['base_dir_ssl']; ?>
order.php?step=3" class="button_large"><?php echo smartyTranslate(array('s' => 'Other payment methods','mod' => 'bankwire'), $this);?>
</a>
	<input type="submit" name="submit" value="<?php echo smartyTranslate(array('s' => 'I confirm my order','mod' => 'bankwire'), $this);?>
" class="exclusive_large" />
</p>
</form>