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

106 lines
3.7KB

  1. {dede:config.pagesize value='20'/}
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  7. <title>挑错管理</title>
  8. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  9. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  10. <link href="css/base.css" rel='stylesheet' type='text/css'>
  11. </head>
  12. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  13. <script type="text/javascript">
  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%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  59. class="table maintable table-bordered mt-3">
  60. <tr>
  61. <td height="28" background="images/tbg.gif" colspan="8" style="padding-left:10px;">
  62. <b>文章错误管理</b>&nbsp;</td>
  63. </tr>
  64. <tr align="center" bgcolor="#FBFCE2" height="26">
  65. <td width="5%">选择</td>
  66. <td width="7%">编号</td>
  67. <td width="12%">挑错人</td>
  68. <td width="20%">文章名称</td>
  69. <td width="12%">出错类型</td>
  70. <td width="14%">挑错时间</td>
  71. <td width="15%">错误内容</td>
  72. <td width="15%">修改建议</td>
  73. </tr>
  74. {dede:datalist}
  75. <tr align="center" bgcolor="#FFFFFF" height="26" align="center"
  76. onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  77. <td><input name="id" type="checkbox" id="id" value="{dede:field.id/}" class="np"></td>
  78. <td>{dede:field.id /}</td>
  79. <td>{dede:field.mid function='username(@me)'/}</td>
  80. <td><a href='archives_do.php?dopost=editArchives&aid={dede:field.aid/}'>{dede:field.title /}</a>
  81. </td>
  82. <td>{dede:field.type function='typename(@me)'/}</td>
  83. <td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
  84. <td>{dede:field.errtxt /}</td>
  85. <td>{dede:field.oktxt /}</td>
  86. </tr>
  87. {/dede:datalist}
  88. <tr align="left" bgcolor="#ffffff" height="28">
  89. <td colspan="8">
  90. <a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
  91. <a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
  92. <a href="javascript:delArc(0)" class="btn btn-success btn-sm">&nbsp;删除&nbsp;</a>
  93. </td>
  94. </tr>
  95. <tr align="center" bgcolor="#F9FCEF" height="28">
  96. <td colspan="8">
  97. {dede:pagelist listsize=5/}
  98. </td>
  99. </tr>
  100. </table>
  101. </form>
  102. </body>
  103. </html>