国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.4KB

  1. {dede:config.pagesize value='20'/}
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>挑错管理</title>
  7. <link href="css/base.css" rel='stylesheet' type='text/css'>
  8. </head>
  9. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  10. <script type="text/javascript">
  11. function getOneItem()
  12. {
  13. var allSel="";
  14. if(document.form2.id.value) return document.form2.id.value;
  15. for(i=0;i<document.form2.id.length;i++)
  16. {
  17. if(document.form2.id[i].checked)
  18. {
  19. allSel = document.form2.id[i].value;
  20. break;
  21. }
  22. }
  23. return allSel;
  24. }
  25. function getCheckboxItem()
  26. {
  27. var allSel="";
  28. if(document.form2.id.value) return document.form2.id.value;
  29. for(i=0;i<document.form2.id.length;i++)
  30. {
  31. if(document.form2.id[i].checked)
  32. {
  33. if(allSel=="")
  34. allSel=document.form2.id[i].value;
  35. else
  36. allSel=allSel+"`"+document.form2.id[i].value;
  37. }
  38. }
  39. return allSel;
  40. }
  41. function selAll()
  42. {
  43. for(i=0;i<document.form2.id.length;i++)
  44. {
  45. if(!document.form2.id[i].checked)
  46. {
  47. document.form2.id[i].checked=true;
  48. }
  49. }
  50. }
  51. function noSelAll()
  52. {
  53. for(i=0;i<document.form2.id.length;i++)
  54. {
  55. if(document.form2.id[i].checked)
  56. {
  57. document.form2.id[i].checked=false;
  58. }
  59. }
  60. }
  61. function delArc(id){
  62. var qstr=getCheckboxItem();
  63. location="erraddsave.php?id="+qstr+"&dopost=delete";
  64. }
  65. </script>
  66. <form name="form2">
  67. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  68. <tr>
  69. <td height="28" background="images/tbg.gif" colspan="8" style="padding-left:10px;">
  70. <b>文章错误管理</b>&nbsp;</td>
  71. </tr>
  72. <tr align="center" bgcolor="#FBFCE2" height="26">
  73. <td width="5%">选择</td>
  74. <td width="7%">编号</td>
  75. <td width="12%">挑错人</td>
  76. <td width="20%">文章名称</td>
  77. <td width="12%">出错类型</td>
  78. <td width="14%">挑错时间</td>
  79. <td width="15%">错误内容</td>
  80. <td width="15%">修改建议</td>
  81. </tr>
  82. {dede:datalist}
  83. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  84. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  85. <td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td>
  86. <td>{dede:field.id /}</td>
  87. <td>{dede:field.mid function='username(@me)'/}</td>
  88. <td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'><u>{dede:field.title /}</u></a></td>
  89. <td>{dede:field.type function='typename(@me)'/}</td>
  90. <td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
  91. <td>{dede:field.errtxt /}</td>
  92. <td>{dede:field.oktxt /}</td>
  93. </tr>
  94. {/dede:datalist}
  95. <tr align="left" bgcolor="#ffffff" height="28">
  96. <td colspan="8">
  97. <a href="javascript:selAll()" class="coolbg">全选</a>
  98. <a href="javascript:noSelAll()" class="coolbg">取消</a>
  99. <a href="javascript:delArc(0)" class="coolbg">&nbsp;删除&nbsp;</a>
  100. </td>
  101. </tr>
  102. <tr align="center" bgcolor="#F9FCEF" height="28">
  103. <td colspan="8">
  104. {dede:pagelist listsize=5/}
  105. </td>
  106. </tr>
  107. </table>
  108. </td>
  109. </tr>
  110. </table>
  111. </form>
  112. </body>
  113. </html>