国内流行的内容管理系统(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.

99 lines
3.3KB

  1. {dede:config.pagesize value='20'/}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="<?php echo $cfg_soft_lang; ?>">
  6. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  7. <title>挑错管理</title>
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. </head>
  12. <body>
  13. <script>
  14. function getOneItem() {
  15. var allSel = "";
  16. if (document.form2.id.value) return document.form2.id.value;
  17. for (i = 0; i < document.form2.id.length; i++) {
  18. if (document.form2.id[i].checked) {
  19. allSel = document.form2.id[i].value;
  20. break;
  21. }
  22. }
  23. return allSel;
  24. }
  25. function getCheckboxItem() {
  26. var allSel = "";
  27. if (document.form2.id.value) return document.form2.id.value;
  28. for (i = 0; i < document.form2.id.length; i++) {
  29. if (document.form2.id[i].checked) {
  30. if (allSel == "")
  31. allSel = document.form2.id[i].value;
  32. else
  33. allSel = allSel + "`" + document.form2.id[i].value;
  34. }
  35. }
  36. return allSel;
  37. }
  38. function selAll() {
  39. for (i = 0; i < document.form2.id.length; i++) {
  40. if (!document.form2.id[i].checked) {
  41. document.form2.id[i].checked = true;
  42. }
  43. }
  44. }
  45. function noSelAll() {
  46. for (i = 0; i < document.form2.id.length; i++) {
  47. if (document.form2.id[i].checked) {
  48. document.form2.id[i].checked = false;
  49. }
  50. }
  51. }
  52. function delArc(id) {
  53. var qstr = getCheckboxItem();
  54. location = "erraddsave.php?id=" + qstr + "&dopost=delete";
  55. }
  56. </script>
  57. <form name="form2">
  58. <table width="98%" align="center" cellpadding="3" cellspacing="1"
  59. class="table maintable mt-3 mb-3">
  60. <tr>
  61. <td height="26" background="../static/web/img/tbg.gif" colspan="8" style="padding-left:10px">文章错误管理</td>
  62. </tr>
  63. <tr align="center" bgcolor="#F8FCF1" height="26">
  64. <td width="5%">选择</td>
  65. <td width="7%">编号</td>
  66. <td width="12%">挑错人</td>
  67. <td width="20%">文章名称</td>
  68. <td width="12%">出错类型</td>
  69. <td width="14%">挑错时间</td>
  70. <td width="15%">错误内容</td>
  71. <td width="15%">修改建议</td>
  72. </tr>
  73. {dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'}
  74. <tr height="26" align="center"
  75. onMouseMove="javascript:this.bgColor='#F8FCF1';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  76. <td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td>
  77. <td>{dede:field.id /}</td>
  78. <td>{dede:field.mid function='username(@me)'/}</td>
  79. <td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'>{dede:field.title /}</a></td>
  80. <td>{dede:field.type function='typename(@me)'/}</td>
  81. <td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
  82. <td>{dede:field.errtxt /}</td>
  83. <td>{dede:field.oktxt /}</td>
  84. </tr>
  85. {/dede:datalist}
  86. <tr align="left" height="26">
  87. <td colspan="8">
  88. <a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
  89. <a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
  90. <a href="javascript:delArc(0)" class="btn btn-success btn-sm">删除</a>
  91. </td>
  92. </tr>
  93. <tr align="center" bgcolor="#f8f8f8" height="36">
  94. <td colspan="8">{dede:pagelist listsize='6'/}</td>
  95. </tr>
  96. </table>
  97. </form>
  98. </body>
  99. </html>