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

122 lines
5.0KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  6. <title>专题列表</title>
  7. <link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="/static/web/css/admin.css">
  10. <link rel="stylesheet" href="/static/web/css/daterangepicker.css">
  11. <script src="/static/web/js/jquery.min.js"></script>
  12. <script src="/static/web/js/moment.min.js"></script>
  13. <script src="/static/web/js/daterangepicker.js"></script>
  14. <script src="/static/web/js/admin.list.js"></script>
  15. </head>
  16. <body>
  17. <div class="container-fluid">
  18. <ol class="breadcrumb">
  19. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  20. <li class="breadcrumb-item active">专题列表</li>
  21. </ol>
  22. <div class="card shadow-sm mb-3">
  23. <div class="card-body">
  24. <a class="btn btn-success btn-sm" href="spec_add.php">添加专题</a>
  25. <?php echo $CheckUserSend?>
  26. <a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a>
  27. <a class="btn btn-success btn-sm" href="makehtml_spec.php">更新专题</a>
  28. </div>
  29. </div>
  30. <div class="card shadow-sm mb-3">
  31. <div class="card-body">
  32. <form name="form3" action="content_s_list.php" method="get">
  33. <input type="hidden" name="dopost" value="listArchives">
  34. <input type="hidden" name="channelid" value="3">
  35. <input type="text" name="keyword" class="admin-input-lg mr-2" value="<?php echo $keyword?>" placeholder="请输入文档标题或文档id">
  36. <select name="cid" class="admin-input-sm mr-2">
  37. <option value="0">选择分类</option>
  38. <?php echo $optionarr?>
  39. </select>
  40. <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-lg" value="<?php echo $strTimerange;?>" placeholder="请选择日期">
  41. <button type="submit"class="btn btn-success btn-sm">搜索</button>
  42. </form>
  43. </div>
  44. </div>
  45. <div class="card shadow-sm">
  46. <div class="card-header">专题列表</div>
  47. <div class="card-body">
  48. <form name="form2">
  49. <div class="table-responsive">
  50. <table class="table table-borderless table-hover">
  51. <thead>
  52. <tr>
  53. <td scope="col">选择</td>
  54. <td scope="col">id</td>
  55. <td width="30%">文档标题</td>
  56. <td scope="col">栏目</td>
  57. <td scope="col">网页</td>
  58. <td scope="col">权限</td>
  59. <td scope="col">更新时间</td>
  60. <td scope="col">点击</td>
  61. <td scope="col">操作</td>
  62. </tr>
  63. </thead>
  64. <tbody>
  65. {dede:datalist}
  66. <tr>
  67. <td><input type="checkbox" name="arcID" value="{dede:field.id/}"></td>
  68. <td>{dede:field.id/}</td>
  69. <td><a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">{dede:field.title/}</a></td>
  70. <td>{dede:field.typeid function='GetTypename(@me)'/}</td>
  71. <td><?php echo IsHtmlArchives($fields['ismake'])?></td>
  72. <td><?php echo GetRankName($fields['arcrank'])?></td>
  73. <td><?php echo MyDate("Y-m-d H:i:s",$fields['senddate'])?></td>
  74. <td>{dede:field.click/}</td>
  75. <td>
  76. <a href="javascript:editArc({dede:field.id/});" class="btn btn-light btn-sm"><i class="fa fa-pencil-square" title="编辑"></i></a>
  77. <a href="javascript:viewArc({dede:field.id/});" class="btn btn-light btn-sm"><i class="fa fa-eye" title="预览"></i></a>
  78. </td>
  79. </tr>
  80. {/dede:datalist}
  81. <tr>
  82. <td colspan="9">
  83. <a href="javascript:selAll();" class="btn btn-success btn-sm">全选</a>
  84. <a href="javascript:noSelAll();" class="btn btn-success btn-sm">取消</a>
  85. <a href="javascript:updateArc(0);" class="btn btn-success btn-sm">更新</a>
  86. <a href="javascript:checkArc(0);" class="btn btn-success btn-sm">审核</a>
  87. <a href="javascript:adArc(0);" class="btn btn-success btn-sm">推荐</a>
  88. <a href="javascript:delArc(0);" class="btn btn-danger btn-sm">删除</a>
  89. </td>
  90. </tr>
  91. </tbody>
  92. </table>
  93. </div>
  94. </form>
  95. {dede:pagelist listsize='6'/}
  96. </div>
  97. </div>
  98. </div>
  99. <script>
  100. $(document).ready(function() {
  101. $('#timerange').daterangepicker({
  102. autoUpdateInput: false,
  103. timePicker: true,
  104. locale : {
  105. format: 'YYYY-MM-DD HH:mm',
  106. applyLabel: '确定',
  107. cancelLabel: '清空',
  108. daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
  109. monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  110. firstDay: 1
  111. },
  112. });
  113. $('#timerange').on('apply.daterangepicker', function(ev, picker) {
  114. $(this).val(picker.startDate.format('YYYY-MM-DD HH:mm') + ' - ' + picker.endDate.format('YYYY-MM-DD HH:mm'));
  115. });
  116. $('#timerange').on('cancel.daterangepicker', function(ev, picker) {
  117. $(this).val('');
  118. });
  119. });
  120. </script>
  121. </body>
  122. </html>