success.tpl 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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 }}</h5></li>
  10. <li class="nav-header">{{ 'User'|get_lang }}:</li>
  11. <li><h5>{{ user }}</h5></li>
  12. <li class="nav-header">{{ 'Email'|get_lang }}:</li>
  13. <li><h5>{{ email }}</h5></li>
  14. <br/>
  15. </ul>
  16. </div>
  17. <br/><br/>
  18. <div class="well_border span8">
  19. {% if isSession == "YES" %}
  20. <div class="row">
  21. <div class="span4">
  22. <div class="categories-course-description">
  23. <h3>{{ session.name }}</h3>
  24. <h5>{{ 'From'|get_lang }} {{ session.access_start_date }} {{ 'To'|get_lang }} {{ session.access_end_date }}</h5>
  25. </div>
  26. </div>
  27. <div class="span right">
  28. <div class="sprice right">
  29. {{ session.price }} {{ currency }}
  30. </div>
  31. <div class="cleared"></div>
  32. </div>
  33. </div>
  34. {% for course in session.courses %}
  35. <div class="row">
  36. <div class="span">
  37. <div class="thumbnail">
  38. <a class="ajax" rel="gb_page_center[778]" title="" href="{{ server }}plugin/buycourses/src/ajax.php?code={{ course.code }}">
  39. <img alt="" src="{{ server }}{{ course.course_img }}">
  40. </a>
  41. </div>
  42. </div>
  43. <div class="span4">
  44. <div class="categories-course-description">
  45. <h3>{{ course.title }}</h3>
  46. <h5>{{ 'Teacher'|get_lang }}: {{ course.teacher }}</h5>
  47. </div>
  48. </div>
  49. <div class="span right">
  50. <div class="cleared"></div>
  51. <div class="btn-toolbar right">
  52. <a class="ajax btn btn-primary" title="" href="{{ server }}plugin/buycourses/src/ajax.php?code={{ course.code }}">
  53. {{ 'Description'|get_lang }}
  54. </a>
  55. </div>
  56. </div>
  57. </div>
  58. {% endfor %}
  59. {% else %}
  60. <div class="row">
  61. <div class="span">
  62. <div class="thumbnail">
  63. <a class="ajax" rel="gb_page_center[778]" title=""
  64. href="{{ server }}plugin/buycourses/src/ajax.php?code={{ course.code }}">
  65. <img alt="" src="{{ server }}{{ course.course_img }}">
  66. </a>
  67. </div>
  68. </div>
  69. <div class="span4">
  70. <div class="categories-course-description">
  71. <h3>{{ course.title }}</h3>
  72. <h5>{{ 'Teacher'|get_lang }}: {{ course.teacher }}</h5>
  73. </div>
  74. </div>
  75. <div class="span right">
  76. <div class="sprice right">{{ course.price }} {{ currency }}</div>
  77. <div class="cleared"></div>
  78. <div class="btn-toolbar right">
  79. <a class="ajax btn btn-primary" title=""
  80. href="{{ server }}plugin/buycourses/src/ajax.php?code={{ course.code }}">{{'Description'|get_lang }}</a>
  81. </div>
  82. </div>
  83. </div>
  84. {% endif %}
  85. </div>
  86. </div>
  87. <div class="cleared"></div>
  88. <hr/>
  89. <div align="center">
  90. <div class="confirmation-message">{{ 'PayPalPaymentOKPleaseConfirm'|get_plugin_lang('BuyCoursesPlugin') }}</div>
  91. <br />
  92. <form method="post" name="frmConfirm" action="../src/success.php">
  93. <input type="hidden" name="paymentOption" value="PayPal"/>
  94. <div class="btn_next">
  95. <input class="btn btn-success" type="submit" name="Confirm" value="{{ 'ConfirmOrder'|get_plugin_lang('BuyCoursesPlugin') }}"/>
  96. <input class="btn btn-danger" type="button" name="Cancel" value="{{ 'CancelOrder'|get_plugin_lang('BuyCoursesPlugin') }}" id="cancel_order"/>
  97. </div>
  98. </form>
  99. </div>
  100. <div class="cleared"></div>
  101. </div>