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

108 lines
4.9KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>文档关键词维护</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. <style>
  10. .nnpp {
  11. border-bottom: 1px solid #424b51;
  12. border-top: 1px solid #ffffff;
  13. border-left: 1px solid #ffffff;
  14. border-right: 1px solid #ffffff;
  15. filter: alpha(opacity=50);
  16. }
  17. </style>
  18. <script language='javascript'>
  19. function selAll() {
  20. var celements = document.getElementsByName('aids[]');
  21. for (i = 0; i < celements.length; i++) {
  22. if (!celements[i].checked) celements[i].checked = true;
  23. else celements[i].checked = false;
  24. }
  25. }
  26. </script>
  27. </head>
  28. <body>
  29. <div class="main">
  30. <table width="98%" cellpadding="1" align='center' cellspacing="1" class="table maintable mt-3 mb-3">
  31. <tr>
  32. <td height="26" colspan="5" background="../static/web/img/tbg.gif">
  33. <table width="96%" class="table table-borderless">
  34. <tr>
  35. <td width="30%" style="padding-left:10px">文档关键词维护</td>
  36. <form name="form1" action="article_keywords_main.php">
  37. <td width="70%" align="right">
  38. <input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">&nbsp;
  39. <button type="submit" name="sb" value="" class="btn btn-success btn-sm">保存</button>
  40. </td>
  41. </form>
  42. </tr>
  43. </table>
  44. </td>
  45. </tr>
  46. <form name="form2" action="article_keywords_main.php">
  47. <input type="hidden" name="dopost" value="add">
  48. <tr align="center">
  49. <td width="100%" height="26" colspan="5">
  50. <table cellspacing="0" cellpadding="0" class="table table-borderless">
  51. <tr>
  52. <td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
  53. <td width="270"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
  54. <td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td>
  55. <td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
  56. </tr>
  57. </table>
  58. </td>
  59. </tr>
  60. </form>
  61. <tr align="center" bgcolor="#F8FCF1" height="26">
  62. <td width="8%">选择</td>
  63. <td width="25%">关键词</td>
  64. <td width="35%">链接网址</td>
  65. <td width="10%">频率</td>
  66. <td width="22%">管理</td>
  67. </tr>
  68. <form name='form3' action="article_keywords_main.php" method="post">
  69. <input type='hidden' name='dopost' value='saveall'>
  70. {dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
  71. <tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  72. <td height="26">
  73. <input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'>
  74. </td>
  75. <td>
  76. <input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}'>
  77. {dede:field.keyword/}
  78. </td>
  79. <td>
  80. <input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}'>
  81. <input type='text' style='width:90%' class='nnpp' value='{dede:field.rpurl/}' name='rpurl_{dede:field.aid/}'>
  82. </td>
  83. <td>
  84. <input type='text' size='6' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}'>
  85. </td>
  86. <td>
  87. <input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}'>
  88. <label><input type='checkbox' name='isnouse_{dede:field.aid/}' class='np' value='1' {dede:field.sta function="GetSta(@me)" /} />
  89. 禁用</label>
  90. <label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1'>
  91. 删除</label>
  92. </td>
  93. </tr>
  94. {/dede:datalist}
  95. <tr>
  96. <td colspan="5" class="py-3">
  97. <button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button>
  98. <button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存</button>
  99. </td>
  100. </tr>
  101. </form>
  102. <tr bgcolor="#f8f8f8" align="center">
  103. <td height="36" colspan="5">{dede:pagelist listsize='6'/}</td>
  104. </tr>
  105. </table>
  106. </div>
  107. </body>
  108. </html>