国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

104 lignes
3.6KB

  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/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel='stylesheet' type='text/css'>
  10. </head>
  11. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  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%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  58. class="table maintable table-bordered mt-3">
  59. <tr>
  60. <td height="26" background="images/tbg.gif" colspan="8" style="padding-left:10px;">
  61. <b>文章错误管理</b>&nbsp;</td>
  62. </tr>
  63. <tr align="center" bgcolor="#FBFCE2" 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}
  74. <tr align="center" bgcolor="#FFFFFF" height="26" align="center"
  75. onMouseMove="javascript:this.bgColor='#FCFDEE';" 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>
  80. </td>
  81. <td>{dede:field.type function='typename(@me)'/}</td>
  82. <td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
  83. <td>{dede:field.errtxt /}</td>
  84. <td>{dede:field.oktxt /}</td>
  85. </tr>
  86. {/dede:datalist}
  87. <tr align="left" bgcolor="#ffffff" height="26">
  88. <td colspan="8">
  89. <a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
  90. <a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
  91. <a href="javascript:delArc(0)" class="btn btn-success btn-sm">&nbsp;删除&nbsp;</a>
  92. </td>
  93. </tr>
  94. <tr align="center" bgcolor="#F9FCEF" height="26">
  95. <td colspan="8">
  96. {dede:pagelist listsize=5/}
  97. </td>
  98. </tr>
  99. </table>
  100. </form>
  101. </body>
  102. </html>