<%@ page language="C#" autoeventwireup="true" inherits="admin_weiyouhui_weiyouhui, 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" action="weiyouhui.aspx" class="layui-form" method="get">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="mhead1" colspan="6">筛选：<input type="radio" name="w" checked="checked" value="0" lay-filter="w" title="全部" /><input type="radio" name="w" value="1" lay-filter="w" title="显示" /><input type="radio" name="w" lay-filter="w" value="2" title="不显示" /><input type="radio" name="w" value="3" lay-filter="w" title="到期" /> 搜索：<input type="text" size="10" name="k" class="inputText" value="<%=k%>" />　<input type="submit" class="layui-btn layui-btn-small" value="搜索" />
</td></tr>
</table>
</form>
<script language="javascript" type="text/javascript">
ckRadio("w","<%=w%>");
function goPage()
{
	window.location.replace("weiyouhui.aspx?k=<%=k %>&w=<%=w%>&p="+document.getElementById("iPageIndex").value)
}

layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(w)', 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();
});
});
</script>
<form action="action.aspx?s=setWeiyouhui" class="layui-form" method="post" name="del">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="mhead1" colspan="6">操作：<input type="radio" checked="checked" value="1" name="a" title="显示" /><input type="radio" value="2" name="a" title="不显示" /><input type="radio" value="0" name="a" title="删除" /> <input type="submit" class="layui-btn layui-btn-small" name="Submit" value="提交" /></td></tr>
</table>
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td width="120" class="mhead1"><input type="checkbox"  lay-filter="checkAll" lay-skin="primary" /> 全选 用户 id</td>
<td width="80" class="mhead1">是否显示</td>
<td width="" class="mhead1">商家名</td>
<td width="80" class="mhead1">会员数量</td>
<td width="450" class="mhead1">操作</td></tr>
</thead>
<%=sList %>
</form>
<tr>
<td class="mhead1" colspan="6">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="weiyouhui.aspx?p=1&k=<%=k%>&w=<%=w%>">首页</a> <a href="weiyouhui.aspx?p=<%=iTp.ToString()%>&k=<%=k%>&w=<%=w%>">上一页</a> <a href="weiyouhui.aspx?p=<%=iNp.ToString()%>&k=<%=k%>&w=<%=w%>">下一页</a> <a href="weiyouhui.aspx?p=<%=iPageCount.ToString()%>&k=<%=k%>&w=<%=w%>">尾页</a> <span class="color3">|</span> <input type="text" size="5" id="iPageIndex" class="inputText" /> <input type="button" value="转到" onclick="goPage()" class="bt1" /></td>
		  </tr>
</table>
</div>
</div></div>
</body>
</html>
