80 lines
3.7 KiB
HTML
80 lines
3.7 KiB
HTML
<include file="Inc:header"/>
|
|
<div class="container-fluid">
|
|
<div class="main_head">
|
|
<div class="main_tab" style="width:40%; margin-top:10px;">
|
|
<h1>{$pagetitle}</h1>
|
|
</div>
|
|
<div class="main_add" style="width:60%;">
|
|
<form action="__ACTION__" method="get">
|
|
<label>手机:<input name="mobile" value="{:I('get.mobile')}" class="span2"></label>
|
|
<label>姓名:<input name="truename" value="{:I('get.truename')}" class="span2"></label>
|
|
<button class="btn btn-inverse">搜索</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align:right; float:right"></div>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div class="widget-box">
|
|
<div class="widget-content nopadding">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th width="10%">会员编码</th>
|
|
<th>姓名</th>
|
|
<th>手机</th>
|
|
<th>公司</th>
|
|
<th>会员类型</th>
|
|
<th>登录次数</th>
|
|
<th>最后登录时间</th>
|
|
<th>最后登录IP</th>
|
|
<th>状态</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<foreach name="data" item="v" >
|
|
<tr>
|
|
<td style="text-align: center;">{$v['member_id']}</td>
|
|
<td class="center tab-title"><a href="{:U('Member/detail',array('member_id'=>$v[member_id]))}" class="iframe">{$v['truename']}</a></td>
|
|
<td class="center tab-title">{$v['mobile']}</td>
|
|
<td class="center tab-title">{$v['company_name']}</td>
|
|
<td class="center">{$v['member_type']=='company'?'企业会员':'个人会员'}</td>
|
|
<td class="center">{$v['login_num']}</td>
|
|
<td class="center"><?=$v['last_login_time']?date("Y-m-d H:i:s",$v['last_login_time']):"-"?></td>
|
|
<td class="center">{$v['last_login_ip']?$v['last_login_ip']:"-"}</td>
|
|
<td class="center">
|
|
<if condition="$v.status eq 1 ">
|
|
<span class="label label-success">正常</span>
|
|
<else />
|
|
<span class="label">禁用</span>
|
|
</if>
|
|
</td>
|
|
<td class="center">
|
|
<a href="{:U('editor',array('member_id'=>$v[member_id]))}" class="btn btn-inverse btn-mini iframe" width="70%" height="80%">修改</a>
|
|
<!--<a href="{:U("delete",array("member_id"=>$v[member_id]))}" class="btn btn-inverse btn-mini ajax_del">删除</a>-->
|
|
<if condition="$v.status eq 1 ">
|
|
<a href="{:U('setDisable',array('member_id'=>$v[member_id]))}" class="btn btn-inverse btn-mini ajax_del" confirm_info="确定要禁用吗?">禁用</a>
|
|
<else />
|
|
<a href="{:U('setEnable',array('member_id'=>$v[member_id]))}" class="btn btn-inverse btn-mini ajax_del" confirm_info="确定要解除禁用吗?">开启</a>
|
|
</if>
|
|
|
|
</td>
|
|
</tr>
|
|
</foreach>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="pagination alternate">
|
|
<ul>{$listpage}</ul>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<include file="Inc/footer"/> |