recyclebin.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <admintpl file="header" />
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="javascript:;">{:L('PORTAL_ADMINPAGE_RECYCLEBIN')}</a></li>
  7. </ul>
  8. <form class="well form-inline margin-top-20" method="post" action="{:U('AdminPage/recyclebin')}">
  9. 时间:
  10. <input type="text" class="form-control js-datetime" name="start_time" value="{$formget.start_time|default=''}" style="width:120px;" autocomplete="off">-
  11. <input type="text" class="form-control js-datetime" name="end_time" value="{$formget.end_time|default=''}" style="width: 120px;" autocomplete="off">
  12. 关键字:
  13. <input type="text" class="form-control" name="keyword" style="width: 200px;" value="{$formget.keyword|default=''}" placeholder="请输入关键字...">
  14. <button class="btn btn-primary">搜索</button>
  15. </form>
  16. <form class="js-ajax-form" method="post">
  17. <div class="table-actions">
  18. <button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:U('AdminPage/clean')}" data-subcheck="true" data-msg="你确定删除吗?">{:L('DELETE')}</button>
  19. </div>
  20. <table class="table table-hover table-bordered table-list">
  21. <thead>
  22. <tr>
  23. <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
  24. <th width="100">ID</th>
  25. <th>标题</th>
  26. <!-- <th>点击量</th> -->
  27. <th width="80">发布人</th>
  28. <th width="160"><span>发布时间</span></th>
  29. <th width="120">{:L('ACTIONS')}</th>
  30. </tr>
  31. </thead>
  32. <foreach name="posts" item="vo">
  33. <tr>
  34. <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}"></td>
  35. <td><a>{$vo.id}</a></td>
  36. <td><span>{$vo.post_title}</span></td>
  37. <!-- <td>0</td> -->
  38. <td>{$users[$vo['post_author']]['user_login']}</td>
  39. <td>{$vo.post_date}</td>
  40. <td>
  41. <a href="{:U('AdminPage/restore',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="确定还原吗?">还原</a>|
  42. <a href="{:U('AdminPage/clean',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
  43. </td>
  44. </tr>
  45. </foreach>
  46. <tfoot>
  47. <tr>
  48. <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
  49. <th width="100">ID</th>
  50. <th>标题</th>
  51. <!-- <th>点击量</th> -->
  52. <th width="80">发布人</th>
  53. <th width="120"><span>发布时间</span></th>
  54. <th width="120">{:L('ACTIONS')}</th>
  55. </tr>
  56. </tfoot>
  57. </table>
  58. <div class="table-actions">
  59. <button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:U('AdminPage/clean')}" data-subcheck="true" data-msg="你确定删除吗?">{:L('DELETE')}</button>
  60. </div>
  61. <div class="pagination">{$page}</div>
  62. </form>
  63. </div>
  64. <script src="__PUBLIC__/js/common.js"></script>
  65. </body>
  66. </html>