jfpay.htm 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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">{$value[cost_credits]} $extcredits</td>
  42. <td style="padding:0px;text-align:center;" width="140">{eval $totalprice = $totalprice+$apply[ufielddata]['cost'.$value[id]]*$value[cost_credits];echo $apply[ufielddata]['cost'.$value[id]]*$value[cost_credits];} $extcredits</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">{$totalprice} $extcredits</td>
  50. </tr>
  51. <!--{if in_array($_G[groupid],$vipgroup)}-->
  52. <!--{if $setting[vip_discount]}-->
  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}:{eval echo intval($totalprice*$setting[vip_discount]);} $extcredits</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_credits];
  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">{$setting[cost][$value[ufielddata][costclass]][cost_credits]} $extcredits</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">{$totalprice} $extcredits</td>
  89. </tr>
  90. <!--{if in_array($_G[groupid],$vipgroup)}-->
  91. <!--{if $setting[vip_discount]}-->
  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}: {eval echo intval($totalprice*$setting[vip_discount]);} $extcredits</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;">$use_credits $extcredits</i> <i style="width:16px;">=</i> <i style="width:110px; color:#ff4e00;">$totalcredits $extcredits</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}:{eval echo intval($totalcredits*$setting[vip_discount]);} $extcredits </div></td>
  120. </tr>
  121. <!--{/if}-->
  122. <!--{/if}-->
  123. </table>
  124. <!--{/if}-->
  125. </div>
  126. <div style="text-align:center; margin-top:40px;">
  127. <a href="{$_G[siteurl]}plugin.php?id=xj_event:jfpay&applyid={$applyid}&action=payfull" style=" padding:10px 40px; background-color:#F30; color:#FFF;">{lang xj_event:lijizf}</a>
  128. </div>
  129. <div style="clear:both;"></div>
  130. </div>
  131. <!--{template common/footer}-->