process_confirm.tpl 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <script type='text/javascript' src="../js/buycourses.js"></script>
  2. <link rel="stylesheet" type="text/css" href="../resources/plugin.css"/>
  3. <div class="row">
  4. <div class="span12">
  5. <div id="course_category_well" class="well span3">
  6. <ul class="nav nav-list">
  7. <li class="nav-header"><h4>{{ 'UserInformation'|get_plugin_lang('BuyCoursesPlugin') }}:</h4></li>
  8. <li class="nav-header">{{ 'Name'|get_lang }}:</li>
  9. <li><h5>{{ name | e }}</h5></li>
  10. <li class="nav-header">{{ 'User'|get_lang }}:</li>
  11. <li><h5>{{ user | e }}</h5></li>
  12. <li class="nav-header">{{ 'Email'|get_lang }}:</li>
  13. <li><h5>{{ email | e}}</h5></li>
  14. <br/>
  15. </ul>
  16. </div>
  17. <br/><br/>
  18. <div class="well_border span8">
  19. <div class="row">
  20. <div class="span">
  21. <div class="thumbnail">
  22. <a class="ajax" rel="gb_page_center[778]" title=""
  23. href="{{ server }}plugin/buycourses/src/ajax.php?code={{ course.code }}">
  24. <img src="{{ server }}{{ course.course_img }}">
  25. </a>
  26. </div>
  27. </div>
  28. <div class="span4">
  29. <div class="categories-course-description">
  30. <h3>{{ course.title }}</h3>
  31. <h5>{{ 'Teacher'|get_lang }}: {{ course.teacher }}</h5>
  32. </div>
  33. </div>
  34. <div class="span right">
  35. <div class="sprice right">{{ course.price }} {{ currency }}</div>
  36. <div class="cleared"></div>
  37. <div class="btn-toolbar right">
  38. <a class="ajax btn btn-primary" title=""
  39. href="{{ server }}plugin/buycourses/src/ajax.php?code={{ course.code }}">{{'Description'|get_lang }}
  40. </a>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="cleared"></div>
  47. <hr/>
  48. <div align="center">
  49. <table class="data_table" style="width:70%">
  50. <tr>
  51. <th class="ta-center">{{ 'BankAccountInformation'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  52. </tr>
  53. {% set i = 0 %}
  54. {% for account in accounts %}
  55. {{ i%2==0 ? '<tr class="row_even">' : '<tr class="row_odd">' }}
  56. {% set i = i + 1 %}
  57. <td class="ta-center">
  58. <font color="#0000FF">{{ account.name | e }}</font><br/>
  59. {% if account.swift != '' %}
  60. SWIFT: <strong>{{ account.swift | e }}</strong><br/>
  61. {% endif %}
  62. {{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}: <strong>{{ account.account | e }}</strong><br/>
  63. </td></tr>
  64. {% endfor %}
  65. </table>
  66. <br />
  67. <div class="normal-message">{{ 'OnceItIsConfirmed,YouWillReceiveAnEmailWithTheBankInformationAndAnOrderReference'|get_plugin_lang('BuyCoursesPlugin') | e}}
  68. </div>
  69. <br/>
  70. <form method="post" name="frmConfirm" action="../src/process_confirm.php">
  71. <input type="hidden" name="payment_type" value="Transfer"/>
  72. <input type="hidden" name="name" value="{{ name | e }}"/>
  73. <input type="hidden" name="price" value="{{ course.price }}"/>
  74. <input type="hidden" name="title" value="{{ course.title | e }}"/>
  75. <div class="btn_next">
  76. <input class="btn btn-success" type="submit" name="Confirm" value="{{ 'ConfirmOrder'|get_plugin_lang('BuyCoursesPlugin') }}"/>
  77. <input class="btn btn-danger" type="button" name="Cancel" value="{{ 'CancelOrder'|get_plugin_lang('BuyCoursesPlugin') }}" id="CancelOrder"/>
  78. </div>
  79. </form>
  80. </div>
  81. <div class="cleared"></div>
  82. </div>