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

76 lines
3.9KB

  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. </head>
  12. <body>
  13. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  14. <tr bgcolor="#f8f8f8">
  15. <form action="templets_one.php" name="sss">
  16. <td width="170" align="center"><input type="text" name="keyword" value="<?php if(!empty($keyword)) $keyword = '';?>" placeholder="请输入关键词" style="width:260px"></td>
  17. <td width="170">
  18. <?php
  19. $likeid = (!isset($likeid) ? '' : $likeid);
  20. echo "<select name='likeid' id='likeid' style='width:160px'>";
  21. $dsql->Execute("s","Select likeid From `#@__sgpage` group by likeid ");
  22. echo "<option value=''>不限</option>";
  23. while($arr = $dsql->GetArray('s'))
  24. {
  25. if($likeid==$arr['likeid']) echo "<option value='{$arr['likeid']}' selected>{$arr['likeid']}</option>";
  26. else echo "<option value='{$arr['likeid']}'>{$arr['likeid']}</option>";
  27. }
  28. echo "</select>";
  29. ?>
  30. </td>
  31. <td>
  32. <button type="submit" name="button1" id="button1" class="btn btn-success btn-sm">搜索</button>
  33. <a href="templets_one_add.php" class="btn btn-success btn-sm">增加一个页面</a>
  34. <a href="javascript:;" onClick="document.form1.submit();" class="btn btn-success btn-sm">更新选中页面</a>
  35. <a href="templets_one_edit.php?dopost=mkall" class="btn btn-success btn-sm">更新所有页面</a>
  36. </td>
  37. </form>
  38. </tr>
  39. </table>
  40. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3">
  41. <tr>
  42. <td bgcolor="#f8f8f8" colspan="7">单独页面管理</td>
  43. </tr>
  44. <tr bgcolor="#fbfce2" align="center">
  45. <td width="6%">选择</td>
  46. <td width="6%">id</td>
  47. <td width="30%">页面名称</td>
  48. <td width="11%">需编译</td>
  49. <td width="10%">标识</td>
  50. <td width="12%">修改时间</td>
  51. <td width="21%">管理</td>
  52. </tr>
  53. <form name="form1" action="templets_one_edit.php">
  54. <input type="hidden" name="dopost" value="mksel">
  55. {dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
  56. <tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';">
  57. <td><input type="checkbox" name="ids[]" value="{dede:field.aid/}"></td>
  58. <td>{dede:field.aid/}</td>
  59. <td><a href="templets_one_edit.php?aid={dede:field.aid/}&dopost=edit">{dede:field.title/}</a></td>
  60. <td>{dede:field.ismake function='GetIsMake(@me)'/}</td>
  61. <td>{dede:field.likeid/}</td>
  62. <td>{dede:field.uptime function='GetDateMk(@me)'/}</td>
  63. <td>
  64. <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>
  65. <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>
  66. <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>
  67. </td>
  68. </tr>
  69. {/dede:datalist}
  70. </form>
  71. <tr bgcolor="#f8f8f8" align="center" class="py-2">
  72. <td colspan="7">{dede:pagelist listsize='6'/}</td>
  73. </tr>
  74. </table>
  75. </body>
  76. </html>