index.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. </ul>
  8. <form class="well form-inline margin-top-20" method="post" action="{:url('matchmaker/adminMatchmakerUser/index')}">
  9. 真实姓名:
  10. <input class="form-control" type="text" name="realname" style="width: 200px;" value="{:input('request.realname')}"
  11. placeholder="请输入真实姓名">
  12. 手机号:
  13. <input class="form-control" type="text" name="mobile" style="width: 200px;" value="{:input('request.mobile')}"
  14. placeholder="请输入手机号">
  15. <input type="submit" class="btn btn-primary" value="搜索"/>
  16. <a class="btn btn-danger" href="{:url('matchmaker/adminMatchmakerUser/index')}">清空</a>
  17. </form>
  18. <form method="post" class="js-ajax-form">
  19. <table class="table table-hover table-bordered">
  20. <thead>
  21. <tr>
  22. <th>ID</th>
  23. <th>真实姓名</th>
  24. <th>电话号码</th>
  25. <th>所属红娘</th>
  26. <th>性别</th>
  27. <th>生日</th>
  28. <th>身高CM</th>
  29. <th>体重KG</th>
  30. <th>{:lang('ACTIONS')}</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. <foreach name="list" item="vo">
  35. <tr>
  36. <td>{$vo.id}</td>
  37. <td>{$vo['realname']}</td>
  38. <td>{$vo['mobile']}</td>
  39. <td>{$vo['matchmaker']['name']}</td>
  40. <td>{$vo['sex'] == 1 ? '男' : '女'}</td>
  41. <td>{:date('Y-m-d',$vo['birthday'])}</td>
  42. <td>{$vo['high'] == 0 ? '未知' : $vo['high']}</td>
  43. <td>{$vo['weight'] == 0 ? '未知' : $vo['high']}</td>
  44. <td>
  45. <a class="btn btn-xs btn-primary" href="javascript:detail({$vo.id})">详情</a>
  46. </td>
  47. </tr>
  48. </foreach>
  49. </tbody>
  50. </table>
  51. <div class="pagination">
  52. {$page}
  53. <li class="page-item"><span>共{$total}条</span></li>
  54. </div>
  55. </form>
  56. </div>
  57. <script src="__STATIC__/js/admin.js"></script>
  58. <script>
  59. function reloadPage(win) {
  60. win.location.reload();
  61. }
  62. function detail(id) {
  63. parent.openIframeLayer("/matchmaker/admin_matchmaker_user/show/id/"+id+".html",'详情',{});
  64. }
  65. </script>
  66. </body>
  67. </html>