PageRenderTime 50ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

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