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

96 lines
4.5KB

  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/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. <style>
  12. ul {
  13. padding: 0px;
  14. margin: 0px;
  15. }
  16. li {
  17. float: left;
  18. padding-right: 8px;
  19. line-height: 26px;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center"style="margin-bottom:10px" class="table maintable mt-3 mb-3">
  25. <tr>
  26. <td bgcolor="#f6f6f6" colspan="6" style="padding-left:10px">
  27. <form action='templets_one.php' name='sss'>
  28. <ul>
  29. <li>关键词:</li>
  30. <li><input type='text' name='keyword' value="<?php if(!empty($keyword)) $keyword = ''; ?>" style='width:160px'></li>
  31. <li>标识:</li>
  32. <li><?php
  33. $likeid = (!isset($likeid) ? '' : $likeid);
  34. echo "<select name='likeid' id='likeid' style='width:160px'>";
  35. $dsql->Execute("s","Select likeid From `#@__sgpage` group by likeid ");
  36. echo "<option value=''>不限</option>";
  37. while($arr = $dsql->GetArray('s'))
  38. {
  39. if($likeid==$arr['likeid']) echo "<option value='{$arr['likeid']}' selected>{$arr['likeid']}</option>";
  40. else echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
  41. }
  42. echo "</select>";
  43. ?></li>
  44. <li><button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">搜索</button></li>
  45. </ul>
  46. </form>
  47. </td>
  48. </table>
  49. <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable">
  50. <tr>
  51. <td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px">
  52. <div style="float:left">单独页面管理</div>
  53. <div style="float:right">
  54. <a href="templets_one_add.php" class="btn btn-success btn-sm">增加一个页面</a>
  55. <a href="javascript:;" onClick="document.form1.submit();" class="btn btn-success btn-sm">更新选中页面</a>
  56. <a href="templets_one_edit.php?dopost=mkall" class="btn btn-success btn-sm">更新所有页面</a>
  57. </div>
  58. </td>
  59. </tr>
  60. <tr align="center" bgcolor="#FBFCE2" height="26">
  61. <td width="6%">选择</td>
  62. <td width="6%">编号</td>
  63. <td width="30%">页面名称</td>
  64. <td width="11%">需编译</td>
  65. <td width="10%">标识</td>
  66. <td width="12%">修改时间</td>
  67. <td width="21%">管理</td>
  68. </tr>
  69. <form name='form1' action='templets_one_edit.php'>
  70. <input type='hidden' name='dopost' value='mksel'>
  71. {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
  72. <tr height="26" align="center"
  73. onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#ffffff';">
  74. <td><input type='checkbox' name='ids[]' value='{dede:field.aid /}' class='np'></td>
  75. <td>{dede:field.aid /}</td>
  76. <td><a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=edit'>{dede:field.title /}</a></td>
  77. <td>{dede:field.ismake function='GetIsMake(@me)'/}</td>
  78. <td>{dede:field.likeid /}</td>
  79. <td>{dede:field.uptime function='GetDateMk(@me)'/}</td>
  80. <td>
  81. <a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=edit' class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
  82. <a href="templets_one_edit.php?aid={dede:field.aid /}&dopost=view" target='_blank' class="btn btn-success btn-sm"><i class="fa fa-globe"></i> 预览</a>
  83. <a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=delete' class="btn btn-success btn-sm"><i class="fa fa-trash"></i> 删除</a>
  84. </td>
  85. </tr>
  86. {/dede:datalist}
  87. </form>
  88. <tr align="center" bgcolor="#f8f8f8" height="36">
  89. <td colspan="7">{dede:pagelist listsize='6'/}</td>
  90. </tr>
  91. </table>
  92. </td>
  93. </tr>
  94. </table>
  95. </body>
  96. </html>