<%@ Page Language="vb" AutoEventWireup="false" Codebehind="main.aspx.vb" Inherits="LuckBet.main"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>main</title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="../Styles.css" type="text/css" rel="stylesheet">
		<script language="JavaScript" src="../JS/GetDate.js"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="0" borderColorDark="#ffffff" cellPadding="3" width="100%"
				bgColor="#c5d5e4" borderColorLight="#335078" border="1">
				<TR bgColor="#b6ebc4">
					<TD width="100%" bgColor="#d8e1eb" colSpan="6" align="left">
						<TABLE class="tableborder" id="Table5" style="WIDTH: 600px; HEIGHT: 80px" cellSpacing="1"
							cellPadding="3" border="1" bgColor="#ffffff">
							<TR>
								<TH style="HEIGHT: 30px" align="left" width="100%" background="../Images/th_bg.gif">
									<STRONG class="STYLE4" style="COLOR: #ffffff">清理数据</STRONG></TH></TR>
							<TR>
								<TD align="center">
									<P class="STYLE2">清理
										<asp:textbox id="txtbetTime" onfocus="setday(this);" runat="server" Width="85px" ReadOnly="True"></asp:textbox>之前的数据
										<asp:Button id="Button1" runat="server" Text="确定清理"></asp:Button></P>
								</TD>
							</TR>
						</TABLE>
						<TABLE class="tableborder" id="Table2" cellSpacing="1" cellPadding="3" width="600" border="1"
							bgColor="#ffffff" style="WIDTH: 600px; HEIGHT: 200px">
							<TR>
								<TH style="COLOR: #ffffff" align="left" width="100%" background="../Images/th_bg.gif"
									height="30">
									今日信息</TH></TR>
							<TR>
								<TD><SPAN class="STYLE2"> 新注册会员：<A href="UserManage.aspx"><U><% =regNum%></U></A>个；认证会员：<U><%=vipNum%></U>个；待审核会员：<%=WaitVip%>个</SPAN></TD>
							</TR>
							<TR>
								<TD><SPAN class="STYLE2"> 在线充值人数：<A href="czlist.aspx?sk=<% =FormatdateTime(now(),2)%>&amp;st=4"><U><%=payOnlineNum%></U></A>个；金额：<A href="czlist.aspx?sk=<% =FormatdateTime(now(),2)%>&amp;st=4"><U><%=payMoney%></U></A>元</SPAN></TD>
							</TR>
							<TR>
								<TD><SPAN class="STYLE2"> 充值卡使用数：<A href="czlist.aspx?sk=<% =FormatdateTime(now(),2)%>&amp;st=1"><U><%=czCardNum%></U></A>张</SPAN></TD>
							</TR>
							<TR>
								<TD style="HEIGHT: 33px"><SPAN class="STYLE2"> 今日兑奖申请：<A href="prizeAsk.aspx"><U><%=djNum%></U></A>条</SPAN></TD>
							</TR>
							<TR style="DISPLAY: none">
								<TD>
									<P class="STYLE2">
										中奖总金额：<FONT style="FONT-WEIGHT: bold; FONT-SIZE: 14px"><%=pub.Comma(zjSum)%></FONT>
										金币</P>
								</TD>
							</TR>
						</TABLE>
						<TABLE id="Table3" cellSpacing="1" cellPadding="3" border="1" width="600" bgColor="#ffffff">
							<TR>
								<td align="left" width="600" background="../Images/th_bg.gif" height="30">
									<STRONG style="COLOR: #ffffff">统计信息</STRONG></td>
							</TR>
							<TR>
								<TD>
									<P>共有会员：<%=alluser%>
										个 认证会员:<%=allvip%>
										个 待审核会员：<%=allwait%>个
									</P>
									<table width="584" border="0" cellpadding="3" cellspacing="0" bgcolor="#ffffff" style="BORDER-RIGHT:#999999 1px solid; BORDER-TOP:#999999 1px solid; BORDER-LEFT:#999999 1px solid; WIDTH:584px; BORDER-BOTTOM:#999999 1px solid; HEIGHT:147px">
										<tr>
											<td height="30" align="right" style="WIDTH: 148px"><span class="STYLE2 STYLE2">已投注未开奖金币：</span></td>
											<td><span class="STYLE2 STYLE2"><FONT face="宋体"></FONT><%=pub.Comma(TotleCoin1)%></span></td>
										</tr>
										<tr>
											<td height="30" align="right" style="WIDTH: 148px"><span class="STYLE2">未消费完广告投入：</span></td>
											<td><span class="STYLE2"><%=pub.Comma(TotleCoin3)%></span></td>
										</tr>
										<tr>
											<td height="30" align="right" style="WIDTH: 148px"><span class="STYLE2">待审核中奖品兑换总金币：</span></td>
											<td><span class="STYLE2"><%=pub.Comma(TotleCoin4)%></span></td>
										</tr>
										<tr>
											<td height="30" align="right" class="TDdashed" style="WIDTH: 148px"><span class="STYLE2">用户帐户总金币：</span></td>
											<td class="TDdashed"><span class="STYLE2"><%=pub.Comma(TotleCoin2)%></span></td>
										</tr>
										<tr>
											<td height="24" align="right" style="WIDTH: 148px"><span class="STYLE2">共计：</span></td>
											<td><span class="STYLE2"><%=pub.Comma(clng(TotleCoin1)+clng(TotleCoin2)+clng(TotleCoin3)+clng(TotleCoin4))%>
													金币 </span>
											</td>
										</tr>
									</table>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
			</TD></TR></TABLE>
		</form>
	</body>
</HTML>
