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

94 lines
4.5KB

  1. {dede:config.pagesize value='30'/}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="<?php echo $cfg_soft_lang; ?>">
  6. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  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%" 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><input type='text' name='keyword' value="<?php if(!empty($keyword)) $keyword = ''; ?>" placeholder="请输入关键词" style="width:260px"></li>
  30. <li><?php
  31. $likeid = (!isset($likeid) ? '' : $likeid);
  32. echo "<select name='likeid' id='likeid' style='width:160px'>";
  33. $dsql->Execute("s","Select likeid From `#@__sgpage` group by likeid ");
  34. echo "<option value=''>不限</option>";
  35. while($arr = $dsql->GetArray('s'))
  36. {
  37. if($likeid==$arr['likeid']) echo "<option value='{$arr['likeid']}' selected>{$arr['likeid']}</option>";
  38. else echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
  39. }
  40. echo "</select>";
  41. ?></li>
  42. <li><button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">搜索</button></li>
  43. </ul>
  44. </form>
  45. </td>
  46. </table>
  47. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3">
  48. <tr>
  49. <td height="26" background="../static/web/img/tbg.gif" colspan="7" style="padding-left:10px">
  50. <div style="float:left">单独页面管理</div>
  51. <div style="float:right">
  52. <a href="templets_one_add.php" class="btn btn-success btn-sm">增加一个页面</a>
  53. <a href="javascript:;" onClick="document.form1.submit();" class="btn btn-success btn-sm">更新选中页面</a>
  54. <a href="templets_one_edit.php?dopost=mkall" class="btn btn-success btn-sm">更新所有页面</a>
  55. </div>
  56. </td>
  57. </tr>
  58. <tr align="center" bgcolor="#F8FCF1" height="26">
  59. <td width="6%">选择</td>
  60. <td width="6%">编号</td>
  61. <td width="30%">页面名称</td>
  62. <td width="11%">需编译</td>
  63. <td width="10%">标识</td>
  64. <td width="12%">修改时间</td>
  65. <td width="21%">管理</td>
  66. </tr>
  67. <form name='form1' action='templets_one_edit.php'>
  68. <input type='hidden' name='dopost' value='mksel'>
  69. {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
  70. <tr height="26" align="center"
  71. onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
  72. <td><input type='checkbox' name='ids[]' value='{dede:field.aid /}' class='np'></td>
  73. <td>{dede:field.aid /}</td>
  74. <td><a href='templets_one_edit.php?aid={dede:field.aid /}&dopost=edit'>{dede:field.title /}</a></td>
  75. <td>{dede:field.ismake function='GetIsMake(@me)'/}</td>
  76. <td>{dede:field.likeid /}</td>
  77. <td>{dede:field.uptime function='GetDateMk(@me)'/}</td>
  78. <td>
  79. <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>
  80. <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>
  81. <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>
  82. </td>
  83. </tr>
  84. {/dede:datalist}
  85. </form>
  86. <tr align="center" bgcolor="#f8f8f8" height="36">
  87. <td colspan="7">{dede:pagelist listsize='6'/}</td>
  88. </tr>
  89. </table>
  90. </td>
  91. </tr>
  92. </table>
  93. </body>
  94. </html>