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

98 lines
3.5KB

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