3_xj_event_event_setting.tpl.php 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('event_setting');?><?php include template('common/header'); ?><div id="setting_display">
  2. <form name="setting_form" id="setting_form" method="post" autocomplete="off" action="plugin.php?id=xj_event:event_setting&amp;action=save&amp;tid=<?php echo $tid;?>" onsubmit="ajaxpost('setting', 'setting_display', 'setting_display', '');" enctype="multipart/form-data">
  3. <input type="hidden" name="formhash" value="<?php echo $_G['formhash'];?>" />
  4. <table width="600" border="0" cellspacing="0" cellpadding="0">
  5. <tr>
  6. <td><table width="600" border="0" cellspacing="0" cellpadding="0">
  7. <tr>
  8. <td><h3 class="flb">瘣餃𢆡霈曄蔭</h3></td>
  9. <td width="30" align="right"><a href="javascript:;"
  10. class="flbc" onclick="hideWindow('setting');" title="�喲𡡒"></a></td>
  11. </tr>
  12. </table></td>
  13. </tr>
  14. <tr>
  15. <td>
  16. <div style="border-bottom:1px #CCCCCC dashed; padding:10px;">
  17. 雿靝��閧巨:
  18. <input type="checkbox" name="openvote" id="openvote" class="pc" value="1" onclick="showvote();" <?php if($setting['vote']['openvote'] == 1) { ?>checked<?php } ?> />撘���
  19. <div style="line-height:30px; margin-top:10px; <?php if($setting['vote']['openvote'] != 1) { ?>display:none;<?php } ?>" id="votesetting">
  20. �閧巨�園𡢿:<input type="text" name="votestarttime" id="votestarttime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="<?php echo $votestarttime;?>" tabindex="1" />~ <input type="text" name="voteendtime" id="voteendtime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="<?php echo $voteendtime;?>" tabindex="2" /> <br />
  21. �𣂼��孵�:<input type="checkbox" name="ipcheck" id="ipcheck" class="pc" value="1" <?php if($setting['vote']['ipcheck'] == 1) { ?>checked<?php } ?>/>IP撉諹� <input type="checkbox" name="usercheck" id="usercheck" class="pc" value="1" <?php if($setting['vote']['usercheck'] == 1) { ?>checked<?php } ?>/>隡𡁜�撉諹� 瘥� <input type="text" name="votecheckhour" value="<?php echo $votecheckhour;?>" style="width:30px;" /> 撠𤩺𧒄嚗�虾隞交� <input type="text" name="votechecknumber" style="width:30px;" value="<?php echo $votechecknumber;?>" /> 蟡�
  22. </div>
  23. </div>
  24. <div style="border-bottom:1px #CCCCCC dashed; padding:10px;">
  25. �亙�霈曄蔭:<input name="noverify" type="checkbox" class="pc" id="noverify" value="1"<?php if($setting['noverify'] == 1) { ?>checked<?php } ?>/>
  26. �亙�銝滚恣��
  27. <input name="canceljoin" type="checkbox" class="pc" id="canceljoin" value="1" <?php if($setting['canceljoin'] == 1) { ?>checked<?php } ?>/> 摰⊥瓲�朞��冽��臭誑�𡝗��亙�
  28. <input name="onlyappbymejoin" type="checkbox" class="pc" id="onlyappbymejoin" value="1" <?php if($setting['onlyappbymejoin'] == 1) { ?>checked<?php } ?>/> 隞��APP摰X�蝡舀𥁒��
  29. <input name="onlyvip" type="checkbox" class="pc" id="onlyvip" value="1" <?php if($setting['onlyvip'] == 1) { ?>checked<?php } ?>/> 隞�IP�冽�蝏�𥁒�� <br />
  30. <input name="onlysubscribeweixin" type="checkbox" class="pc" id="onlysubscribeweixin" value="1" <?php if($setting['onlysubscribeweixin'] == 1) { ?>checked<?php } ?>/> 隞��瘜典凝靽∠鍂��
  31. </div>
  32. <div style="padding:10px;">
  33. ��霂瑟𥁒��:
  34. <input type="checkbox" name="invitationcodeopen" id="invitationcodeopen" class="pc" value="1" <?php if($setting['invitation']['open'] == 1) { ?>checked<?php } ?> />撘���
  35. ��霂瑞�:<input type="text" name="invitationcode" style="width:100px;" value="<?php echo $setting['invitation']['code'];?>" />
  36. </div>
  37. <div style="padding:10px;">
  38. 瘣餃𢆡敺桐縑蝢支�蝏渡�:<input type="file" value="" name="group_qrcode" id="group_qrcode" tabindex="1" class="pf" style="height:26px;" /><input type="hidden" name="group_qrcode" value="<?php echo $setting['group_qrcode'];?>" />
  39. �曄內�冽��箇垢�亙��𣂼��𥰁<a href="<?php echo $setting['group_qrcode'];?>" target="_blank">�亦�</a>]
  40. </div>
  41. <?php if($signed_enable) { ?>
  42. <div style="padding:10px; border-top:1px #CCCCCC dashed;">
  43. 瘣餃𢆡蝑曉�:
  44. <input type="checkbox" name="signed_open" id="signed_open" class="pc" value="1" <?php if($setting['signed']['open'] == 1) { ?>checked<?php } ?> />撘���
  45. <a href="plugin.php?id=xj_event:qrcode_signed&amp;tid=<?php echo $tid;?>" target="_blank" style="padding:5px 15px; background-color:#093; color:#FFF;-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px; ">蝑曉�鈭𣬚輕��</a> �典凝靽⊥醌�譍�蝏渡�蝑曉�
  46. </div>
  47. <?php } ?>
  48. <div style="padding:10px; border-top:1px #CCCCCC dashed;">
  49. 憭扯蓮�䀹𡂝憟�:
  50. <input type="checkbox" name="zhuanpan_open" id="zhuanpan_open" class="pc" value="1" <?php if($setting['zhuanpan']['open'] == 1) { ?>checked<?php } ?> />撘���
  51. <a href="plugin.php?id=xj_event:event_zhuanpan&amp;mod=setting&amp;tid=<?php echo $tid;?>" target="_blank" style="padding:5px 15px; background-color:#093; color:#FFF;-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px; ">霈曄蔭憟㚚★</a> 憸��撉諹���:<input type="text" name="zhuanpan_vcode" style="width:100px;" value="<?php echo $setting['zhuanpan']['vcode'];?>" />
  52. <input type="checkbox" name="zhuanpan_sign" id="zhuanpan_sign" class="pc" value="1" <?php if($setting['zhuanpan']['sign'] == 1) { ?>checked<?php } ?> />蝑曉��擧��臭誑�賢�
  53. <input type="checkbox" name="zhuanpan_zuoye" id="zhuanpan_zuoye" class="pc" value="1" <?php if($setting['zhuanpan']['zuoye'] == 1) { ?>checked<?php } ?> />�𤏸”雿靝��𤾸虾�賢�
  54. </div>
  55. <?php if($invitation_enable && $_G['groupid'] == 1) { ?>
  56. <div style="padding:10px; border-top:1px #CCCCCC dashed;">
  57. ��澈瘣餃𢆡��霂瑟𥁒�滚��悵�<input type="text" name="yqjl_jfs" id="yqjl_jfs" class="pc" value="<?php echo $setting['yqjl_jfs'];?>">
  58. <select name="yqjl_jflx" id="yqjl_jflx" class="ps">
  59. <option value=""> 霂琿�㗇𥋘 </option>
  60. <?php if(is_array($extcredits)) foreach($extcredits as $key => $value) { ?> <option value="<?php echo $key;?>" <?php if($key == $setting['yqjl_jflx']) { ?>selected<?php } ?>><?php echo $value['title'];?></option>
  61. <?php } ?>
  62. </select>
  63. <br />
  64. ��霂瑟絲�亥��臬㦛:<input type="file" value="" name="posterbg" id="posterbg" tabindex="1" class="pf" style="height:26px;" /> <?php if($setting['posterbg']) { ?>[<a href="plugin.php?id=xj_event:module&amp;cp=invitation&amp;mod=posters_pic&amp;tid=<?php echo $tid;?>" target="_blank">�亦�</a>]<?php } ?>
  65. </div>
  66. <?php } ?>
  67. </td>
  68. </tr>
  69. </table>
  70. <?php if($multipage) { ?>
  71. <div style="clear:both; height:30px; padding-top:5px;"><?php echo $multipage;?></div>
  72. <?php } ?>
  73. <div class="o pns">
  74. <em class="xi1" id="return_activityapplies" style="float:left;"><?php echo $onerror;?></em>
  75. <button type="submit" class="pn pnc"><span>靽嘥�霈曄蔭</span></button>
  76. </div>
  77. </form>
  78. <div>
  79. <script language="javascript">
  80. function showvote(){
  81. if(document.getElementById("openvote").checked){
  82. document.getElementById("votesetting").style.display="block";
  83. }else{
  84. document.getElementById("votesetting").style.display="none";
  85. }
  86. }
  87. </script>
  88. <script src="static/js/calendar.js?2jP" type="text/javascript" type="text/javascript"></script><?php include template('common/footer'); ?>