国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

93 行
4.4KB

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