<%@ page language="C#" autoeventwireup="true" inherits="admin_lottery_lotteryAc, 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="lotteryAc.aspx" method="get">
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<tr><td class="mhead1" colspan="8">筛选：<input type="hidden" name="id" value="<%=id%>" /><input type="radio" name="a" lay-filter="a" value="0" title="全部" /> <input name="a" type="radio" lay-filter="a" value="1" title="中奖" /> <input type="radio" lay-filter="a" name="a" value="2" title="未中奖" />  搜索号码/用户名/ID： <input type="text" size="10" class="inputText" name="k" style="width:100px;" value="<%=k%>" />　<input type="submit" class="layui-btn layui-btn-small" value="搜索" />
</td></tr>
</table>
</form>
<script language="javascript" type="text/javascript">
layui.use(['form','laydate'], function(){
var form = layui.form();
form.render();
form.on('radio(a)', function(data){
$("#fSearch").submit();
});
});
function goPage()
{
	window.location.replace("lotteryAc.aspx?k=<%=k%>&a=<%=a%>&id=<%=id%>&p="+document.getElementById("iPageIndex").value);
}
ckRadio("a","<%=a %>");
</script>
<table width="100%" border="0" class="layui-table" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td width="70" class="mhead1">Id</td>
<td width="70" class="mhead1">用户类型</td>
<td width="300" class="mhead1">用户ID/微信OpenId</td>
<td width="100" class="mhead1">用户名</td>
<td width="200" class="mhead1">抽奖号码</td>
<td width="100" class="mhead1">是否中奖</td>
<td width="100" class="mhead1">抽奖日期</td>
<td width="120" align="center" class="mhead1"><div class="inputButtomCl"><a style="font-weight:bolder; color:#ff6600;" href="../action.aspx?s=lotteryAc1&id=<%=id%>">随机抽选</a></div></td>
</tr>
</thead>
<%=sList %>
<tr>
<td class="mhead1" colspan="8">页码 <%=iPageIndex.ToString() %>/<%=iPageCount.ToString() %> <span class="color3">|</span> <a href="lotteryAc.aspx?p=1&k=<%=k%>&a=<%=a%>&id=<%=id%>">首页</a> <a href="lotteryAc.aspx?p=<%=iTp.ToString()%>&k=<%=k%>&a=<%=a%>&id=<%=id%>">上一页</a> <a href="lotteryAc.aspx?p=<%=iNp.ToString()%>&k=<%=k%>&a=<%=a%>&id=<%=id%>">下一页</a> <a href="lotteryAc.aspx?p=<%=iPageCount.ToString()%>&k=<%=k%>&a=<%=a%>&id=<%=id%>">尾页</a> <span class="color3">|</span> <input type="text" class="inputText" size="5" id="iPageIndex" /> <input type="button" value="转到" class="bt1" onclick="goPage()" /></td>
</tr>
</table>
</div>
</div></div>
</body>
</html>
