ajax_get_user.html
2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<div class="bDiv" style="height: auto;">
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
<table>
<tbody>
<volist name="userList" id="list">
<tr>
<td class="sign" width="24px">
<div><input type="checkbox" name="user_id[]" value="{$list.user_id}"/></div>
</td>
<td class="" align="left" width="15%">
<div style="text-align: left; ">{$list.user_id}</div>
</td>
<td class="" align="left" width="15%">
<div style="text-align: center;">{$user_level[$list[level]]}</div>
</td>
<td class="" align="left" width="15%">
<div style="text-align: center;">
<if condition=" $list[nickname] eq null">
<if condition=" $list[oauth] eq 'weixin'">微信用户</if>
<if condition=" $list[oauth] eq 'weibo'">微博用户</if>
<if condition=" $list[oauth] eq 'alipay'">支付宝用户</if>
<if condition=" $list[oauth] eq 'qq'">QQ用户</if>
<else />
{$list.nickname}
</if>
</div>
</td>
<td class="" align="left" width="15%">
<div style="text-align: center; ">{$list.mobile}</div>
</td>
<td class="" align="left" width="22.5%">
<div style="text-align: center;">{$list.email}</div>
</td>
<td class="" align="center" width="15%">
<div style="text-align: center;">
<a class="btn red" onclick="$(this).parent().parent().parent().remove();"><i class="fa fa-trash-o"></i>删除</a>
</div>
</td>
<td class="" style="width: 100%;" align="">
<div> </div>
</td>
</tr>
</volist>
</tbody>
</table>
</div>
<div class="iDiv" style="display: none;"></div>
</div>
<!--分页位置-->
<div class="te_le">
{$page}
</div>
<div class="bot"><a onclick="doconfirm();" class="ncap-btn-big ncap-btn-green">确认发送</a></div>
<script>
$(document).ready(function(){
$('#count').empty().html('{$pager->totalRows}');
});
$(".pagination a").click(function(){
var page = $(this).data('p');
ajax_get_table('search-form2',page);
});
</script>