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

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