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

136 lines
4.7KB

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