<%@ page language="C#" autoeventwireup="true" inherits="admin_user, kfenlei" %><%@ Register Src="inc/adminTop.ascx" TagName="adminTop" TagPrefix="qth8" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>框分类信息系统 后台管理</title>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
<div class="main" align="left">
<qth8:adminTop ID="AdminTop1" runat="server" />
<div class="d01">
<div class="tabTitle">用户管理<span class="tabTitleCom">共<%=iRecordCount%>条</span></div>
<form name="fSearch" id="fSearch" class="layui-form" action="user.aspx" method="get">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="mhead1" colspan="8"><div class="layui-input-inline">筛选：</div><div class="layui-input-inline">
<input type="radio" name="w" lay-filter="w" checked="checked" value="0" title="全部" /><input type="radio" name="w" lay-filter="w" value="1" title="会员" /><input type="radio" name="w" lay-filter="w" value="2" title="商家" /><input type="radio" name="w" lay-filter="w" value="3" title="微优惠" /></div>
<div class="layui-input-inline">认证：</div> <div class="layui-input-inline">
<input type="radio" name="a" lay-filter="a" checked="checked" value="0" title="全部" /><input type="radio" name="a" lay-filter="a" value="1" title="认证" /><input type="radio" name="a" lay-filter="a" value="2" title="未认证" /></div>
<div class="layui-input-inline">类别：</div> 
<div class="layui-input-inline"><input type="radio" name="s" lay-filter="s" checked="checked" value="0" title="全部" /><input type="radio" name="s" lay-filter="s" value="1" title="个人" /><input type="radio" name="s" lay-filter="s" value="2" title="中介" /></div>
 <div class="layui-input-inline">搜索：</div>
<input type="text" size="10" name="k" value="<%=k%>" class="inputText" />　<input type="submit" class="layui-btn layui-btn-small" value="搜索" />
</td>
</tr></table>
</form>
<script language="javascript" type="text/javascript">
ckRadio("w","<%=w%>");
ckRadio("a","<%=a%>");
ckRadio("s","<%=s%>");
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(w)', function(data){
$("#fSearch").submit();
});
form.on('radio(s)', function(data){
$("#fSearch").submit();
});
form.on('radio(a)', function(data){
$("#fSearch").submit();
});
form.on('checkbox(checkAll)', function(data){
if(data.elem.checked)
{
	$("input[name='id']").prop("checked",true);
}
else
{
	$("input[name='id']").prop("checked",false);
}
	form.render();
});
});
function goPage()
{
	window.location.replace("user.aspx?a=<%=a %>&k=<%=k %>&w=<%=w%>&s=<%=s%>&p="+document.getElementById("iPageIndex").value)
}
</script>
<form action="action.aspx?s=User" class="layui-form" method="post" name="del">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="mhead1" colspan="8">操作 <input type="radio" value="0" name="a" title="删除" checked="checked" /> <input type="submit" name="Submit" value="提交" class="layui-btn layui-btn-small" /></td></tr>
</table>
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td width="100"><input type="checkbox" lay-filter="checkAll" lay-skin="primary" /> 全选 id</td>
<td width="40">认证</td>
<td width="40">商家</td>
<td width="60">微优惠</td>
<td width="70" align="center">类别</td>
<td width="320">用户名/名称</td>
<td width="160">注册日期/注册IP</td>
<td width="160">登录日期/登录IP</td>
<td width="280"><a href="userAdd.aspx" class="layui-btn layui-btn-small" />添加用户</a></td></tr>
</thead>
<%=sList %>
</form>
<tr>
<td class="mhead1" colspan="9">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="user.aspx?p=1&a=<%=a%>&k=<%=k%>&w=<%=w%>&s=<%=s%>">首页</a> <a href="user.aspx?p=<%=iTp.ToString()%>&a=<%=a%>&k=<%=k%>&w=<%=w%>&s=<%=s%>">上一页</a> <a href="user.aspx?p=<%=iNp.ToString()%>&a=<%=a%>&k=<%=k%>&w=<%=w%>&s=<%=s%>">下一页</a> <a href="user.aspx?p=<%=iPageCount.ToString()%>&a=<%=a%>&k=<%=k%>&w=<%=w%>&s=<%=s%>">尾页</a> <span class="color3">|</span> <input type="text" size="5" id="iPageIndex" class="inputText" /> <input type="button" value="转到" class="bt1" onclick="goPage()" /></td>
</tr>
</table>
</div>
</div></div>
</body>
</html>
