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

content_i_list.htm 7.1KB

1 year ago
9 months ago
2 months ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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/bootstrap.min.js"></script>
  13. <script src="/static/web/js/webajax.js"></script>
  14. <script src="/static/web/js/moment.min.js"></script>
  15. <script src="/static/web/js/daterangepicker.js"></script>
  16. <script src="/static/web/js/admin.main.js"></script>
  17. <script src="/static/web/js/admin.list.js"></script>
  18. </head>
  19. <body>
  20. <div class="container-fluid">
  21. <ol class="breadcrumb">
  22. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  23. <li class="breadcrumb-item active">文档列表</li>
  24. </ol>
  25. <div class="card shadow-sm mb-3">
  26. <div class="card-body">
  27. <a class="btn btn-success btn-sm" href="catalog_do.php?channelid={dede:global.channelid/}&cid={dede:global.cid/}&dopost=addArchives">添加文档</a>
  28. {dede:if $adminid==$mid}
  29. <a class="btn btn-success btn-sm" href="content_i_list.php?cid={dede:global.cid/}&mid=0">全部文档</a>
  30. {else}
  31. <a class="btn btn-success btn-sm" href="content_i_list.php?cid={dede:global.cid/}&mid=<?php echo $cuserLogin->getUserID();?>">我的文档</a>
  32. {/dede:if}
  33. {dede:global.CheckUserSend/}
  34. <a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a>
  35. <a class="btn btn-success btn-sm" href="makehtml_list.php?cid={dede:global.cid/}">更新列表</a>
  36. <a class="btn btn-success btn-sm" href="makehtml_archives.php?cid={dede:global.cid/}">更新文档</a>
  37. <a class="btn btn-success btn-sm" href="recycling.php?cid={dede:global.cid/}">文档回收站</a>
  38. </div>
  39. </div>
  40. <div class="card shadow-sm mb-3">
  41. <div class="card-body">
  42. <form name="form3" action="content_i_list.php" method="get">
  43. <input type="hidden" name="dopost" value="listArchives">
  44. <input type="hidden" name="channelid" value="<?php echo $channelid;?>">
  45. <input type="text" name="keyword" class="admin-input-lg mr-2" value="{dede:global.keyword/}" placeholder="请输入文档标题或文档id">
  46. <select name="cid" class="admin-input-sm mr-2">
  47. <option value="0">选择栏目</option>
  48. {dede:global.optionarr/}
  49. </select>
  50. <select name="orderby" class="admin-input-sm mr-2">
  51. <option value="id">排序</option>
  52. <option value="pubdate">更新时间</option>
  53. <option value="sortrank">置顶权值</option>
  54. <option value="click">点击量</option>
  55. <option value="scores">评论积分</option>
  56. <option value="lastpost">最后评论</option>
  57. </select>
  58. <input type="text" name="timerange" autocomplete="off" id="timerange" class="admin-input-lg" value="<?php echo $strTimerange;?>" placeholder="请选择日期">
  59. <button type="submit" class="btn btn-success btn-sm">搜索</button>
  60. </form>
  61. </div>
  62. </div>
  63. <div class="card shadow-sm">
  64. <div class="card-header">{dede:global.positionname/}文档列表</div>
  65. <div class="card-body">
  66. <form name="form2">
  67. <div class="table-responsive">
  68. <table class="table table-borderless table-hover">
  69. <thead>
  70. <tr>
  71. <td scope="col">选择</td>
  72. <td scope="col">id</td>
  73. <td width="30%">文档标题</td>
  74. <td scope="col">栏目</td>
  75. <td scope="col">网页</td>
  76. <td scope="col">权限</td>
  77. <td scope="col">编辑</td>
  78. <td scope="col">更新时间</td>
  79. <td scope="col">点击</td>
  80. <td>操作</td>
  81. </tr>
  82. </thead>
  83. <tbody>
  84. {dede:datalist}
  85. <tr>
  86. <td><input type="checkbox" name="arcID" value="{dede:field.id/}"></td>
  87. <td>{dede:field.id/}</td>
  88. <td>
  89. <a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives">
  90. <img src="{dede:field.litpic function='CheckPic(@me)'/}" class="thumbnail-sm">
  91. <span>{dede:field.title/}</span>
  92. </a>
  93. {dede:field.flag function='IsCommendArchives(@me)'/}
  94. </td>
  95. <td>{dede:field.typeid function='GetTypename(@me)'/}</td>
  96. <td>{dede:field.ismake function='IsHtmlArchives(@me)'/}</td>
  97. <td>{dede:field.arcrank function='GetRankName(@me)'/}</td>
  98. <td>{dede:field.mid function='GetMemberName(@me)'/}</td>
  99. <td>{dede:field.senddate function='GetDateTimeMk(@me)'/}</td>
  100. <td>{dede:field.click/}</td>
  101. <td>
  102. <a href="javascript:QuickEdit('{dede:field.id/}',event,this);" class="btn btn-light btn-sm"><i class="fa fa-sliders" title="修改"></i></a>
  103. <a href="javascript:editArc({dede:field.id/});" class="btn btn-light btn-sm"><i class="fa fa-pencil-square" title="编辑"></i></a>
  104. <a href="javascript:viewArc({dede:field.id/});" class="btn btn-light btn-sm"><i class="fa fa-eye" title="预览"></i></a>
  105. </td>
  106. </tr>
  107. {/dede:datalist}
  108. <tr>
  109. <td colspan="10">
  110. <a href="javascript:selAll();" class="btn btn-success btn-sm">全选</a>
  111. <a href="javascript:noSelAll();" class="btn btn-success btn-sm">取消</a>
  112. <a href="javascript:updateArc(0);" class="btn btn-success btn-sm">更新</a>
  113. <a href="javascript:checkArc(0);" class="btn btn-success btn-sm">审核</a>
  114. <a href="javascript:adArc(0);" class="btn btn-success btn-sm">推荐</a>
  115. <a href="javascript:moveArc(event,this,<?php echo (empty($channelid) ? 0 : $channelid);?>);" class="btn btn-success btn-sm">移动</a>
  116. <a href="javascript:delArc(0);" class="btn btn-danger btn-sm">删除</a>
  117. <a href="javascript:cAtts('attsAdd',event,this);" class="btn btn-success btn-sm">添加属性</a>
  118. <a href="javascript:cAtts('attsDel',event,this);" class="btn btn-danger btn-sm">删除属性</a>
  119. </td>
  120. </tr>
  121. </tbody>
  122. </table>
  123. </div>
  124. </form>
  125. {dede:pagelist listsize='2'/}
  126. </div>
  127. </div>
  128. </div>
  129. <script>
  130. $(document).ready(function() {
  131. $('#timerange').daterangepicker({
  132. autoUpdateInput: false,
  133. timePicker: true,
  134. locale : {
  135. format: 'YYYY-MM-DD HH:mm',
  136. applyLabel: '确定',
  137. cancelLabel: '清空',
  138. daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
  139. monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  140. firstDay: 1
  141. },
  142. });
  143. $('#timerange').on('apply.daterangepicker', function(ev, picker) {
  144. $(this).val(picker.startDate.format('YYYY-MM-DD HH:mm') + ' - ' + picker.endDate.format('YYYY-MM-DD HH:mm'));
  145. });
  146. $('#timerange').on('cancel.daterangepicker', function(ev, picker) {
  147. $(this).val('');
  148. });
  149. });
  150. </script>
  151. </body>
  152. </html>