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

100 lines
4.3KB

  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 #424b51;
  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. <div class="main">
  31. <table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  32. <tr>
  33. <td height="26" colspan="5" background="../static/web/img/tbg.gif">
  34. <table width="96%" class="table table-borderless">
  35. <tr>
  36. <td width="30%" style="padding-left:10px">文档关键词维护</td>
  37. <form name="form1" action="article_keywords_main.php">
  38. <td width="70%" align="right">
  39. <input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">&nbsp;
  40. <button type="submit" name="sb" value="" class="btn btn-success btn-sm">保存</button>
  41. </td>
  42. </form>
  43. </tr>
  44. </table>
  45. </td>
  46. </tr>
  47. <form name="form2" action="article_keywords_main.php">
  48. <input type="hidden" name="dopost" value="add">
  49. <tr align="center">
  50. <td width="100%" height="26" colspan="5">
  51. <table cellspacing="0" cellpadding="0" class="table table-borderless">
  52. <tr>
  53. <td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
  54. <td width="270"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
  55. <td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td>
  56. <td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
  57. </tr>
  58. </table>
  59. </td>
  60. </tr>
  61. </form>
  62. <tr align="center" bgcolor="#F8FCF1" height="26">
  63. <td width="8%">选择</td>
  64. <td width="25%">关键词</td>
  65. <td width="35%">链接网址</td>
  66. <td width="10%">频率</td>
  67. <td width="22%">管理</td>
  68. </tr>
  69. <form name='form3' action="article_keywords_main.php" method="post">
  70. <input type='hidden' name='dopost' value='saveall'>
  71. {dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
  72. <tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  73. <td height="26"><input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'></td>
  74. <td><input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}'> {dede:field.keyword/}</td>
  75. <td>
  76. <input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}'>
  77. <input type='text' style='width:90%' class='nnpp' value='{dede:field.rpurl/}' name='rpurl_{dede:field.aid/}'>
  78. </td>
  79. <td><input type='text' size='6' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}'></td>
  80. <td>
  81. <input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}'>
  82. <label><input type='checkbox' name='isnouse_{dede:field.aid/}' class='np' value='1' {dede:field.sta function="GetSta(@me)"/}> 禁用 </label>
  83. <label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1'> 删除</label>
  84. </td>
  85. </tr>
  86. {/dede:datalist}
  87. <tr>
  88. <td colspan="5" class="py-3">
  89. <button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button>
  90. <button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存</button>
  91. </td>
  92. </tr>
  93. </form>
  94. <tr bgcolor="#f8f8f8" align="center">
  95. <td height="36" colspan="5">{dede:pagelist listsize='6'/}</td>
  96. </tr>
  97. </table>
  98. </div>
  99. </body>
  100. </html>