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

116 lines
4.4KB

  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. <script language="javascript">
  10. //获得选中文件的文件名
  11. function getCheckboxItem() {
  12. var allSel = "";
  13. if (document.form2.arcID.value) return document.form2.arcID.value;
  14. for (i = 0; i < document.form2.arcID.length; i++) {
  15. if (document.form2.arcID[i].checked) {
  16. if (allSel == "")
  17. allSel = document.form2.arcID[i].value;
  18. else
  19. allSel = allSel + "," + document.form2.arcID[i].value;
  20. }
  21. }
  22. return allSel;
  23. }
  24. function selAll() {
  25. for (i = 0; i < document.form2.arcID.length; i++) {
  26. if (!document.form2.arcID[i].checked) {
  27. document.form2.arcID[i].checked = true;
  28. }
  29. }
  30. }
  31. function noSelAll() {
  32. for (i = 0; i < document.form2.arcID.length; i++) {
  33. if (document.form2.arcID[i].checked) {
  34. document.form2.arcID[i].checked = false;
  35. }
  36. }
  37. }
  38. function ReturnValue() {
  39. if (window.opener.document.<?php echo $f ?>.value == "") {
  40. window.opener.document.<?php echo $f ?>.value = getCheckboxItem();
  41. } else {
  42. window.opener.document.<?php echo $f ?>.value += "," + getCheckboxItem();
  43. }
  44. window.opener = null;
  45. window.close();
  46. }
  47. </script>
  48. </head>
  49. <body>
  50. <table width="100%" align="center" cellpadding="2" cellspacing="1" class="table maintable mt-3 mb-3">
  51. <tr bgcolor="#E7E7E7">
  52. <td height="26" colspan="9" background="../static/web/img/tbg.gif">文章列表</td>
  53. </tr>
  54. <form name="form2">
  55. <tr align="center" bgcolor="#F9FCEF" height="26">
  56. <td width="6%">ID</td>
  57. <td width="4%">选择</td>
  58. <td width="30%">文章标题</td>
  59. <td width="10%">更新时间</td>
  60. <td width="11%">类目</td>
  61. <td width="8%">点击</td>
  62. <td width="7%">HTML</td>
  63. <td width="10%">权限</td>
  64. <td width="13%">属性</td>
  65. </tr>
  66. {dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'}
  67. <tr align='center'
  68. onMouseOut="javascript:this.bgColor='#ffffff';" height="26">
  69. <td>{dede:field.id/}</td>
  70. <td><input name="arcID" type="checkbox" id="arcID" value="{dede:field.id/}" class="np"></td>
  71. <td align='left'><a href='archives_do.php?aid={dede:field.id/}&dopost=editArchives'>{dede:field.title/}</a></td>
  72. <td>{dede:field.senddate function="GetDateMk(@me)" /}</td>
  73. <td>{dede:field.typeid function='GetTypename(@me)'/}</td>
  74. <td>{dede:field.click/}</td>
  75. <td>{dede:field.ismake function="IsHtmlArchives(@me)" /}</td>
  76. <td>{dede:field.arcrank function="GetRankName(@me)" /}</td>
  77. <td>{dede:field.flag function="IsCommendArchives(@me)" /}</td>
  78. </tr>
  79. {/dede:datalist}
  80. <tr bgcolor="#F9FCEF">
  81. <td height="26" colspan="9">
  82. <a href="javascript:selAll()" class="btn btn-success btn-sm">全选</a>
  83. <a href="javascript:noSelAll()" class="btn btn-success btn-sm">取消</a>
  84. <a href="javascript:ReturnValue()" class="btn btn-success btn-sm">把选定值加到列表</a>
  85. </td>
  86. </tr>
  87. </form>
  88. <tr align="right" bgcolor="#EEF4EA">
  89. <td height="36" colspan="9" align="center">{dede:pagelist listsize='6'/}</td>
  90. </tr>
  91. </table>
  92. <table width='100%' align="center" cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' class="table maintable table-borderless">
  93. <tr bgcolor='#EEF4EA'>
  94. <form name='form3' action='content_select_list.php' method='get'>
  95. <input type='hidden' name='f' value='<?php echo $f?>'>
  96. <td>
  97. <table width='600' cellpadding='0' cellspacing='0'>
  98. <tr>
  99. <td width='260' align='center'>请选择类目:</td>
  100. <td width='260'>
  101. <select name='cid' style='width:160px'>
  102. <option value='0'>选择分类</option>
  103. <?php echo $optionarr?>
  104. </select>
  105. </td>
  106. <td width='100'>关键词:</td>
  107. <td width='260'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:160px'></td>
  108. <td width='100'><button type="submit" class="btn btn-success btn-sm">搜索</button></td>
  109. </tr>
  110. </table>
  111. </td>
  112. </form>
  113. </tr>
  114. </table>
  115. </body>
  116. </html>