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

63 lines
2.5KB

  1. {dede:config.pagesize value='30'/}
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  7. <title>广告管理</title>
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. </head>
  12. <body>
  13. <form action="ad_main.php" method="get" name="form3" id="form3">
  14. <input type="hidden" name="dopost" value="listArchives">
  15. <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3">
  16. <tr bgcolor="#f5f5f5">
  17. <td>
  18. <input type="text" name="keyword" placeholder="请输入关键词" class="admin-input-lg mr-3">
  19. <select name="clsid" id="clsid" class="admin-input-sm mr-3">
  20. <option value="0">默认分类</option>
  21. <?php echo $option;?>
  22. </select>
  23. <button type="submit" class="btn btn-success btn-sm">搜索</button>
  24. <a href="ad_add.php" class="btn btn-success btn-sm">添加一个新广告</a>
  25. <a href="adtype_main.php" class="btn btn-success btn-sm">广告分类管理</a>
  26. </td>
  27. </tr>
  28. </table>
  29. </form>
  30. <table cellpadding="3" cellspacing="1" align="center" class="table maintable mb-3">
  31. <tr>
  32. <td bgcolor="#f5f5f5" colspan="7">广告管理</td>
  33. </tr>
  34. <tr bgcolor="#e9ecef" align="center">
  35. <td width="6%">id</td>
  36. <td width="20%">分类</td>
  37. <td width="20%">广告名称</td>
  38. <td width="12%">投放范围</td>
  39. <td width="11%">是否限时</td>
  40. <td width="11%">结束时间</td>
  41. <td>操作</td>
  42. </tr>
  43. {dede:datalist empty='<tr><td colspan="7" align="center">暂无文档</td></tr>'}
  44. <tr align="center">
  45. <td>{dede:field.aid/}</td>
  46. <td>{dede:field.clsname function='TestType(@me,1)'/}</td>
  47. <td>{dede:field.adname/}</td>
  48. <td>{dede:field.typename function='TestType(@me)'/}</td>
  49. <td>{dede:field.timeset function='TimeSetValue(@me)'/}</td>
  50. <td>{dede:field.endtime function='GetDateMk(@me)'/}</td>
  51. <td>
  52. <a href="ad_edit.php?aid={dede:field.aid/}&dopost=gettag" class="btn btn-success btn-sm">代码</a>
  53. <a href="ad_edit.php?aid={dede:field.aid/}&dopost=edit" class="btn btn-success btn-sm">修改</a>
  54. <a href="ad_edit.php?aid={dede:field.aid/}&dopost=delete" class="btn btn-danger btn-sm">删除</a>
  55. </td>
  56. </tr>
  57. {/dede:datalist}
  58. <tr bgcolor="#f5f5f5" align="center">
  59. <td colspan="7">{dede:pagelist listsize='6'/}</td>
  60. </tr>
  61. </table>
  62. </body>
  63. </html>