viewthread_event.htm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <!--{block return}-->
  2. <style>
  3. a.bm_btn {
  4. display:inline-block;
  5. width:200px;
  6. height:28px;
  7. text-align:center;
  8. background: #ee5816;
  9. padding-top:2px;
  10. color:#FFFFFF;
  11. border:#c03b00 solid 1px;
  12. font-size:15px;
  13. font-weight:bold;
  14. text-decoration:none;
  15. }
  16. a:hover.bm_btn {
  17. background-color:#c03b00;
  18. }
  19. a.bm_btn2 {
  20. display:inline-block;
  21. width:200px;
  22. height:28px;
  23. text-align:center;
  24. background: #d0d0d0;
  25. padding-top:2px;
  26. color:#666666;
  27. font-size:15px;
  28. font-weight:bold;
  29. text-decoration:none;
  30. }
  31. a.bm_btn3 {
  32. display:inline-block;
  33. width:200px;
  34. height:28px;
  35. text-align:center;
  36. background: #008f00;
  37. padding-top:2px;
  38. color:#ffffff;
  39. font-size:15px;
  40. font-weight:bold;
  41. text-decoration:none;
  42. }
  43. a.pay_btn{
  44. display:inline-block;
  45. width:200px;
  46. height:28px;
  47. text-align:center;
  48. background: #ee5816;
  49. padding-top:2px;
  50. color:#FFFFFF;
  51. border:#c03b00 solid 1px;
  52. font-size:15px;
  53. font-weight:bold;
  54. text-decoration:none;
  55. margin-top:10px;
  56. }
  57. a:hover.pay_btn {
  58. margin-top:10px;
  59. background-color:#c03b00;
  60. }
  61. </style>
  62. <img src="$imgurl" width="150" height="110"/>
  63. <dl>
  64. <dt>{lang xj_event:hdfs}: <strong>$postclass</strong></dt>
  65. <dt>{lang xj_event:hdlx}: $eventclass[1]</dt>
  66. <dt>{lang xj_event:hddq}: $citys</dt>
  67. <dt>{lang xj_event:kssj}: {$starttime}</dt>
  68. <dt>{lang xj_event:jssj}: {$endtime}</dt>
  69. <dt>{lang xj_event:hddd}: {$items[event_address]}</dt>
  70. <!--{if $items[use_extcredits_num]>0}-->
  71. <dt>{lang xj_event:cyjf}: {$items[use_extcredits_num]} $extcredit_title</dt>
  72. <!--{/if}-->
  73. <dt>{lang xj_event:cjme}:
  74. <!--{if $items[event_number]==0}-->
  75. {lang xj_event:buxian}
  76. <!--{else}-->
  77. {$items[event_number]} {lang xj_event:ren}
  78. <!--{/if}-->
  79. </dt>
  80. <dt>{lang xj_event:bmrs}: {$applycountnumber} {lang xj_event:ren} {lang xj_event:daish} <span class="robgz">{$applycountnumberd}</span> {lang xj_event:ren}</dt>
  81. <!--{if $setting[cost]}-->
  82. <dt>{lang xj_event:cjfy}: <!--{loop $setting[cost] $value}-->{$value[cost_name]}{$value[cost_price]}{lang xj_event:yuan} <!--{/loop}--></dt>
  83. <!--{else}-->
  84. <dt>{lang xj_event:cjfy}: {$items[use_cost]} {lang xj_event:yuan}</dt>
  85. <!--{/if}-->
  86. <dt>{lang xj_event:bmjz}: {$activityexpiration}</dt>
  87. <!--{loop $setting[moreitem] $value}-->
  88. <dt>$value[itemname]: $value[itemcontent]</dt>
  89. <!--{/loop}-->
  90. <!--{if $items[postclass]==1}-->
  91. <!--线下活动按钮-->
  92. <!--条件当前时间小于(活动结束+30天)的时间-->
  93. <!--{if $timestamp<($items[endtime]+2592000)}-->
  94. <!--过了报名时间,没有报名的-->
  95. <!--{if $items['activityexpiration']<=$timestamp and $verify==null}-->
  96. <a href="javascript:" class="bm_btn2" title="{lang xj_event:bmjz}">{lang xj_event:bmjz}</a>
  97. <!--{else}-->
  98. <!--{if !$_G[uid]}-->
  99. <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href);return false;" class="bm_btn2" title="{lang xj_event:qdlhbm}">{lang xj_event:wycjqdl}</a>
  100. <!--{else}-->
  101. <!--{if $items['activitybegin']<$timestamp and $items['activityexpiration']>$timestamp and $verify==null}-->
  102. <!--{if !$setting[invitation][open] || ($setting[invitation][open] && $setting[invitation][code] == $_GET[icode])}-->
  103. <!--{if $bmbtnshow}-->
  104. <a href="plugin.php?id=xj_event:event_join&tid={$tid}" class="bm_btn">{lang xj_event:wycj}</a>
  105. <!--{/if}-->
  106. <!--{if $setting[reply] && $replys<1}-->
  107. <a href="javascript:" class="bm_btn2">{lang xj_event:hfhkybm}</a>
  108. <!--{/if}-->
  109. <!--{/if}-->
  110. <!--{elseif $items['activitybegin']>$timestamp and $verify==null}-->
  111. <a href="javascript:" class="bm_btn2">{lang xj_event:bmhwks}</a>
  112. <!--{else}-->
  113. <!--{if $verify==0}-->
  114. <!--{if !$pay_state}-->
  115. <a href="plugin.php?id=xj_event:event_join&action=cannel&tid={$tid}&formhash={$_G[formhash]}" class="bm_btn">{lang xj_event:qxbm}</a>
  116. <!--{/if}-->
  117. <!--{if $setting[eventpay]}-->
  118. <!--{if $pay_state}-->
  119. <a href="javascript:" class="pay_btn" style="background-color:#06C; border:#06C;">{lang xj_event:fyyfdsh}</a>
  120. <!--{else}-->
  121. <a href="plugin.php?id=xj_event:event_pay&tid={$items[tid]}" class="pay_btn">{lang xj_event:zhifufy}</a>
  122. <!--{/if}-->
  123. <!--{/if}-->
  124. <!--{else}-->
  125. <!--{if $setting[eventzy_enable]}-->
  126. <a href="forum.php?mod=post&action=newthread&fid=<!--{if $setting[eventzy_fid]}-->{$setting[eventzy_fid]}<!--{else}-->{$_G[fid]}<!--{/if}-->&eid={$items[eid]}" class="bm_btn3" title="{lang xj_event:ldbmypshtg}">{lang xj_event:fbhdzy}{$setting[eventzy_name]}</a>
  127. <!--{/if}-->
  128. <!--{if $setting[canceljoin]==1 && $items['activityexpiration']>$timestamp}-->
  129. <a href="plugin.php?id=xj_event:event_join&action=cannel&tid={$tid}&formhash={$_G[formhash]}" class="bm_btn" style="margin-top:10px;">{lang xj_event:qxbm}</a>
  130. <a href="plugin.php?id=xj_event:event_joinmodify&applyid={$apply[applyid]}" class="bm_btn" style="margin-top:10px;">{lang xj_event:xgbmzl}</a>
  131. <!--{/if}-->
  132. <!--{if $setting[seccode]}-->
  133. <div>
  134. {lang xj_event:nycgbmhdbmyzm}:<span class="robgz">{$apply[seccode]}</span>
  135. </div>
  136. <!--{/if}-->
  137. <!--{/if}-->
  138. <!--{/if}-->
  139. <!--{/if}-->
  140. <!--{/if}-->
  141. <!--{/if}-->
  142. <!--线下活动按钮end-->
  143. <!--{else}-->
  144. <!--线上活动按钮-->
  145. <!--条件当前时间小于(活动结束)的时间-->
  146. <!--{if $timestamp<$items[endtime]}-->
  147. <!--过了报名时间,没有报名的-->
  148. <!--{if $items['activityexpiration']<=$timestamp and $verify==null}-->
  149. <a href="javascript:" class="bm_btn2" title="{lang xj_event:bmjz}">{lang xj_event:bmjz}</a>
  150. <!--{else}-->
  151. <!--{if !$_G[uid]}-->
  152. <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href);return false;" class="bm_btn2" title="{lang xj_event:qdlhbm}">{lang xj_event:wycjqdl}</a>
  153. <!--{else}-->
  154. <!--{if $items['activitybegin']<$timestamp and $items['activityexpiration']>$timestamp and $verify==null}-->
  155. <!--{if !$setting[invitation][open] || ($setting[invitation][open] && $setting[invitation][code] == $_GET[icode])}-->
  156. <!--{if $bmbtnshow}-->
  157. <a href="plugin.php?id=xj_event:event_join&tid={$tid}" class="bm_btn">{lang xj_event:wycj}</a>
  158. <!--{/if}-->
  159. <!--{if $setting[reply] && $replys<1}-->
  160. <a href="javascript:" class="bm_btn2">{lang xj_event:hfhkybm}</a>
  161. <!--{/if}-->
  162. <!--{/if}-->
  163. <!--{elseif $items['activitybegin']>$timestamp and $verify==null}-->
  164. <a href="javascript:" class="bm_btn2">{lang xj_event:bmhwks}</a>
  165. <!--{else}-->
  166. <!--{if $verify==0}-->
  167. <!--{if !$pay_state}-->
  168. <a href="plugin.php?id=xj_event:event_join&action=cannel&tid={$tid}&formhash={$_G[formhash]}" class="bm_btn">{lang xj_event:qxbm}</a>
  169. <!--{/if}-->
  170. <!--{if $setting[eventpay]}-->
  171. <!--{if $pay_state}-->
  172. <a href="javascript:" class="pay_btn" style="background-color:#06C; border:#06C;">{lang xj_event:fyyfdsh}</a>
  173. <!--{else}-->
  174. <a href="plugin.php?id=xj_event:event_pay&tid={$items[tid]}" class="pay_btn">{lang xj_event:zhifufy}</a>
  175. <!--{/if}-->
  176. <!--{/if}-->
  177. <!--{else}-->
  178. <a href="forum.php?mod=post&action=newthread&fid=<!--{if $setting[eventzy_fid]}-->{$setting[eventzy_fid]}<!--{else}-->{$_G[fid]}<!--{/if}-->&eid={$items[eid]}" class="bm_btn3" title="{lang xj_event:ldbmypshtg}">{lang xj_event:fbhdzy}{$setting[eventzy_name]}</a>
  179. <!--{if $setting[canceljoin]==1 && $items['activityexpiration']>$timestamp}-->
  180. <a href="plugin.php?id=xj_event:event_join&action=cannel&tid={$tid}&formhash={$_G[formhash]}" class="bm_btn" style="margin-top:10px;">{lang xj_event:qxbm}</a>
  181. <a href="plugin.php?id=xj_event:event_joinmodify&applyid={$apply[applyid]}" class="bm_btn" style="margin-top:10px;">{lang xj_event:xgbmzl}</a>
  182. <!--{/if}-->
  183. <!--{if $setting[seccode]}-->
  184. <div>
  185. {lang xj_event:nycgbmhdbmyzm}:<span class="robgz">{$apply[seccode]}</span>
  186. </div>
  187. <!--{/if}-->
  188. <!--{/if}-->
  189. <!--{/if}-->
  190. <!--{/if}-->
  191. <!--{/if}-->
  192. <!--{/if}-->
  193. <!--线上活动按钮end-->
  194. <!--{/if}-->
  195. </dl>
  196. <!--{if $items[verify] == 1}-->
  197. [{lang xj_event:gfrz}]
  198. <!--{/if}-->
  199. <!--{if $_G[uid] == $_G[thread][authorid] or $_G[groupid]==1 or $event_admin}-->
  200. <!--{if $setting[seccode]}-->
  201. <div style="clear:both; height:20px;"></div>
  202. <div style="line-height:26px;"><span class="robgz">{lang xj_event:yanzbm}:</span></div>
  203. <div style=" border-top:1px dashed #bbbbbb; padding:10px; margin-bottom:10px;">
  204. <form name="checkseccode" method="post" action="plugin.php?id=xj_event:event_join&action=checkseccode&eid={$items[eid]}&tid={$tid}" target="_blank">
  205. <input type="hidden" name="formhash" value="{$_G[formhash]}" />
  206. {lang xj_event:baomyzm}:<input name="seccode" type="text" class="px" /> <button type="submit" name="checksubmit" class="pn pnc vm"><strong>{lang xj_event:yanzheng}</strong></button>
  207. </form>
  208. </div>
  209. <!--{/if}-->
  210. <!--{/if}-->
  211. <!--{if $setting[invitation][open] && ($_G[uid] == $_G[thread][authorid] or $_G[groupid]==1 or $event_admin) }-->
  212. <div style="clear:both; margin-bottom:10px; height:10px;"></div>
  213. <div style="padding:20px; border:1px solid #e5e5e5; background-color:#fcfcfc;">
  214. {lang xj_event:yaoqbmlj}: <input type="text" value="{$_G[setting][siteurl]}/forum.php?mod=viewthread&tid=$tid&icode={$setting[invitation][code]}" id="fe_text" style="width:150px;" />
  215. </div>
  216. <!--{/if}-->
  217. <!--{/block}-->