event_zymanage.htm 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!--{template common/header}-->
  2. <style>
  3. /* tl --> Thread list modify by lushnis */
  4. .tl { padding:10px; margin:10px 0px 10px 0px; border:1px solid {COMMONBORDER}}
  5. .tl .bm_c { padding-top: 0; }
  6. .tl table { width: 100%; table-layout: fixed; border-collapse: separate; }
  7. .tl th, .tl td { padding: 5px 0; border-bottom: 1px solid {CONTENTSEPARATE}; }
  8. .emptb th, .emptb td { padding: 0; border-bottom: none; }
  9. .tl tr:hover th, .tl tr:hover td { background-color: {COMMONBG}; }
  10. .tl th { padding-right: 1.5em; zoom: 1; }
  11. .tl th a:visited { color: {MIDTEXT}; }
  12. .fromg { visibility: hidden; }
  13. .ie6 .fromg, tr:hover .fromg { visibility: visible; }
  14. .tl .icn { padding-left: 5px; width: 25px; text-align: left; }
  15. .tl .icn a:hover { text-decoration: none; }
  16. .tl .new {}
  17. .tl .comm {}
  18. .tl .frm { width: 150px; }
  19. .tl .o { width: 20px; }
  20. .tl .num { width: 60px; line-height: 14px; }
  21. .tl .by { width: 105px; line-height: 14px; }
  22. .tl cite, .tl .num em { display: block; }
  23. .tl th em { margin-right: 4px; zoom: 1; }
  24. .tl th em, .tl th em a { color: #007CD5; }
  25. .tl td em { font-size: 11px; font-family: Arial, PMingliu, sans-serif; -webkit-text-size-adjust: none; }
  26. .tl td em, .tl td em a { color: {LIGHTTEXT}; }
  27. /*.tl .th th, .tl .th td { padding: 8px 0; background: {SPECIALBG}; border-top: 1px solid {SPECIALBORDER}; }*/
  28. .tl .ts th, .tl .ts td { padding: 3px 0; border-bottom-color: {COMMONBORDER}; background: {COMMONBG}; }
  29. .tl .th { margin-top: 1px; padding: 0 10px; border-bottom: 1px solid {COMMONBORDER}; background: {COMMONBG}; }
  30. .tl .th table { border: none; }
  31. .tl .th td, .tl .th th { height: 20px; border: none; vertical-align: baseline; }
  32. .tl .tf { padding: 3px 0; }
  33. .tf .showmenu:hover { border-color: {SPECIALBORDER}; }
  34. .tl_reply { padding-left: 10px; background: url({IMGDIR}/dot.gif) no-repeat 0 7px; }
  35. </style>
  36. <div id="wp" class="wp">
  37. <div class="tl">
  38. <div style=" height:40px; border-bottom:1px dashed {COMMONBORDER}; padding-left:10px;">
  39. <form action="plugin.php?id=xj_event:event_zymanage&eid={$eid}" method="post" name="searchtitle">
  40. {lang xj_event:chazhao}:<input name="subjectkey" type="text" value="" /> <input name="submit" value="{lang xj_event:chazhao}" type="submit" />
  41. </form>
  42. </div>
  43. <table cellspacing="0" cellpadding="0">
  44. <tr class="th">
  45. <td class="icn">&nbsp;</td>
  46. <th>{lang xj_event:zhuti}</th>
  47. <td class="frm">{lang xj_event:fatieren}</td>
  48. <td class="num">{lang xj_event:guanlian}</td>
  49. </tr>
  50. <!--{loop $threadlist $value}-->
  51. <tr>
  52. <td class="icn">
  53. <input onclick="glclick(this,{$value['tid']},{$value['fid']})" type="checkbox" name="moderate[]" value="{$value['tid']}" <!--{if $value[gl]>0}-->checked<!--{/if}-->/>
  54. </td>
  55. <th>
  56. <a href="forum.php?mod=viewthread&tid={$value[tid]}" target="_blank" >{$value['subject']}</a>
  57. </th>
  58. <td>
  59. {$value['author']}
  60. </td>
  61. <td class="num">
  62. <span id="show{$value['tid']}" style=" color:#FF0000; font-weight:bold;"><!--{if $value[gl]>0}-->{lang xj_event:yiguanlian}<!--{/if}--></span>
  63. </td>
  64. </tr>
  65. <!--{/loop}-->
  66. </table>
  67. <div style="clear:both; height:34px; margin-top:10px;">
  68. {$multipage}
  69. </div>
  70. <div>
  71. </div>
  72. <script language="javascript">
  73. function glclick(a,tid,fid){
  74. if(a.checked){
  75. ajaxget('plugin.php?id=xj_event:event_zymanage_ajax&eid={$eid}&tid='+tid+'&fid='+fid+'&act=1&formhash={$_G[formhash]}','','','','',function(){document.getElementById('show'+a.value).innerHTML = '{lang xj_event:yiguanlian}';});
  76. }else{
  77. ajaxget('plugin.php?id=xj_event:event_zymanage_ajax&eid={$eid}&tid='+tid+'&fid='+fid+'&act=2&formhash={$_G[formhash]}','','','','',function(){document.getElementById('show'+a.value).innerHTML = '';});
  78. }
  79. }
  80. </script>
  81. <!--{template common/footer}-->