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

82 lines
3.6KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang;?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  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 rel="stylesheet" href="../static/web/css/admin.css">
  10. <style>
  11. .nnpp {
  12. border-bottom: 1px solid #545b62;
  13. border-top: 1px solid #ffffff;
  14. border-left: 1px solid #ffffff;
  15. border-right: 1px solid #ffffff;
  16. filter: alpha(opacity=50);
  17. }
  18. </style>
  19. <script>
  20. function selAll() {
  21. var celements = document.getElementsByName('aids[]');
  22. for (i = 0; i < celements.length; i++) {
  23. if (!celements[i].checked) celements[i].checked = true;
  24. else celements[i].checked = false;
  25. }
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <form name="form2" action="article_keywords_main.php">
  31. <input type="hidden" name="dopost" value="add">
  32. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  33. <tr bgcolor="#f8f8f8">
  34. <td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
  35. <td width="270"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
  36. <td width="70"><input type="text" name="rank" id="rank" value="30" style="width:60px"></td>
  37. <td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
  38. </tr>
  39. </table>
  40. </form>
  41. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  42. <tr>
  43. <td bgcolor="#f8f8f8" colspan="5">文档关键词维护</td>
  44. </tr>
  45. <tr bgcolor="#fbfce2" align="center">
  46. <td width="8%">选择</td>
  47. <td width="25%">关键词</td>
  48. <td width="35%">链接网址</td>
  49. <td width="10%">频率</td>
  50. <td width="22%">管理</td>
  51. </tr>
  52. <form name="form3" action="article_keywords_main.php" method="post">
  53. <input type="hidden" name="dopost" value="saveall">
  54. {dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
  55. <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
  56. <td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked='1'></td>
  57. <td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td>
  58. <td>
  59. <input type="hidden" value="{dede:field.rpurl/}" name="rpurlold_{dede:field.aid/}">
  60. <input type="text" style="width:90%" class="nnpp" value="{dede:field.rpurl/}" name="rpurl_{dede:field.aid/}">
  61. </td>
  62. <td><input type="text" size="6" class="nnpp" value="{dede:field.rank/}" name="rank_{dede:field.aid/}"></td>
  63. <td>
  64. <input type="hidden" name="staold_{dede:field.aid/}" value="{dede:field.sta/}">
  65. <label><input type="checkbox" name="isnouse_{dede:field.aid/}" value="1" {dede:field.sta function="GetSta(@me)"/}> 禁用</label>
  66. <label><input type="checkbox" name="isdel_{dede:field.aid/}" value="1"> 删除</label>
  67. </td>
  68. </tr>
  69. {/dede:datalist}
  70. <tr>
  71. <td colspan="5">
  72. <button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button>
  73. <button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存</button>
  74. </td>
  75. </tr>
  76. </form>
  77. <tr>
  78. <td colspan="5" bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
  79. </tr>
  80. </table>
  81. </body>
  82. </html>