国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

172 líneas
5.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>评论管理</title>
  6. <script language='javascript'>
  7. //获得选中文件的文件名
  8. function getCheckboxItem()
  9. {
  10. var allSel="";
  11. if(document.feedback.fid.value) return document.feedback.fid.value;
  12. for(i=0;i<document.feedback.fid.length;i++)
  13. {
  14. if(document.feedback.fid[i].checked)
  15. {
  16. if(allSel=="")
  17. allSel=document.feedback.fid[i].value;
  18. else
  19. allSel=allSel+","+document.feedback.fid[i].value;
  20. }
  21. }
  22. return allSel;
  23. }
  24. function selAll()
  25. {
  26. for(i=0;i<document.feedback.fid.length;i++)
  27. {
  28. document.feedback.fid[i].checked=true;
  29. }
  30. }
  31. function selNone()
  32. {
  33. for(i=0;i<document.feedback.fid.length;i++)
  34. {
  35. document.feedback.fid[i].checked=false;
  36. }
  37. }
  38. function selNor()
  39. {
  40. for(i=0;i<document.feedback.fid.length;i++)
  41. {
  42. if(document.feedback.fid[i].checked==false)
  43. document.feedback.fid[i].checked=true;
  44. else
  45. document.feedback.fid[i].checked=false;
  46. }
  47. }
  48. function delFeedback()
  49. {
  50. var qstr=getCheckboxItem();
  51. if(qstr=="") alert("你没选中任何内容!");
  52. else if(window.confirm('你确定要删除这些评论吗?')) location.href="feedback_main.php?job=del&fid="+qstr;
  53. }
  54. function delFeedbackIP()
  55. {
  56. var qstr=getCheckboxItem();
  57. if(qstr=="") alert("你没选中任何内容!");
  58. else if(window.confirm('你确定要删除这些评论吗?')) location.href="feedback_main.php?job=delall&fid="+qstr;
  59. }
  60. function checkFeedback()
  61. {
  62. var qstr=getCheckboxItem();
  63. if(qstr=="") alert("您没选中任何内容!");
  64. else location.href="feedback_main.php?job=check&fid="+qstr;
  65. }
  66. function editFeedback()
  67. {
  68. var qstr=getCheckboxItem();
  69. if(qstr=="") alert("您没选中任何内容!");
  70. else location.href="feedback_edit.php?job=edit&fid="+qstr;
  71. }
  72. </script>
  73. <link href="css/base.css" rel="stylesheet" type="text/css">
  74. </head>
  75. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  76. <table width="98%" border="0" cellpadding="3" align="center" cellspacing="1" bgcolor="#D6D6D6">
  77. <tr>
  78. <td height="28" background='images/tbg.gif' style="padding-left:10px;">
  79. <div style="float:left;">
  80. <a href='feedback_main.php'><u><b>评论管理</b></u></a>
  81. </div>
  82. <div style="float:right;padding-right:10px">
  83. <form name='form1'>
  84. 关键字:
  85. <input type='text' size='15' name='keyword' style='width:150'>
  86. <select name="typeid" style="width:180">
  87. <option value="0">--请选择--</option>
  88. {dede:global.openarray /}
  89. </select>
  90. <input type='submit' name='sb' value=' 搜索 ' class='coolbt' />
  91. </form>
  92. </div>
  93. </td>
  94. </tr>
  95. <form name='feedback'>
  96. <tr>
  97. <td height="215" bgcolor="#FFFFFF" valign="top">
  98. <table width='100%' border='0' cellpadding='0' cellspacing='0'>
  99. {dede:datalist}
  100. <tr height='25'>
  101. <td>
  102. <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#EEF7D2">
  103. <tr bgcolor="#F4FAE4">
  104. <td width="9%">
  105. &nbsp;选择 <input name="fid" type="checkbox" class="np" id="fid" value="{dede:field.id/}">
  106. </td>
  107. <td width="12%">
  108. 用户:{dede:field.username/}
  109. </td>
  110. <td width="30%">
  111. 文档:<a href='feedback_main.php?aid={dede:field.aid/}'><u>{dede:field.arctitle function="RemoveXSS(@me)"/}</u></a> (<a href="{dede:global.cfg_phpurl /}/view.php?aid={dede:field.aid/}" target="_blank"><u>浏览</u></a>)
  112. </td>
  113. <td width="18%" align="center">
  114. IP地址:<a href='feedback_main.php?ip={dede:field.ip/}'><u>{dede:field.ip/}</u></a>
  115. </td>
  116. <td width="21%">
  117. 时间:{dede:field.dtime function="GetDateTimeMK(@me)" /}
  118. </td>
  119. <td width="10%" align="center">
  120. <a href='feedback_edit.php?id={dede:field.id/}'><img src="images/feedback-edit.gif" border="0" width="45" height="18"></a>
  121. </td>
  122. </tr>
  123. <tr align="center" bgcolor="#FFFFFF">
  124. <td height="28" colspan="6">
  125. <table width="98%" border="0" cellspacing="0" cellpadding="0">
  126. <tr>
  127. <td align="left">
  128. {dede:field.ischeck function="IsCheck(@me)" /}
  129. {dede:field.msg function='cn_substr(Text2Html(@me), 50)'/}
  130. </td>
  131. </tr>
  132. </table></td>
  133. </tr>
  134. </table>
  135. <table width="98%" border="0" cellspacing="0" cellpadding="0">
  136. <tr>
  137. <td height="3"></td>
  138. </tr>
  139. </table></td>
  140. </tr>
  141. {/dede:datalist}
  142. <tr>
  143. <td height='20' align='center' bgcolor="#F9FCEF">
  144. {dede:pagelist listsize='5' /}
  145. </td>
  146. </tr>
  147. <tr>
  148. <td height='30'>
  149. <table width="98%">
  150. <tr>
  151. <td width="30%">
  152. <input type='button' name='kk1' value='全选' onClick="selAll()" class="coolbg np" />
  153. <input type='button' name='kk2' value='取消' onClick="selNone()" class="coolbg np" />
  154. <input type='button' name='kk3' value='反选' onClick="selNor()" class="coolbg np" />
  155. </td>
  156. <td align="right">
  157. <input type='button' name='db' value=' 删除相同IP的所有评论 ' onClick="delFeedbackIP()" class="coolbg np" />
  158. <input type='button' name='db' value=' 删除评论 ' onClick="delFeedback()" class="coolbg np" />
  159. <input type='button' name='db2' value=' 审核评论 ' onClick="checkFeedback()" class="coolbg np" />
  160. </td>
  161. </tr>
  162. </table>
  163. </td>
  164. </tr>
  165. </table>
  166. </td>
  167. </tr>
  168. </form>
  169. </table>
  170. </body>
  171. </html>