| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <include file="public@header"/>
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a href="javascript:;">所有红娘</a></li>
- <li><a href="{:url('AdminMatchmaker/add')}">添加红娘</a></li>
- </ul>
- <form class="js-ajax-form" action="" method="post">
- <table class="table table-hover table-bordered table-list">
- <thead>
- <tr>
- <th width="50">ID</th>
- <th>姓名</th>
- <th width="160">头像</th>
- <th width="160">手机号</th>
- <th width="250">操作</th>
- </tr>
- </thead>
- <foreach name="list" item="vo">
- <tr>
- <td><b>{$vo.id}</b></td>
- <td>{$vo.name}</td>
- <td>
- <notempty name="vo.avatar">
- <a href="javascript:parent.imagePreviewDialog('{:cmf_get_image_preview_url($vo.avatar)}');">
- <i class="fa fa-photo fa-fw"></i>
- </a>
- <else/>
- <i class="fa fa-close fa-fw"></i>
- </notempty>
- </td>
- <td>{$vo.mobile}</td>
- <td>
- <a class="btn btn-xs btn-primary" href="{:url('AdminMatchmaker/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
- <a class="btn btn-xs btn-danger js-ajax-delete" href="{:url('AdminMatchmaker/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
- </td>
- </tr>
- </foreach>
- </table>
- <ul class="pagination">{$page|default=''}</ul>
- </form>
- </div>
- <script src="__STATIC__/js/admin.js"></script>
- <script>
- function reloadPage(win) {
- win.location.reload();
- }
- </script>
- </body>
- </html>
|