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

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