event_setting.htm 7.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!--{template common/header}-->
  2. <div id="setting_display">
  3. <form name="setting_form" id="setting_form" method="post" autocomplete="off" action="plugin.php?id=xj_event:event_setting&action=save&tid={$tid}" onsubmit="ajaxpost('setting', 'setting_display', 'setting_display', '');" enctype="multipart/form-data">
  4. <input type="hidden" name="formhash" value="{$_G[formhash]}" />
  5. <table width="600" border="0" cellspacing="0" cellpadding="0">
  6. <tr>
  7. <td><table width="600" border="0" cellspacing="0" cellpadding="0">
  8. <tr>
  9. <td><h3 class="flb">{lang xj_event:hdsz}</h3></td>
  10. <td width="30" align="right"><a href="javascript:;"
  11. class="flbc" onclick="hideWindow('setting');" title="{lang
  12. close}"></a></td>
  13. </tr>
  14. </table></td>
  15. </tr>
  16. <tr>
  17. <td>
  18. <div style="border-bottom:1px #CCCCCC dashed; padding:10px;">
  19. {lang xj_event:zytp}:
  20. <input type="checkbox" name="openvote" id="openvote" class="pc" value="1" onclick="showvote();" <!--{if $setting[vote][openvote] == 1}-->checked<!--{/if}--> />{lang xj_event:kaiqi}
  21. <div style="line-height:30px; margin-top:10px; <!--{if $setting[vote][openvote] != 1}-->display:none;<!--{/if}-->" id="votesetting">
  22. {lang xj_event:tpsj}:<input type="text" name="votestarttime" id="votestarttime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="{$votestarttime}" tabindex="1" />~ <input type="text" name="voteendtime" id="voteendtime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="{$voteendtime}" tabindex="2" /> <br />
  23. {lang xj_event:xzfs}:<input type="checkbox" name="ipcheck" id="ipcheck" class="pc" value="1" <!--{if $setting[vote][ipcheck] == 1}-->checked<!--{/if}-->/>IP{lang xj_event:yanzhen} <input type="checkbox" name="usercheck" id="usercheck" class="pc" value="1" <!--{if $setting[vote][usercheck] == 1}-->checked<!--{/if}-->/>{lang xj_event:hyyz} {lang xj_event:mei} <input type="text" name="votecheckhour" value="{$votecheckhour}" style="width:30px;" /> {lang xj_event:xskyt} <input type="text" name="votechecknumber" style="width:30px;" value="{$votechecknumber}" /> {lang xj_event:piao}
  24. </div>
  25. </div>
  26. <div style="border-bottom:1px #CCCCCC dashed; padding:10px;">
  27. {lang xj_event:bmsz}:<input name="noverify" type="checkbox" class="pc" id="noverify" value="1"<!--{if $setting[noverify] == 1}-->checked<!--{/if}-->/>
  28. {lang xj_event:bmbsh}
  29. <input name="canceljoin" type="checkbox" class="pc" id="canceljoin" value="1" <!--{if $setting[canceljoin] == 1}-->checked<!--{/if}-->/> {lang xj_event:chtgyhkyqxbm}
  30. <input name="onlyappbymejoin" type="checkbox" class="pc" id="onlyappbymejoin" value="1" <!--{if $setting[onlyappbymejoin] == 1}-->checked<!--{/if}-->/> {lang xj_event:jxamkhdbm}
  31. <input name="onlyvip" type="checkbox" class="pc" id="onlyvip" value="1" <!--{if $setting[onlyvip] == 1}-->checked<!--{/if}-->/> {lang xj_event:jinvipyonghuzubaomin} <br />
  32. <input name="onlysubscribeweixin" type="checkbox" class="pc" id="onlysubscribeweixin" value="1" <!--{if $setting[onlysubscribeweixin] == 1}-->checked<!--{/if}-->/> {lang xj_event:jinguanzhuweixinyonghu}
  33. </div>
  34. <div style="padding:10px;">
  35. {lang xj_event:yaoqingbm}:
  36. <input type="checkbox" name="invitationcodeopen" id="invitationcodeopen" class="pc" value="1" <!--{if $setting[invitation][open] == 1}-->checked<!--{/if}--> />{lang xj_event:kaiqi}
  37. {lang xj_event:yaoqingma}:<input type="text" name="invitationcode" style="width:100px;" value="{$setting[invitation][code]}" />
  38. </div>
  39. <div style="padding:10px;">
  40. {lang xj_event:hdwxqewm}:<input type="file" value="" name="group_qrcode" id="group_qrcode" tabindex="1" class="pf" style="height:26px;" /><input type="hidden" name="group_qrcode" value="{$setting[group_qrcode]}" />
  41. {lang xj_event:xszsjdbmcgh}[<a href="{$setting[group_qrcode]}" target="_blank">{lang xj_event:chakan}</a>]
  42. </div>
  43. <!--{if $signed_enable}-->
  44. <div style="padding:10px; border-top:1px #CCCCCC dashed;">
  45. {lang xj_event:huodongqd}:
  46. <input type="checkbox" name="signed_open" id="signed_open" class="pc" value="1" <!--{if $setting[signed][open] == 1}-->checked<!--{/if}--> />{lang xj_event:kaiqi}
  47. <a href="plugin.php?id=xj_event:qrcode_signed&tid={$tid}" target="_blank" style="padding:5px 15px; background-color:#093; color:#FFF;-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px; ">{lang xj_event:qiandaoewm}</a> {lang xj_event:ywxsmewmqd}
  48. </div>
  49. <!--{/if}-->
  50. <div style="padding:10px; border-top:1px #CCCCCC dashed;">
  51. {lang xj_event:dazhuangpcj}:
  52. <input type="checkbox" name="zhuanpan_open" id="zhuanpan_open" class="pc" value="1" <!--{if $setting[zhuanpan][open] == 1}-->checked<!--{/if}--> />{lang xj_event:kaiqi}
  53. <a href="plugin.php?id=xj_event:event_zhuanpan&mod=setting&tid={$tid}" target="_blank" style="padding:5px 15px; background-color:#093; color:#FFF;-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px; ">{lang xj_event:shezhijiangxiang}</a> {lang xj_event:lingjiangyanzhengma}:<input type="text" name="zhuanpan_vcode" style="width:100px;" value="{$setting[zhuanpan][vcode]}" />
  54. <input type="checkbox" name="zhuanpan_sign" id="zhuanpan_sign" class="pc" value="1" <!--{if $setting[zhuanpan][sign] == 1}-->checked<!--{/if}--> />{lang xj_event:qiandaohckycj}
  55. <input type="checkbox" name="zhuanpan_zuoye" id="zhuanpan_zuoye" class="pc" value="1" <!--{if $setting[zhuanpan][zuoye] == 1}-->checked<!--{/if}--> />{lang xj_event:fabiaozyhkcj}
  56. </div>
  57. <!--{if $invitation_enable && $_G[groupid] == 1}-->
  58. <div style="padding:10px; border-top:1px #CCCCCC dashed;">
  59. {lang xj_event:fenxianghuodongyaoqinbaominjiangli}£º<input type="text" name="yqjl_jfs" id="yqjl_jfs" class="pc" value="{$setting[yqjl_jfs]}">
  60. <select name="yqjl_jflx" id="yqjl_jflx" class="ps">
  61. <option value=""> {lang xj_event:qingxz} </option>
  62. <!--{loop $extcredits $key $value}-->
  63. <option value="$key" <!--{if $key == $setting[yqjl_jflx]}-->selected<!--{/if}-->>$value['title']</option>
  64. <!--{/loop}-->
  65. </select>
  66. <br />
  67. {lang xj_event:yaoqinhaibaobjt}:<input type="file" value="" name="posterbg" id="posterbg" tabindex="1" class="pf" style="height:26px;" /> <!--{if $setting[posterbg]}-->[<a href="plugin.php?id=xj_event:module&cp=invitation&mod=posters_pic&tid={$tid}" target="_blank">{lang xj_event:chakan}</a>]<!--{/if}-->
  68. </div>
  69. <!--{/if}-->
  70. </td>
  71. </tr>
  72. </table>
  73. <!--{if $multipage}-->
  74. <div style="clear:both; height:30px; padding-top:5px;">$multipage</div>
  75. <!--{/if}-->
  76. <div class="o pns">
  77. <em class="xi1" id="return_activityapplies" style="float:left;">$onerror</em>
  78. <button type="submit" class="pn pnc"><span>{lang xj_event:bcsz}</span></button>
  79. </div>
  80. </form>
  81. <div>
  82. <script language="javascript">
  83. function showvote(){
  84. if(document.getElementById("openvote").checked){
  85. document.getElementById("votesetting").style.display="block";
  86. }else{
  87. document.getElementById("votesetting").style.display="none";
  88. }
  89. }
  90. </script>
  91. <script src="static/js/calendar.js?2jP" type="text/javascript"></script>
  92. <!--{template common/footer}-->