PageRenderTime 33ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/cache/smarty/compile/a6/47/b1/a647b190b30160270a05d4a6a733a871b9b4d344.file.payment_execution.tpl.php

https://gitlab.com/nghiep5890/prestashop
PHP | 139 lines | 122 code | 17 blank | 0 comment | 14 complexity | a4a9242c130f414f5c52792598686a2c MD5 | raw file
  1. <?php /* Smarty version Smarty-3.1.19, created on 2016-11-24 17:38:14
  2. compiled from "C:\xampp\htdocs\prestashop\themes\default-bootstrap\modules\bankwire\views\templates\front\payment_execution.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:2386758371776f18283-92689709%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. 'a647b190b30160270a05d4a6a733a871b9b4d344' =>
  8. array (
  9. 0 => 'C:\\xampp\\htdocs\\prestashop\\themes\\default-bootstrap\\modules\\bankwire\\views\\templates\\front\\payment_execution.tpl',
  10. 1 => 1452073828,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '2386758371776f18283-92689709',
  15. 'function' =>
  16. array (
  17. ),
  18. 'variables' =>
  19. array (
  20. 'link' => 0,
  21. 'navigationPipe' => 0,
  22. 'nbProducts' => 0,
  23. 'total' => 0,
  24. 'use_taxes' => 0,
  25. 'currencies' => 0,
  26. 'currency' => 0,
  27. 'cust_currency' => 0,
  28. ),
  29. 'has_nocache_code' => false,
  30. 'version' => 'Smarty-3.1.19',
  31. 'unifunc' => 'content_583717770993a5_36089731',
  32. ),false); /*/%%SmartyHeaderCode%%*/?>
  33. <?php if ($_valid && !is_callable('content_583717770993a5_36089731')) {function content_583717770993a5_36089731($_smarty_tpl) {?>
  34. <?php $_smarty_tpl->_capture_stack[0][] = array('path', null, null); ob_start(); ?>
  35. <a href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('order',true,null,"step=3"), ENT_QUOTES, 'UTF-8', true);?>
  36. " title="<?php echo smartyTranslate(array('s'=>'Go back to the Checkout','mod'=>'bankwire'),$_smarty_tpl);?>
  37. "><?php echo smartyTranslate(array('s'=>'Checkout','mod'=>'bankwire'),$_smarty_tpl);?>
  38. </a><span class="navigation-pipe"><?php echo $_smarty_tpl->tpl_vars['navigationPipe']->value;?>
  39. </span><?php echo smartyTranslate(array('s'=>'Bank-wire payment','mod'=>'bankwire'),$_smarty_tpl);?>
  40. <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
  41. if (!empty($_capture_buffer)) {
  42. if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
  43. if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
  44. Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
  45. } else $_smarty_tpl->capture_error();?>
  46. <h1 class="page-heading">
  47. <?php echo smartyTranslate(array('s'=>'Order summary','mod'=>'bankwire'),$_smarty_tpl);?>
  48. </h1>
  49. <?php $_smarty_tpl->tpl_vars['current_step'] = new Smarty_variable('payment', null, 0);?>
  50. <?php echo $_smarty_tpl->getSubTemplate (((string)$_smarty_tpl->tpl_vars['tpl_dir']->value)."./order-steps.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
  51. <?php if ($_smarty_tpl->tpl_vars['nbProducts']->value<=0) {?>
  52. <p class="alert alert-warning">
  53. <?php echo smartyTranslate(array('s'=>'Your shopping cart is empty.','mod'=>'bankwire'),$_smarty_tpl);?>
  54. </p>
  55. <?php } else { ?>
  56. <form action="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getModuleLink('bankwire','validation',array(),true), ENT_QUOTES, 'UTF-8', true);?>
  57. " method="post">
  58. <div class="box cheque-box">
  59. <h3 class="page-subheading">
  60. <?php echo smartyTranslate(array('s'=>'Bank-wire payment','mod'=>'bankwire'),$_smarty_tpl);?>
  61. </h3>
  62. <p class="cheque-indent">
  63. <strong class="dark">
  64. <?php echo smartyTranslate(array('s'=>'You have chosen to pay by bank wire.','mod'=>'bankwire'),$_smarty_tpl);?>
  65. <?php echo smartyTranslate(array('s'=>'Here is a short summary of your order:','mod'=>'bankwire'),$_smarty_tpl);?>
  66. </strong>
  67. </p>
  68. <p>
  69. - <?php echo smartyTranslate(array('s'=>'The total amount of your order is','mod'=>'bankwire'),$_smarty_tpl);?>
  70. <span id="amount" class="price"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['displayPrice'][0][0]->displayPriceSmarty(array('price'=>$_smarty_tpl->tpl_vars['total']->value),$_smarty_tpl);?>
  71. </span>
  72. <?php if ($_smarty_tpl->tpl_vars['use_taxes']->value==1) {?>
  73. <?php echo smartyTranslate(array('s'=>'(tax incl.)','mod'=>'bankwire'),$_smarty_tpl);?>
  74. <?php }?>
  75. </p>
  76. <p>
  77. -
  78. <?php if (count($_smarty_tpl->tpl_vars['currencies']->value)>1) {?>
  79. <?php echo smartyTranslate(array('s'=>'We allow several currencies to be sent via bank wire.','mod'=>'bankwire'),$_smarty_tpl);?>
  80. <div class="form-group">
  81. <label><?php echo smartyTranslate(array('s'=>'Choose one of the following:','mod'=>'bankwire'),$_smarty_tpl);?>
  82. </label>
  83. <select id="currency_payment" class="form-control" name="currency_payment">
  84. <?php $_smarty_tpl->tpl_vars['currency'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['currency']->_loop = false;
  85. $_from = $_smarty_tpl->tpl_vars['currencies']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
  86. foreach ($_from as $_smarty_tpl->tpl_vars['currency']->key => $_smarty_tpl->tpl_vars['currency']->value) {
  87. $_smarty_tpl->tpl_vars['currency']->_loop = true;
  88. ?>
  89. <option value="<?php echo $_smarty_tpl->tpl_vars['currency']->value['id_currency'];?>
  90. " <?php if ($_smarty_tpl->tpl_vars['currency']->value['id_currency']==$_smarty_tpl->tpl_vars['cust_currency']->value) {?>selected="selected"<?php }?>>
  91. <?php echo $_smarty_tpl->tpl_vars['currency']->value['name'];?>
  92. </option>
  93. <?php } ?>
  94. </select>
  95. </div>
  96. <?php } else { ?>
  97. <?php echo smartyTranslate(array('s'=>'We allow the following currency to be sent via bank wire:','mod'=>'bankwire'),$_smarty_tpl);?>
  98. &nbsp;<b><?php echo $_smarty_tpl->tpl_vars['currencies']->value[0]['name'];?>
  99. </b>
  100. <input type="hidden" name="currency_payment" value="<?php echo $_smarty_tpl->tpl_vars['currencies']->value[0]['id_currency'];?>
  101. " />
  102. <?php }?>
  103. </p>
  104. <p>
  105. - <?php echo smartyTranslate(array('s'=>'Bank wire account information will be displayed on the next page.','mod'=>'bankwire'),$_smarty_tpl);?>
  106. <br />
  107. - <?php echo smartyTranslate(array('s'=>'Please confirm your order by clicking "I confirm my order".','mod'=>'bankwire'),$_smarty_tpl);?>
  108. </p>
  109. </div><!-- .cheque-box -->
  110. <p class="cart_navigation clearfix" id="cart_navigation">
  111. <a class="button-exclusive btn btn-default" href="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['link']->value->getPageLink('order',true,null,"step=3"), ENT_QUOTES, 'UTF-8', true);?>
  112. ">
  113. <i class="icon-chevron-left"></i><?php echo smartyTranslate(array('s'=>'Other payment methods','mod'=>'bankwire'),$_smarty_tpl);?>
  114. </a>
  115. <button class="button btn btn-default button-medium" type="submit">
  116. <span><?php echo smartyTranslate(array('s'=>'I confirm my order','mod'=>'bankwire'),$_smarty_tpl);?>
  117. <i class="icon-chevron-right right"></i></span>
  118. </button>
  119. </p>
  120. </form>
  121. <?php }?>
  122. <?php }} ?>