event_pay.htm 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!--{template common/header}-->
  2. <style>
  3. .pay_m {
  4. width:360px;
  5. margin:15px 0px;
  6. float:right;
  7. font-size:14px;
  8. line-height:40px;
  9. }
  10. .pay_m i {
  11. font-family: "Microsoft YaHei";
  12. font-size:16px;
  13. font-weight:bold;
  14. letter-spacing:-1px;
  15. float:left;
  16. display:block;
  17. text-align:center;
  18. margin:0px;
  19. }
  20. </style>
  21. <div style="margin:10px 0px; background:#FFFFFF; padding:20px; border:1px #ececec solid;">
  22. <div style=" border:1px #d9d9d9 solid; color:#666666;">
  23. <!--{if $setting[cost]}-->
  24. <!-- 启用多种类型报名时 -->
  25. <!--{if $setting[nodaibaoming]}-->
  26. <!-- 代报不填资料时 -->
  27. <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-top:1px;">
  28. <tr style="background:url(source/plugin/xj_event/images/pay_title_bg.jpg); border-bottom:1px solid #ededed;">
  29. <td align="center" style="height:35px; font-size:14px; border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:baominglx}</td>
  30. <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:renshu}</td>
  31. <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:mrfy}</td>
  32. <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:zongfeiyong}</td>
  33. </tr>
  34. </table>
  35. <table width="100%">
  36. <!--{eval $totalprice = 0;}-->
  37. <!--{loop $setting[cost] $value}-->
  38. <tr>
  39. <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{$value[cost_name]}</td>
  40. <td style="padding:0px;text-align:center;" width="140">{$apply[ufielddata]['cost'.$value[id]]}</td>
  41. <td style="padding:0px;text-align:center;" width="140">{lang xj_event:renminbifh}{$value[cost_price]}</td>
  42. <td style="padding:0px;text-align:center;" width="140">{lang xj_event:renminbifh}{eval $totalprice = $totalprice+$apply[ufielddata]['cost'.$value[id]]*$value[cost_price];echo $apply[ufielddata]['cost'.$value[id]]*$value[cost_price];}</td>
  43. </tr>
  44. <!--{/loop}-->
  45. <tr>
  46. <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{lang xj_event:zongfeiyong}</td>
  47. <td style="padding:0px;text-align:center;" width="140"></td>
  48. <td style="padding:0px;text-align:center;" width="140"></td>
  49. <td style="padding:0px;text-align:center; color:#F00;" width="140">{lang xj_event:renminbifh}{$totalprice}</td>
  50. </tr>
  51. <!--{if in_array($_G[groupid],$vipgroup)}-->
  52. <!--{if $youhuiprice>0}-->
  53. <tr>
  54. <td colspan="4" style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"></div>
  55. <div class="pay_m" style="text-align:right; font-weight:bold;color:#ff4e00; padding-right:30px;">{lang xj_event:youhuihou}:{lang xj_event:renminbifh} {eval echo $totalprice-$youhuiprice;} </div></td>
  56. </tr>
  57. <!--{/if}-->
  58. <!--{/if}-->
  59. </table>
  60. <!--{else}-->
  61. <!-- 代报填资料时 -->
  62. <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-top:1px;">
  63. <tr style="background:url(source/plugin/xj_event/images/pay_title_bg.jpg); border-bottom:1px solid #ededed;">
  64. <td align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:baominglx}</td>
  65. <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:renshu}</td>
  66. <td width="140" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:zongfeiyong}</td>
  67. </tr>
  68. </table>
  69. <table width="100%">
  70. <!--{eval
  71. $apply = DB::fetch_all("SELECT * FROM ".DB::table('xj_eventapply')." WHERE tid = '$tid' and uid=".$_G['uid']);
  72. $totalprice = 0;
  73. }-->
  74. <!--{loop $apply $value}-->
  75. <!--{eval
  76. $value[ufielddata] = unserialize($value[ufielddata]);
  77. $totalprice = $totalprice + $setting[cost][$value[ufielddata][costclass]][cost_price];
  78. }-->
  79. <tr>
  80. <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{$setting[cost][$value[ufielddata][costclass]][cost_name]}</td>
  81. <td style="padding:0px;text-align:center;" width="140">1</td>
  82. <td style="padding:0px;text-align:center;" width="140">{lang xj_event:renminbifh}{$setting[cost][$value[ufielddata][costclass]][cost_price]}</td>
  83. </tr>
  84. <!--{/loop}-->
  85. <tr>
  86. <td style="padding:10px; font-size:14px; font-weight:bold; text-align:center;">{lang xj_event:zongfeiyong}</td>
  87. <td style="padding:0px;text-align:center;" width="140"></td>
  88. <td style="padding:0px;text-align:center; color:#F00;" width="140">{lang xj_event:renminbifh}{$totalprice}</td>
  89. </tr>
  90. <!--{if in_array($_G[groupid],$vipgroup)}-->
  91. <!--{if $youhuiprice>0}-->
  92. <tr>
  93. <td colspan="3" style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"></div>
  94. <div class="pay_m" style="text-align:right; font-weight:bold;color:#ff4e00; padding-right:30px;">{lang xj_event:youhuihou}:{lang xj_event:renminbifh} {eval echo $totalprice-$youhuiprice;} </div></td>
  95. </tr>
  96. <!--{/if}-->
  97. <!--{/if}-->
  98. </table>
  99. <!--{/if}-->
  100. <!--{else}-->
  101. <!-- 不启用多种类型报名时 -->
  102. <table width="100%" border="0" cellspacing="0" cellpadding="0" style=" margin-top:1px;">
  103. <tr style="background:url(source/plugin/xj_event/images/pay_title_bg.jpg); border-bottom:1px solid #ededed;">
  104. <td align="center" style="height:35px; font-size:14px; border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:huodongmc}</td>
  105. <td width="120" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:renshu}</td>
  106. <td width="120" align="center" style="height:34px; font-size:14px;border-right:1px #e4e4e4 solid;font-weight:bold;">{lang xj_event:mrfy}</td>
  107. <td width="120" align="center" style="height:34px; font-size:14px; font-weight:bold;">{lang xj_event:zongfeiyong}</td>
  108. </tr>
  109. </table>
  110. <table width="100%">
  111. <tr>
  112. <td style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"> $subject </div>
  113. <div class="pay_m"> <i style="width:110px;">$applynumber</i> <i style="width:16px;">{lang xj_event:chenghao}</i> <i style="width:108px;">{lang xj_event:renminbifh}$use_cost</i> <i style="width:16px;">=</i> <i style="width:110px; color:#ff4e00;">{lang xj_event:renminbifh}$totalprice</i> </div></td>
  114. </tr>
  115. <!--{if in_array($_G[groupid],$vipgroup)}-->
  116. <!--{if $setting[vip_discount] !== ''}-->
  117. <tr>
  118. <td style="padding:0px;"><div style="width:400px; float:left; color:{$_G[style][menubgcolor]}; margin:15px;"></div>
  119. <div class="pay_m" style="text-align:right; font-weight:bold;color:#ff4e00; padding-right:30px;">{lang xj_event:youhuihou}:{lang xj_event:renminbifh} {eval echo $totalprice-$youhuiprice;}</div></td>
  120. </tr>
  121. <!--{/if}-->
  122. <!--{/if}-->
  123. </table>
  124. <!--{/if}-->
  125. </div>
  126. <form action="plugin.php?id=xj_event:event_pay&applyid=$applyid" method="post" name="payform">
  127. <input type="hidden" name="formhash" value="{$_G[formhash]}" />
  128. <input type="hidden" name="paysubmit" value="true" />
  129. <div style="border:1px #d9d9d9 solid; color:#666666; margin-top:15px;">
  130. <div style="background:#f6f6f6; line-height:48px; font-size:16px; font-weight:bold; padding-left:15px;">{lang xj_event:qxzzffs}</div>
  131. <div style="padding:15px;">
  132. <!--{if $_G[setting][ec_tenpay_bargainor] || $_G[setting][ec_tenpay_opentrans_chnid]}-->
  133. <!--
  134. <div class="mbm pbn bbda cl">
  135. <div id="div#tenpayBankList"></div>
  136. <span id="#bank_type_value"></span>
  137. <link rel="stylesheet" type="text/css" href="http://union.tenpay.com/bankList/css_col3.css" />
  138. <script type="text/javascript">
  139. $('div#tenpayBankList').html = function(){$('div#tenpayBankList').innerHTML = htmlString.replace(/<span.+?\/span>/g, ''); };
  140. $("#bank_type_value").val = function(){};
  141. appendscript('http://union.tenpay.com/bankList/bank.js', '');
  142. </script>
  143. </div>
  144. -->
  145. <!--{/if}-->
  146. <!--{if $_G[setting][ec_account]}-->
  147. <div class="bbda" style="padding:10px 0px;">
  148. <input name="bank_type" type="radio" value="alipay" checked="checked" />
  149. <img src="source/plugin/xj_event/images/alipay.jpg" width="112" height="32" align="absmiddle" /> </div>
  150. <!--{/if}-->
  151. <!--{if $wxset[appid]}-->
  152. <div style="padding:8px 0px;">
  153. <input name="bank_type" type="radio" value="wxpay"/>
  154. <img src="source/plugin/xj_event/images/wxpay.jpg" width="140" align="absmiddle" />
  155. </div>
  156. <!--{/if}-->
  157. <!--{if $items[use_extcredits_num]>0 || $setting[cost] }-->
  158. <!--{if $items[use_extcredits]}-->
  159. <div style="padding:8px 0px;">
  160. <input name="bank_type" type="radio" value="jfpay"/>
  161. <img src="source/plugin/xj_event/images/pay_jifen.png" width="60" align="absmiddle" /> {lang xj_event:xhjf}
  162. </div>
  163. <!--{/if}-->
  164. <!--{/if}-->
  165. </div>
  166. </div>
  167. <div style="text-align:center; padding:15px;">
  168. <label>
  169. <input type="image" name="imageField" id="imageField" src="source/plugin/xj_event/images/btnpay.jpg" />
  170. </label>
  171. </div>
  172. </form>
  173. </div>
  174. <!--{template common/footer}-->