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

112 lines
4.7KB

  1. {dede:config.pagesize value="20"/}
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  7. <title>单独页面管理</title>
  8. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  9. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  10. <link href='css/base.css' rel='stylesheet' type='text/css'>
  11. <style>
  12. ul {
  13. padding: 0px;
  14. margin: 0px;
  15. }
  16. li {
  17. float: left;
  18. padding-right: 8px;
  19. line-height: 24px;
  20. }
  21. .maintable {
  22. width: 98%!important;
  23. }
  24. </style>
  25. </head>
  26. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  27. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  28. style="margin-bottom:6px" class="table maintable table-bordered mt-3">
  29. <tr>
  30. <td bgcolor="#F2F2F2" colspan="6" style="padding-left:10px;">
  31. <form action='templets_one.php' name='sss'>
  32. <ul>
  33. <li>关键字:</li>
  34. <li><input type='text' name='keyword' value="<?php if(!empty($keyword)) $keyword = ''; ?>"
  35. style='width:160px' /></li>
  36. <li>标识:</li>
  37. <li><?php
  38. $likeid = (!isset($likeid) ? '' : $likeid);
  39. echo "<select name='likeid' id='likeid'>\r\n";
  40. $dsql->Execute("s","Select likeid From `#@__sgpage` group by likeid ");
  41. echo "<option value=''>不限</option>\r\n";
  42. while($arr = $dsql->GetArray('s'))
  43. {
  44. if($likeid==$arr['likeid']) echo "<option value='{$arr['likeid']}' selected>{$arr['likeid']}</option>\r\n";
  45. else echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>\r\n";
  46. }
  47. echo "</select>\r\n";
  48. ?></li>
  49. <li><input name="imageField" type="image" src="images/button_search.gif" width="60" height="22"
  50. border="0" class="np" /></li>
  51. </ul>
  52. </form>
  53. </td>
  54. </table>
  55. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cfcfcf" class="table table-bordered maintable">
  56. <tr>
  57. <td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;">
  58. <div style="float:left">
  59. <b>◆单独页面管理</b>
  60. </div>
  61. <div style="float:right">
  62. [<a href="templets_one_add.php"><u>增加一个页面</u></a>]
  63. &nbsp;[<a href="#" onClick="document.form1.submit();"><u>更新选中页面</u></a>]
  64. &nbsp;[<a href="templets_one_edit.php?dopost=mkall"><u>更新所有页面</u></a>]
  65. &nbsp;&nbsp;&nbsp;&nbsp;
  66. </div>
  67. </td>
  68. </tr>
  69. <tr align="center" bgcolor="#FBFCE2" height="24">
  70. <td width="6%">选择</td>
  71. <td width="6%">编号</td>
  72. <td width="30%">页面名称</td>
  73. <td width="11%">需编译</td>
  74. <td width="10%">标识</td>
  75. <td width="12%">修改时间</td>
  76. <td width="21%">管理</td>
  77. </tr>
  78. <form name='form1' action='templets_one_edit.php'>
  79. <input type='hidden' name='dopost' value='mksel' />
  80. {dede:datalist}
  81. <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  82. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  83. <td><input type='checkbox' name='ids[]' value='{dede:field.aid /}' class='np'></td>
  84. <td>{dede:field.aid /}</td>
  85. <td><a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=edit'>{dede:field.title /}</a></td>
  86. <td>{dede:field.ismake function='GetIsMake(@me)'/}</td>
  87. <td>{dede:field.likeid /}</td>
  88. <td>{dede:field.uptime function='GetDateMk(@me)'/}</td>
  89. <td>
  90. <a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=edit'>[更改]</a>
  91. <a href="templets_one_edit.php?aid={dede:field.aid /}&dopost=view" target='_blank'>[预览]</a>
  92. &nbsp;|&nbsp;
  93. <a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=delete'>[删除]</a>
  94. </td>
  95. </tr>
  96. {/dede:datalist}
  97. </form>
  98. <tr align="center" bgcolor="#F9FCEF" height="24">
  99. <td colspan="7">
  100. {dede:pagelist listsize=6/}
  101. </td>
  102. </tr>
  103. </table>
  104. </td>
  105. </tr>
  106. </table>
  107. </body>
  108. </html>