PageRenderTime 10ms CodeModel.GetById 354ms app.highlight 374ms RepoModel.GetById 129ms app.codeStats 1ms

/tools/smarty_v2/compile/%%76^76B^76B51646%%shopping-cart.tpl.php

http://marocmall.googlecode.com/
PHP | 633 lines | 593 code | 38 blank | 2 comment | 123 complexity | c272373513493ff211830aab380e26da MD5 | raw file
  1<?php /* Smarty version 2.6.20, created on 2011-12-03 00:32:01
  2         compiled from C:%5CD%5CMarocMall/themes/prestashop/shopping-cart.tpl */ ?>
  3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4smarty_core_load_plugins(array('plugins' => array(array('function', 'l', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 27, false),array('function', 'displayPrice', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 88, false),array('modifier', 'html_entity_decode', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 43, false),array('modifier', 'floatval', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 44, false),array('modifier', 'intval', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 45, false),array('modifier', 'escape', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 59, false),array('modifier', 'explode', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 361, false),array('modifier', 'secureReferrer', 'C:\\D\\MarocMall/themes/prestashop/shopping-cart.tpl', 385, false),)), $this); ?>
  5
  6<?php ob_start(); ?><?php echo smartyTranslate(array('s' => 'Your shopping cart'), $this);?>
  7<?php $this->_smarty_vars['capture']['path'] = ob_get_contents(); ob_end_clean(); ?>
  8<?php $_smarty_tpl_vars = $this->_tpl_vars;
  9$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./breadcrumb.tpl", 'smarty_include_vars' => array()));
 10$this->_tpl_vars = $_smarty_tpl_vars;
 11unset($_smarty_tpl_vars);
 12 ?>
 13
 14<h1 id="cart_title"><?php echo smartyTranslate(array('s' => 'Shopping cart summary'), $this);?>
 15</h1>
 16
 17<?php $this->assign('current_step', 'summary'); ?>
 18<?php $_smarty_tpl_vars = $this->_tpl_vars;
 19$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./order-steps.tpl", 'smarty_include_vars' => array()));
 20$this->_tpl_vars = $_smarty_tpl_vars;
 21unset($_smarty_tpl_vars);
 22 ?>
 23<?php $_smarty_tpl_vars = $this->_tpl_vars;
 24$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./errors.tpl", 'smarty_include_vars' => array()));
 25$this->_tpl_vars = $_smarty_tpl_vars;
 26unset($_smarty_tpl_vars);
 27 ?>
 28
 29<?php if (isset ( $this->_tpl_vars['empty'] )): ?>
 30	<p class="warning"><?php echo smartyTranslate(array('s' => 'Your shopping cart is empty.'), $this);?>
 31</p>
 32<?php elseif ($this->_tpl_vars['PS_CATALOG_MODE']): ?>
 33	<p class="warning"><?php echo smartyTranslate(array('s' => 'This store has not accepted your new order.'), $this);?>
 34</p>
 35<?php else: ?>
 36	<script type="text/javascript">
 37	// <![CDATA[
 38	var currencySign = '<?php echo ((is_array($_tmp=$this->_tpl_vars['currencySign'])) ? $this->_run_mod_handler('html_entity_decode', true, $_tmp, 2, "UTF-8") : html_entity_decode($_tmp, 2, "UTF-8")); ?>
 39';
 40	var currencyRate = '<?php echo ((is_array($_tmp=$this->_tpl_vars['currencyRate'])) ? $this->_run_mod_handler('floatval', true, $_tmp) : floatval($_tmp)); ?>
 41';
 42	var currencyFormat = '<?php echo ((is_array($_tmp=$this->_tpl_vars['currencyFormat'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
 43';
 44	var currencyBlank = '<?php echo ((is_array($_tmp=$this->_tpl_vars['currencyBlank'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
 45';
 46	var txtProduct = "<?php echo smartyTranslate(array('s' => 'product'), $this);?>
 47";
 48	var txtProducts = "<?php echo smartyTranslate(array('s' => 'products'), $this);?>
 49";
 50	// ]]>
 51	</script>
 52	<p style="display:none" id="emptyCartWarning" class="warning"><?php echo smartyTranslate(array('s' => 'Your shopping cart is empty.'), $this);?>
 53</p>
 54<?php if (isset ( $this->_tpl_vars['lastProductAdded'] ) && $this->_tpl_vars['lastProductAdded']): ?>
 55	<?php $_from = $this->_tpl_vars['products']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
 56    foreach ($_from as $this->_tpl_vars['product']):
 57?>
 58		<?php if ($this->_tpl_vars['product']['id_product'] == $this->_tpl_vars['lastProductAdded']['id_product'] && ( ! $this->_tpl_vars['product']['id_product_attribute'] || ( $this->_tpl_vars['product']['id_product_attribute'] == $this->_tpl_vars['lastProductAdded']['id_product_attribute'] ) )): ?>
 59			<div class="cart_last_product">
 60				<div class="cart_last_product_header">
 61					<div class="left"><?php echo smartyTranslate(array('s' => 'Last added product'), $this);?>
 62</div>
 63				</div>
 64				<a  class="cart_last_product_img" href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getProductLink($this->_tpl_vars['product']['id_product'],$this->_tpl_vars['product']['link_rewrite'],$this->_tpl_vars['product']['category']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
 65"><img src="<?php echo $this->_tpl_vars['link']->getImageLink($this->_tpl_vars['product']['link_rewrite'],$this->_tpl_vars['product']['id_image'],'small'); ?>
 66" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
 67"/></a>
 68				<div class="cart_last_product_content">
 69					<h5><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getProductLink($this->_tpl_vars['product']['id_product'],$this->_tpl_vars['product']['link_rewrite'],$this->_tpl_vars['product']['category']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
 70"><?php echo ((is_array($_tmp=$this->_tpl_vars['product']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
 71</a></h5>
 72					<?php if (isset ( $this->_tpl_vars['product']['attributes'] ) && $this->_tpl_vars['product']['attributes']): ?><a href="<?php echo ((is_array($_tmp=$this->_tpl_vars['link']->getProductLink($this->_tpl_vars['product']['id_product'],$this->_tpl_vars['product']['link_rewrite'],$this->_tpl_vars['product']['category']))) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
 73"><?php echo ((is_array($_tmp=$this->_tpl_vars['product']['attributes'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
 74</a><?php endif; ?>
 75				</div>
 76				<br class="clear" />
 77			</div>
 78		<?php endif; ?>
 79	<?php endforeach; endif; unset($_from); ?>
 80<?php endif; ?>
 81<p><?php echo smartyTranslate(array('s' => 'Your shopping cart contains'), $this);?>
 82 <span id="summary_products_quantity"><?php echo $this->_tpl_vars['productNumber']; ?>
 83 <?php if ($this->_tpl_vars['productNumber'] == 1): ?><?php echo smartyTranslate(array('s' => 'product'), $this);?>
 84<?php else: ?><?php echo smartyTranslate(array('s' => 'products'), $this);?>
 85<?php endif; ?></span></p>
 86<div id="order-detail-content" class="table_block">
 87	<table id="cart_summary" class="std">
 88		<thead>
 89			<tr>
 90				<th class="cart_product first_item"><?php echo smartyTranslate(array('s' => 'Product'), $this);?>
 91</th>
 92				<th class="cart_description item"><?php echo smartyTranslate(array('s' => 'Description'), $this);?>
 93</th>
 94				<th class="cart_ref item"><?php echo smartyTranslate(array('s' => 'Ref.'), $this);?>
 95</th>
 96				<th class="cart_availability item"><?php echo smartyTranslate(array('s' => 'Avail.'), $this);?>
 97</th>
 98				<th class="cart_unit item"><?php echo smartyTranslate(array('s' => 'Unit price'), $this);?>
 99</th>
100				<th class="cart_quantity item"><?php echo smartyTranslate(array('s' => 'Qty'), $this);?>
101</th>
102				<th class="cart_total last_item"><?php echo smartyTranslate(array('s' => 'Total'), $this);?>
103</th>
104			</tr>
105		</thead>
106		<tfoot>
107			<?php if ($this->_tpl_vars['use_taxes']): ?>
108				<?php if ($this->_tpl_vars['priceDisplay']): ?>
109					<tr class="cart_total_price">
110						<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total products'), $this);?>
111<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax excl.)'), $this);?>
112<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
113</td>
114						<td class="price" id="total_product"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_products']), $this);?>
115</td>
116					</tr>
117				<?php else: ?>
118					<tr class="cart_total_price">
119						<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total products'), $this);?>
120<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax incl.)'), $this);?>
121<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
122</td>
123						<td class="price" id="total_product"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_products_wt']), $this);?>
124</td>
125					</tr>
126				<?php endif; ?>
127			<?php else: ?>
128				<tr class="cart_total_price">
129					<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total products:'), $this);?>
130</td>
131					<td class="price" id="total_product"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_products']), $this);?>
132</td>
133				</tr>
134			<?php endif; ?>
135			<tr class="cart_total_voucher" <?php if ($this->_tpl_vars['total_discounts'] == 0): ?>style="display: none;"<?php endif; ?>>
136				<td colspan="6">
137				<?php if ($this->_tpl_vars['use_taxes']): ?>
138					<?php if ($this->_tpl_vars['priceDisplay']): ?>
139						<?php echo smartyTranslate(array('s' => 'Total vouchers'), $this);?>
140<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax excl.)'), $this);?>
141<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
142
143					<?php else: ?>
144						<?php echo smartyTranslate(array('s' => 'Total vouchers'), $this);?>
145<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax incl.)'), $this);?>
146<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
147
148					<?php endif; ?>
149				<?php else: ?>
150					<?php echo smartyTranslate(array('s' => 'Total vouchers:'), $this);?>
151
152				<?php endif; ?>
153				</td>
154				<td class="price-discount" id="total_discount">
155				<?php if ($this->_tpl_vars['use_taxes']): ?>
156					<?php if ($this->_tpl_vars['priceDisplay']): ?>
157						<?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_discounts_tax_exc']), $this);?>
158
159					<?php else: ?>
160						<?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_discounts']), $this);?>
161
162					<?php endif; ?>
163				<?php else: ?>
164					<?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_discounts_tax_exc']), $this);?>
165
166				<?php endif; ?>
167				</td>
168			</tr>
169			<tr class="cart_total_voucher" <?php if ($this->_tpl_vars['total_wrapping'] == 0): ?>style="display: none;"<?php endif; ?>>
170				<td colspan="6">
171				<?php if ($this->_tpl_vars['use_taxes']): ?>
172					<?php if ($this->_tpl_vars['priceDisplay']): ?>
173						<?php echo smartyTranslate(array('s' => 'Total gift-wrapping'), $this);?>
174<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax excl.)'), $this);?>
175<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
176
177					<?php else: ?>
178						<?php echo smartyTranslate(array('s' => 'Total gift-wrapping'), $this);?>
179<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax incl.)'), $this);?>
180<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
181
182					<?php endif; ?>
183				<?php else: ?>
184					<?php echo smartyTranslate(array('s' => 'Total gift-wrapping:'), $this);?>
185
186				<?php endif; ?>
187				</td>
188				<td class="price-discount" id="total_wrapping">
189				<?php if ($this->_tpl_vars['use_taxes']): ?>
190					<?php if ($this->_tpl_vars['priceDisplay']): ?>
191						<?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_wrapping_tax_exc']), $this);?>
192
193					<?php else: ?>
194						<?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_wrapping']), $this);?>
195
196					<?php endif; ?>
197				<?php else: ?>
198					<?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_wrapping_tax_exc']), $this);?>
199
200				<?php endif; ?>
201				</td>
202			</tr>
203			<?php if ($this->_tpl_vars['use_taxes']): ?>
204				<?php if ($this->_tpl_vars['priceDisplay']): ?>
205					<tr class="cart_total_delivery" <?php if ($this->_tpl_vars['shippingCost'] <= 0): ?> style="display:none;"<?php endif; ?>>
206						<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total shipping'), $this);?>
207<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax excl.)'), $this);?>
208<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
209</td>
210						<td class="price" id="total_shipping"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['shippingCostTaxExc']), $this);?>
211</td>
212					</tr>
213				<?php else: ?>
214					<tr class="cart_total_delivery"<?php if ($this->_tpl_vars['shippingCost'] <= 0): ?> style="display:none;"<?php endif; ?>>
215						<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total shipping'), $this);?>
216<?php if ($this->_tpl_vars['display_tax_label']): ?> <?php echo smartyTranslate(array('s' => '(tax incl.)'), $this);?>
217<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
218</td>
219						<td class="price" id="total_shipping" ><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['shippingCost']), $this);?>
220</td>
221					</tr>
222				<?php endif; ?>
223			<?php else: ?>
224				<tr class="cart_total_delivery"<?php if ($this->_tpl_vars['shippingCost'] <= 0): ?> style="display:none;"<?php endif; ?>>
225					<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total shipping:'), $this);?>
226</td>
227					<td class="price" id="total_shipping" ><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['shippingCostTaxExc']), $this);?>
228</td>
229				</tr>
230			<?php endif; ?>
231
232			<?php if ($this->_tpl_vars['use_taxes']): ?>
233			<tr class="cart_total_price">
234				<td colspan="6">
235					<?php if ($this->_tpl_vars['display_tax_label']): ?>
236						<?php echo smartyTranslate(array('s' => 'Total (tax excl.):'), $this);?>
237
238					<?php else: ?>
239						<?php echo smartyTranslate(array('s' => 'Subtotal:'), $this);?>
240
241					<?php endif; ?>
242				</td>
243				<td class="price" id="total_price_without_tax"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_price_without_tax']), $this);?>
244</td>
245			</tr>
246			<tr class="cart_total_tax">
247				<td colspan="6">
248					<?php if ($this->_tpl_vars['display_tax_label']): ?>
249						<?php echo smartyTranslate(array('s' => 'Total tax:'), $this);?>
250
251					<?php else: ?>
252						<?php echo smartyTranslate(array('s' => 'Estimated Sales Tax:'), $this);?>
253
254					<?php endif; ?>
255				</td>
256				<td class="price" id="total_tax"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_tax']), $this);?>
257</td>
258			</tr>
259			<tr class="cart_total_price">
260				<td colspan="6">
261					<?php if ($this->_tpl_vars['display_tax_label']): ?>
262						<?php echo smartyTranslate(array('s' => 'Total (tax incl.):'), $this);?>
263
264					<?php else: ?>
265						<?php echo smartyTranslate(array('s' => 'Total:'), $this);?>
266
267					<?php endif; ?>
268				</td>
269				<td class="price" id="total_price"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_price']), $this);?>
270</td>
271			</tr>
272			<?php else: ?>
273			<tr class="cart_total_price">
274				<td colspan="6"><?php echo smartyTranslate(array('s' => 'Total:'), $this);?>
275</td>
276				<td class="price" id="total_price"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['total_price_without_tax']), $this);?>
277</td>
278			</tr>
279			<?php endif; ?>
280			<tr class="cart_free_shipping" <?php if ($this->_tpl_vars['free_ship'] <= 0 || $this->_tpl_vars['isVirtualCart']): ?> style="display: none;" <?php endif; ?>>
281					<td colspan="6" style="white-space: normal;"><?php echo smartyTranslate(array('s' => 'Remaining amount to be added to your cart in order to obtain free shipping:'), $this);?>
282</td>
283					<td id="free_shipping" class="price"><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['free_ship']), $this);?>
284</td>
285				</tr>
286		</tfoot>
287		<tbody>
288		<?php $_from = $this->_tpl_vars['products']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['productLoop'] = array('total' => count($_from), 'iteration' => 0);
289if ($this->_foreach['productLoop']['total'] > 0):
290    foreach ($_from as $this->_tpl_vars['product']):
291        $this->_foreach['productLoop']['iteration']++;
292?>
293			<?php $this->assign('productId', $this->_tpl_vars['product']['id_product']); ?>
294			<?php $this->assign('productAttributeId', $this->_tpl_vars['product']['id_product_attribute']); ?>
295			<?php $this->assign('quantityDisplayed', 0); ?>
296						<?php $_smarty_tpl_vars = $this->_tpl_vars;
297$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./shopping-cart-product-line.tpl", 'smarty_include_vars' => array()));
298$this->_tpl_vars = $_smarty_tpl_vars;
299unset($_smarty_tpl_vars);
300 ?>
301						<?php if (isset ( $this->_tpl_vars['customizedDatas'][$this->_tpl_vars['productId']][$this->_tpl_vars['productAttributeId']] )): ?>
302				<?php $_from = $this->_tpl_vars['customizedDatas'][$this->_tpl_vars['productId']][$this->_tpl_vars['productAttributeId']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
303    foreach ($_from as $this->_tpl_vars['id_customization'] => $this->_tpl_vars['customization']):
304?>
305					<tr id="product_<?php echo $this->_tpl_vars['product']['id_product']; ?>
306_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
307_<?php echo $this->_tpl_vars['id_customization']; ?>
308" class="alternate_item cart_item">
309						<td colspan="5">
310							<?php $_from = $this->_tpl_vars['customization']['datas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
311    foreach ($_from as $this->_tpl_vars['type'] => $this->_tpl_vars['datas']):
312?>
313								<?php if ($this->_tpl_vars['type'] == $this->_tpl_vars['CUSTOMIZE_FILE']): ?>
314									<div class="customizationUploaded">
315										<ul class="customizationUploaded">
316											<?php $_from = $this->_tpl_vars['datas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
317    foreach ($_from as $this->_tpl_vars['picture']):
318?><li><img src="<?php echo $this->_tpl_vars['pic_dir']; ?>
319<?php echo $this->_tpl_vars['picture']['value']; ?>
320_small" alt="" class="customizationUploaded" /></li><?php endforeach; endif; unset($_from); ?>
321										</ul>
322									</div>
323								<?php elseif ($this->_tpl_vars['type'] == $this->_tpl_vars['CUSTOMIZE_TEXTFIELD']): ?>
324									<ul class="typedText">
325										<?php $_from = $this->_tpl_vars['datas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['typedText'] = array('total' => count($_from), 'iteration' => 0);
326if ($this->_foreach['typedText']['total'] > 0):
327    foreach ($_from as $this->_tpl_vars['textField']):
328        $this->_foreach['typedText']['iteration']++;
329?><li><?php if ($this->_tpl_vars['textField']['name']): ?><?php echo $this->_tpl_vars['textField']['name']; ?>
330<?php else: ?><?php echo smartyTranslate(array('s' => 'Text #'), $this);?>
331<?php echo ($this->_foreach['typedText']['iteration']-1)+1; ?>
332<?php endif; ?><?php echo smartyTranslate(array('s' => ':'), $this);?>
333 <?php echo $this->_tpl_vars['textField']['value']; ?>
334</li><?php endforeach; endif; unset($_from); ?>
335									</ul>
336								<?php endif; ?>
337							<?php endforeach; endif; unset($_from); ?>
338						</td>
339						<td class="cart_quantity">
340							<div style="float:right">
341								<a rel="nofollow" class="cart_quantity_delete" id="<?php echo $this->_tpl_vars['product']['id_product']; ?>
342_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
343_<?php echo $this->_tpl_vars['id_customization']; ?>
344" href="<?php echo $this->_tpl_vars['link']->getPageLink('cart.php',true); ?>
345?delete&amp;id_product=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
346&amp;ipa=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product_attribute'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
347&amp;id_customization=<?php echo $this->_tpl_vars['id_customization']; ?>
348&amp;token=<?php echo $this->_tpl_vars['token_cart']; ?>
349"><img src="<?php echo $this->_tpl_vars['img_dir']; ?>
350icon/delete.gif" alt="<?php echo smartyTranslate(array('s' => 'Delete'), $this);?>
351" title="<?php echo smartyTranslate(array('s' => 'Delete this customization'), $this);?>
352" width="11" height="13" class="icon" /></a>
353							</div>
354							<div id="cart_quantity_button" style="float:left">
355							<a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_<?php echo $this->_tpl_vars['product']['id_product']; ?>
356_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
357_<?php echo $this->_tpl_vars['id_customization']; ?>
358" href="<?php echo $this->_tpl_vars['link']->getPageLink('cart.php',true); ?>
359?add&amp;id_product=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
360&amp;ipa=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product_attribute'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
361&amp;id_customization=<?php echo $this->_tpl_vars['id_customization']; ?>
362&amp;token=<?php echo $this->_tpl_vars['token_cart']; ?>
363" title="<?php echo smartyTranslate(array('s' => 'Add'), $this);?>
364"><img src="<?php echo $this->_tpl_vars['img_dir']; ?>
365icon/quantity_up.gif" alt="<?php echo smartyTranslate(array('s' => 'Add'), $this);?>
366" width="14" height="9" /></a><br />
367							<?php if ($this->_tpl_vars['product']['minimal_quantity'] < ( $this->_tpl_vars['customization']['quantity'] - $this->_tpl_vars['quantityDisplayed'] ) || $this->_tpl_vars['product']['minimal_quantity'] <= 1): ?>
368							<a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_<?php echo $this->_tpl_vars['product']['id_product']; ?>
369_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
370_<?php echo $this->_tpl_vars['id_customization']; ?>
371" href="<?php echo $this->_tpl_vars['link']->getPageLink('cart.php',true); ?>
372?add&amp;id_product=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
373&amp;ipa=<?php echo ((is_array($_tmp=$this->_tpl_vars['product']['id_product_attribute'])) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)); ?>
374&amp;id_customization=<?php echo $this->_tpl_vars['id_customization']; ?>
375&amp;op=down&amp;token=<?php echo $this->_tpl_vars['token_cart']; ?>
376" title="<?php echo smartyTranslate(array('s' => 'Subtract'), $this);?>
377">
378								<img src="<?php echo $this->_tpl_vars['img_dir']; ?>
379icon/quantity_down.gif" alt="<?php echo smartyTranslate(array('s' => 'Subtract'), $this);?>
380" width="14" height="9" />
381							</a>
382							<?php else: ?>
383							<a class="cart_quantity_down" style="opacity: 0.3;" id="cart_quantity_down_<?php echo $this->_tpl_vars['product']['id_product']; ?>
384_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
385_<?php echo $this->_tpl_vars['id_customization']; ?>
386" href="#" title="<?php echo smartyTranslate(array('s' => 'Subtract'), $this);?>
387">
388								<img src="<?php echo $this->_tpl_vars['img_dir']; ?>
389icon/quantity_down.gif" alt="<?php echo smartyTranslate(array('s' => 'Subtract'), $this);?>
390" width="14" height="9" />
391							</a>
392							<?php endif; ?>
393							</div>
394							<input type="hidden" value="<?php echo $this->_tpl_vars['customization']['quantity']; ?>
395" name="quantity_<?php echo $this->_tpl_vars['product']['id_product']; ?>
396_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
397_<?php echo $this->_tpl_vars['id_customization']; ?>
398_hidden"/>
399							<input size="2" type="text" value="<?php echo $this->_tpl_vars['customization']['quantity']; ?>
400" class="cart_quantity_input" name="quantity_<?php echo $this->_tpl_vars['product']['id_product']; ?>
401_<?php echo $this->_tpl_vars['product']['id_product_attribute']; ?>
402_<?php echo $this->_tpl_vars['id_customization']; ?>
403"/>
404						</td>
405						<td class="cart_total"></td>
406					</tr>
407					<?php $this->assign('quantityDisplayed', $this->_tpl_vars['quantityDisplayed']+$this->_tpl_vars['customization']['quantity']); ?>
408				<?php endforeach; endif; unset($_from); ?>
409								<?php if ($this->_tpl_vars['product']['quantity']-$this->_tpl_vars['quantityDisplayed'] > 0): ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
410$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl_dir'])."./shopping-cart-product-line.tpl", 'smarty_include_vars' => array()));
411$this->_tpl_vars = $_smarty_tpl_vars;
412unset($_smarty_tpl_vars);
413 ?><?php endif; ?>
414			<?php endif; ?>
415		<?php endforeach; endif; unset($_from); ?>
416		</tbody>
417	<?php if (sizeof ( $this->_tpl_vars['discounts'] )): ?>
418		<tbody>
419		<?php $_from = $this->_tpl_vars['discounts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['discountLoop'] = array('total' => count($_from), 'iteration' => 0);
420if ($this->_foreach['discountLoop']['total'] > 0):
421    foreach ($_from as $this->_tpl_vars['discount']):
422        $this->_foreach['discountLoop']['iteration']++;
423?>
424			<tr class="cart_discount <?php if (($this->_foreach['discountLoop']['iteration'] == $this->_foreach['discountLoop']['total'])): ?>last_item<?php elseif (($this->_foreach['discountLoop']['iteration'] <= 1)): ?>first_item<?php else: ?>item<?php endif; ?>" id="cart_discount_<?php echo $this->_tpl_vars['discount']['id_discount']; ?>
425">
426				<td class="cart_discount_name" colspan="2"><?php echo $this->_tpl_vars['discount']['name']; ?>
427</td>
428				<td class="cart_discount_description" colspan="3"><?php echo $this->_tpl_vars['discount']['description']; ?>
429</td>
430				<td class="cart_discount_delete"><a href="<?php if ($this->_tpl_vars['opc']): ?><?php echo $this->_tpl_vars['link']->getPageLink('order-opc.php',true); ?>
431<?php else: ?><?php echo $this->_tpl_vars['link']->getPageLink('order.php',true); ?>
432<?php endif; ?>?deleteDiscount=<?php echo $this->_tpl_vars['discount']['id_discount']; ?>
433" title="<?php echo smartyTranslate(array('s' => 'Delete'), $this);?>
434"><img src="<?php echo $this->_tpl_vars['img_dir']; ?>
435icon/delete.gif" alt="<?php echo smartyTranslate(array('s' => 'Delete'), $this);?>
436" class="icon" width="11" height="13" /></a></td>
437				<td class="cart_discount_price"><span class="price-discount">
438					<?php if ($this->_tpl_vars['discount']['value_real'] > 0): ?>
439						<?php if (! $this->_tpl_vars['priceDisplay']): ?><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['discount']['value_real']*-1), $this);?>
440<?php else: ?><?php echo Tools::displayPriceSmarty(array('price' => $this->_tpl_vars['discount']['value_tax_exc']*-1), $this);?>
441<?php endif; ?>
442					<?php endif; ?>
443				</span></td>
444			</tr>
445		<?php endforeach; endif; unset($_from); ?>
446		</tbody>
447	<?php endif; ?>
448	</table>
449</div>
450
451<?php if ($this->_tpl_vars['voucherAllowed']): ?>
452<div id="cart_voucher" class="table_block">
453	<?php if (isset ( $this->_tpl_vars['errors_discount'] ) && $this->_tpl_vars['errors_discount']): ?>
454		<ul class="error">
455		<?php $_from = $this->_tpl_vars['errors_discount']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
456    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['error']):
457?>
458			<li><?php echo ((is_array($_tmp=$this->_tpl_vars['error'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
459</li>
460		<?php endforeach; endif; unset($_from); ?>
461		</ul>
462	<?php endif; ?>
463	<form action="<?php if ($this->_tpl_vars['opc']): ?><?php echo $this->_tpl_vars['link']->getPageLink('order-opc.php',true); ?>
464<?php else: ?><?php echo $this->_tpl_vars['link']->getPageLink('order.php',true); ?>
465<?php endif; ?>" method="post" id="voucher">
466		<fieldset>
467			<h4><?php echo smartyTranslate(array('s' => 'Vouchers'), $this);?>
468</h4>
469			<p>
470				<label for="discount_name"><?php echo smartyTranslate(array('s' => 'Code:'), $this);?>
471</label>
472				<input type="text" id="discount_name" name="discount_name" value="<?php if (isset ( $this->_tpl_vars['discount_name'] ) && $this->_tpl_vars['discount_name']): ?><?php echo $this->_tpl_vars['discount_name']; ?>
473<?php endif; ?>" />
474			</p>
475			<p class="submit"><input type="hidden" name="submitDiscount" /><input type="submit" name="submitAddDiscount" value="<?php echo smartyTranslate(array('s' => 'Add'), $this);?>
476" class="button" /></p>
477		<?php if ($this->_tpl_vars['displayVouchers']): ?>
478			<h4><?php echo smartyTranslate(array('s' => 'Take advantage of our offers:'), $this);?>
479</h4>
480			<div id="display_cart_vouchers">
481			<?php $_from = $this->_tpl_vars['displayVouchers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
482    foreach ($_from as $this->_tpl_vars['voucher']):
483?>
484				<span onclick="$('#discount_name').val('<?php echo $this->_tpl_vars['voucher']['name']; ?>
485');return false;" class="voucher_name"><?php echo $this->_tpl_vars['voucher']['name']; ?>
486</span> - <?php echo $this->_tpl_vars['voucher']['description']; ?>
487 <br />
488			<?php endforeach; endif; unset($_from); ?>
489			</div>
490		<?php endif; ?>
491		</fieldset>
492	</form>
493</div>
494<?php endif; ?>
495<div id="HOOK_SHOPPING_CART"><?php echo $this->_tpl_vars['HOOK_SHOPPING_CART']; ?>
496</div>
497
498<?php if (! isset ( $this->_tpl_vars['addresses_style'] )): ?>
499	<?php echo $this->_tpl_vars['addresses_style']['company']; ?>
500
501	<?php echo $this->_tpl_vars['addresses_style']['vat_number']; ?>
502
503	<?php echo $this->_tpl_vars['addresses_style']['firstname']; ?>
504
505	<?php echo $this->_tpl_vars['addresses_style']['lastname']; ?>
506
507	<?php echo $this->_tpl_vars['addresses_style']['address1']; ?>
508
509	<?php echo $this->_tpl_vars['addresses_style']['address2']; ?>
510
511	<?php echo $this->_tpl_vars['addresses_style']['city']; ?>
512
513	<?php echo $this->_tpl_vars['addresses_style']['country']; ?>
514
515	<?php echo $this->_tpl_vars['addresses_style']['phone']; ?>
516
517	<?php echo $this->_tpl_vars['addresses_style']['phone_mobile']; ?>
518
519	<?php echo $this->_tpl_vars['addresses_style']['alias']; ?>
520
521<?php endif; ?>
522
523<?php if (( ( $this->_tpl_vars['carrier']->id && ! isset ( $this->_tpl_vars['virtualCart'] ) ) || $this->_tpl_vars['delivery']->id || $this->_tpl_vars['invoice']->id ) && ! $this->_tpl_vars['opc']): ?>
524<div class="order_delivery">
525	<?php if (! isset ( $this->_tpl_vars['formattedAddresses'] )): ?>
526		<?php if ($this->_tpl_vars['delivery']->id): ?>
527		<ul id="delivery_address" class="address item">
528			<li class="address_title"><?php echo smartyTranslate(array('s' => 'Delivery address'), $this);?>
529</li>
530				<?php if ($this->_tpl_vars['delivery']->company): ?><li class="address_company"><?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->company)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
531</li><?php endif; ?>
532				<li class="address_name"><?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->firstname)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
533 <?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->lastname)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
534</li>
535				<li class="address_address1"><?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->address1)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
536</li>
537				<?php if ($this->_tpl_vars['delivery']->address2): ?><li class="address_address2"><?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->address2)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
538</li><?php endif; ?>
539				<li class="address_city"><?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->postcode)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
540 <?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->city)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
541</li>
542				<li class="address_country"><?php echo ((is_array($_tmp=$this->_tpl_vars['delivery']->country)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
543 <?php if ($this->_tpl_vars['delivery_state']): ?>(<?php echo ((is_array($_tmp=$this->_tpl_vars['delivery_state'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
544)<?php endif; ?></li>
545		</ul>
546		<?php endif; ?>
547		<?php if ($this->_tpl_vars['invoice']->id): ?>
548		<ul id="invoice_address" class="address alternate_item">
549			<li class="address_title"><?php echo smartyTranslate(array('s' => 'Invoice address'), $this);?>
550</li>
551				<?php if ($this->_tpl_vars['invoice']->company): ?><li class="address_company"><?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->company)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
552</li><?php endif; ?>
553				<li class="address_name"><?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->firstname)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
554 <?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->lastname)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
555</li>
556				<li class="address_address1"><?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->address1)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
557</li>
558				<?php if ($this->_tpl_vars['invoice']->address2): ?><li class="address_address2"><?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->address2)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
559</li><?php endif; ?>
560				<li class="address_city"><?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->postcode)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
561 <?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->city)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
562</li>
563				<li class="address_country"><?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']->country)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
564 <?php if ($this->_tpl_vars['invoice_state']): ?>(<?php echo ((is_array($_tmp=$this->_tpl_vars['invoice_state'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
565)<?php endif; ?></li>
566		</ul>
567		<?php endif; ?>
568	<?php else: ?>
569		<?php $_from = $this->_tpl_vars['formattedAddresses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['myLoop'] = array('total' => count($_from), 'iteration' => 0);
570if ($this->_foreach['myLoop']['total'] > 0):
571    foreach ($_from as $this->_tpl_vars['address']):
572        $this->_foreach['myLoop']['iteration']++;
573?>
574			<ul class="address <?php if (($this->_foreach['myLoop']['iteration'] == $this->_foreach['myLoop']['total'])): ?>last_item<?php elseif (($this->_foreach['myLoop']['iteration'] <= 1)): ?>first_item<?php endif; ?> <?php if (($this->_foreach['myLoop']['iteration']-1) % 2): ?>alternate_item<?php else: ?>item<?php endif; ?>">
575				<li class="address_title"><?php echo $this->_tpl_vars['address']['object']['alias']; ?>
576</li>
577				<?php $_from = $this->_tpl_vars['address']['ordered']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['adr_loop'] = array('total' => count($_from), 'iteration' => 0);
578if ($this->_foreach['adr_loop']['total'] > 0):
579    foreach ($_from as $this->_tpl_vars['pattern']):
580        $this->_foreach['adr_loop']['iteration']++;
581?>
582					<?php $this->assign('addressKey', ((is_array($_tmp=' ')) ? $this->_run_mod_handler('explode', true, $_tmp, $this->_tpl_vars['pattern']) : explode($_tmp, $this->_tpl_vars['pattern']))); ?>
583					<li>
584					<?php $_from = $this->_tpl_vars['addressKey']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['word_loop'] = array('total' => count($_from), 'iteration' => 0);
585if ($this->_foreach['word_loop']['total'] > 0):
586    foreach ($_from as $this->_tpl_vars['key']):
587        $this->_foreach['word_loop']['iteration']++;
588?>
589						<span class="<?php if (isset ( $this->_tpl_vars['addresses_style'][$this->_tpl_vars['key']] )): ?><?php echo $this->_tpl_vars['addresses_style'][$this->_tpl_vars['key']]; ?>
590<?php endif; ?>">
591							<?php echo ((is_array($_tmp=$this->_tpl_vars['address']['formated'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
592
593						</span>
594					<?php endforeach; endif; unset($_from); ?>
595					</li>
596				<?php endforeach; endif; unset($_from); ?>
597				</ul>
598		<?php endforeach; endif; unset($_from); ?>
599		<p class="clear" />
600	<?php endif; ?>
601	<?php if ($this->_tpl_vars['carrier']->id && ! isset ( $this->_tpl_vars['virtualCart'] )): ?>
602	<div id="order_carrier">
603		<h4><?php echo smartyTranslate(array('s' => 'Carrier:'), $this);?>
604</h4>
605		<?php if (isset ( $this->_tpl_vars['carrierPicture'] )): ?><img src="<?php echo $this->_tpl_vars['img_ship_dir']; ?>
606<?php echo $this->_tpl_vars['carrier']->id; ?>
607.jpg" alt="<?php echo smartyTranslate(array('s' => 'Carrier'), $this);?>
608" /><?php endif; ?>
609		<span><?php echo ((is_array($_tmp=$this->_tpl_vars['carrier']->name)) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')); ?>
610</span>
611	</div>
612	<?php endif; ?>
613</div>
614<?php endif; ?>
615<p class="cart_navigation">
616	<?php if (! $this->_tpl_vars['opc']): ?><a href="<?php echo $this->_tpl_vars['link']->getPageLink('order.php',true); ?>
617?step=1<?php if ($this->_tpl_vars['back']): ?>&amp;back=<?php echo $this->_tpl_vars['back']; ?>
618<?php endif; ?>" class="exclusive" title="<?php echo smartyTranslate(array('s' => 'Next'), $this);?>
619"><?php echo smartyTranslate(array('s' => 'Next'), $this);?>
620 &raquo;</a><?php endif; ?>
621	<a href="<?php if (( isset ( $_SERVER['HTTP_REFERER'] ) && strstr ( $_SERVER['HTTP_REFERER'] , $this->_tpl_vars['link']->getPageLink('order.php') ) ) || ! isset ( $_SERVER['HTTP_REFERER'] )): ?><?php echo $this->_tpl_vars['link']->getPageLink('index.php'); ?>
622<?php else: ?><?php echo ((is_array($_tmp=((is_array($_tmp=$_SERVER['HTTP_REFERER'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall', 'UTF-8') : smarty_modifier_escape($_tmp, 'htmlall', 'UTF-8')))) ? $this->_run_mod_handler('secureReferrer', true, $_tmp) : Tools::secureReferrer($_tmp)); ?>
623<?php endif; ?>" class="button_large" title="<?php echo smartyTranslate(array('s' => 'Continue shopping'), $this);?>
624">&laquo; <?php echo smartyTranslate(array('s' => 'Continue shopping'), $this);?>
625</a>
626</p>
627<p class="clear"><br /><br /></p>
628<div class="clear"></div>
629<p class="cart_navigation_extra">
630	<span id="HOOK_SHOPPING_CART_EXTRA"><?php echo $this->_tpl_vars['HOOK_SHOPPING_CART_EXTRA']; ?>
631</span>
632</p>
633<?php endif; ?>