classify.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a >用户举报分类</a></li>
  7. <li><a href="{:url('Report/classify_add')}">添加</a></li>
  8. </ul>
  9. <form class="well form-inline margin-top-20" method="post" action="{:url('Report/classify')}">
  10. 关键字:
  11. <input class="form-control" type="text" name="keyword" style="width: 200px;" value="{:input('request.keyword')}"
  12. placeholder="分类名称">
  13. <input type="submit" class="btn btn-primary" value="搜索"/>
  14. <a class="btn btn-danger" href="{:url('Admin/Report/classify')}">清空</a>
  15. </form>
  16. <form method="post" class="js-ajax-form" action="{:url('Report/classify_listorders')}">
  17. <div class="table-actions">
  18. <button class="btn btn-primary btn-small js-ajax-submit" type="submit">{:lang('SORT')}</button>
  19. </div>
  20. <table class="table table-hover table-bordered">
  21. <thead>
  22. <tr>
  23. <th>序号</th>
  24. <th align="center">ID</th>
  25. <th>分类名称</th>
  26. <th>添加时间</th>
  27. <th>修改时间</th>
  28. <th align="center">{:lang('ACTIONS')}</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <php>$isdel=array("0"=>"否","1"=>"是");</php>
  33. <foreach name="lists" item="vo">
  34. <tr>
  35. <td><input name="listorders[{$vo['id']}]" type="text" size="3" value="{$vo['orderno']}" class="input input-order"></td>
  36. <td align="center">{$vo.id}</td>
  37. <td>{$vo['title']}</td>
  38. <td>{:date('Y-m-d H:i:s',$vo['addtime'])}</td>
  39. <td><if condition="$vo['updatetime'] neq '0'">{:date('Y-m-d H:i:s',$vo['updatetime'])}<else />--</if></td>
  40. <td align="center">
  41. <a class="btn btn-xs btn-primary" href="{:url('Report/classify_edit',array('id'=>$vo['id']))}">编辑</a>
  42. <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('Report/classify_del',array('id'=>$vo['id']))}">删除</a>
  43. </td>
  44. </tr>
  45. </foreach>
  46. </tbody>
  47. </table>
  48. <div class="pagination">{$page}</div>
  49. </form>
  50. </div>
  51. <script src="__STATIC__/js/admin.js"></script>
  52. </body>
  53. </html>