card.html 3.3 KB
<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>信贷员列表</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('user/adminIndex/card')}">
        关键字:
        <input class="form-control" type="text" name="keyword" style="width: 200px;" value="{:input('request.keyword')}"
               placeholder="请输入关键字">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('user/adminIndex/card')}">重置</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>序号</th>
                <!--<th>{:lang('USERNAME')}</th>-->
                <th>{:lang('AVATAR')}</th>
                <th>{:lang('NICENAME')}</th><!---->
                <!--<th>{:lang('EMAIL')}</th>-->
                <th>手机</th>
                <th>{:lang('REGISTRATION_TIME')}</th>
                <th>{:lang('LAST_LOGIN_TIME')}</th>
                <th>{:lang('LAST_LOGIN_IP')}</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <php>
                $user_statuses=array("0"=>lang('USER_STATUS_BLOCKED'),"1"=>lang('USER_STATUS_ACTIVATED'),"2"=>lang('USER_STATUS_UNVERIFIED'));
            </php>
            <foreach name="list" item="vo" key="key">
                <tr>
                    <td>{$key+1}</td>
                    <!--<td>{$vo['user_login']?$vo['user_login']:($vo['mobile']?$vo['mobile']:lang('THIRD_PARTY_USER'))}
                    </td>-->
                    <td><img width="25" height="25" src="{:url('user/public/avatar',array('id'=>$vo['id']))}"/></td>
                    <td>{$vo['user_nickname']?$vo['user_nickname']:lang('NOT_FILLED')}</td>
                    <!--<td>{$vo.user_email}</td>-->
                    <td>{$vo.mobile}</td>
                    <td>{:date('Y-m-d H:i:s',$vo['create_time'])}</td>
                    <td>{:date('Y-m-d H:i:s',$vo['last_login_time'])}</td>
                    <td>{$vo.last_login_ip}</td>
                    <td>
                        <a href="{:url('adminIndex/recommend',array('id'=>$vo['card_id']))}"
                           class="js-ajax-dialog-btn">
                            <if condition="$vo.is_recommend == 1">取消推荐<else/>推荐</if>
                        </a>
                        <a href="{:url('adminIndex/ban',array('id'=>$vo['id']))}"
                           class="js-ajax-dialog-btn">拉黑</a>
                        <a href="{:url('adminIndex/getInfo',array('id'=>$vo['id']))}"
                           class="">查看详情</a>
                        <a href="{:url('adminIndex/likeList',array('id'=>$vo['card_id']))}"
                           class="">意向用户</a>
                        <a href="{:url('adminIndex/rechargeList',array('id'=>$vo['id']))}"
                           class="">充值记录</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>