<%@ Page Language="vb" AutoEventWireup="false" Codebehind="DiceBet.aspx.vb" Inherits="LuckBet.DiceBet"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Bet</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">
	</HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="750" align="center" border="0">
				<TR>
					<TD vAlign="top" align="right">
						<TABLE id="Table7" style="BORDER-RIGHT: #fad563 1px solid; BORDER-TOP: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 28px"
							cellSpacing="0" cellPadding="0" width="750" border="0">
							<TR>
								<TD>
									<TABLE id="Table8" cellSpacing="0" cellPadding="0" width="100%" border="0">
										<TR>
											<TD><IFRAME marginWidth="0" marginHeight="0" src='../Dice/kx16Clock.aspx' frameBorder="0" width="100%"
													scrolling="no" height='22'></IFRAME>
											</TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
						<TABLE id="Table9" style="WIDTH: 750px" height="10" cellSpacing="0" cellPadding="0" width="750"
							border="0">
							<TR>
								<TD height="10"></TD>
							</TR>
							<TR>
								<TD style="HEIGHT: 31px" align="center"><FONT face="宋体">
										<asp:TextBox id="txtsearchstr" runat="server"></asp:TextBox>
										<asp:DropDownList id="ddlstype" runat="server">
											<asp:ListItem Value="bet_number">按期号查询</asp:ListItem>
											<asp:ListItem Value="bet_result">按结果查询</asp:ListItem>
										</asp:DropDownList>
										<asp:Button id="Button1" runat="server" Width="58px" Text="查 询"></asp:Button></FONT></TD>
							</TR>
							<TR>
								<TD height="10"></TD>
							</TR>
						</TABLE>
						<TABLE id="Table28" cellSpacing="0" cellPadding="0" width="750" border="0">
							<TR>
								<TD align="right"><asp:datalist id="DataList1" runat="server" Width="750px" RepeatDirection="Horizontal" RepeatColumns="1">
										<HeaderTemplate>
											<TABLE id="Table111" style="BORDER-RIGHT: #fad563 1px solid;  BORDER-TOP: #fad563 1px solid;  BORDER-LEFT: #fad563 1px solid; WIDTH: 750px;  BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 31px"
												cellSpacing="0" cellPadding="0" width="750" border="1" borderColor="#fad563">
												<TR>
													<TD align="center" width="82" background="../Images/bg.gif">期号</TD>
													<TD align="center" width="100" background="../Images/bg.gif">开奖时间</TD>
													<TD align="center" width="165" background="../Images/bg.gif">开奖结果</TD>
													<TD align="center" width="120" background="../Images/bg.gif">已投金币总数</TD>
													<TD align="center" width="95" background="../Images/bg.gif">参与人数</TD>
													<TD align="center" width="95" background="../Images/bg.gif">中奖人数</TD>
													<TD align="center" width="82" background="../Images/bg.gif">中奖金币</TD>
												</TR>
											</TABLE>
										</HeaderTemplate>
										<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
										<ItemTemplate>
											<TABLE id="Table128" style="BORDER-RIGHT: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 25px"
												borderColor="#fad563" cellSpacing="0" cellPadding="0" width="750" align="right" border="1">
												<TR>
													<TD align="center" width="82" style="FONT-SIZE: 11pt"><%# databinder.eval(container.dataitem,"bet_number") %></TD>
													<TD align="center" width="100"><%# pubsql.Format_Time(databinder.eval(container.dataitem,"bet_opendate"),8) %></TD>
													<TD align="center" width="165" valign="top">
														<asp:Panel id="Plresult" runat="server"></asp:Panel>
													</TD>
													<TD align="right" width="120"><font color="red" style="FONT-SIZE: 11pt"><%# pubsql.Comma(databinder.eval(container.dataitem,"bet_coinAmount")) %></font><IMG src="../images/Images_36.gif"></TD>
													<TD align="center" width="95" style="FONT-SIZE: 11pt"><a href ='kx16detal.aspx?bnumber=<%# databinder.eval(container.dataitem,"bet_number") %>' target =_blank ><u><%# databinder.eval(container.dataitem,"bet_betAmount") %></u></a>
													</TD>
													<TD align="center" width="95"><a href ='luck28ResultForAdmin.aspx?bnumber=<%# databinder.eval(container.dataitem,"bet_number") %>' target =_blank ><FONT color="red" style="FONT-SIZE: 11pt"><B><u><%# iif(databinder.eval(container.dataitem,"bet_winnumber")=0,"",databinder.eval(container.dataitem,"bet_winnumber")) %></u></B></FONT></a><%# iif(databinder.eval(container.dataitem,"bet_winnumber")=0,"0","") %>
													</TD>
													<TD align="center" width="82">
														<asp:Panel id="Plto" runat="server"></asp:Panel>
													</TD>
												</TR>
											</TABLE>
										</ItemTemplate>
									</asp:datalist></TD>
							</TR>
							<TR>
								<TD style="HEIGHT: 32px" align="center" height="32">共
									<asp:label id="lblcountpage" runat="server" ForeColor="Red" Font-Names="Arial" Font-Bold="True">1</asp:label>页/共
									<asp:label id="lblcount" runat="server" ForeColor="Red" Font-Names="Arial" Font-Bold="True">1</asp:label>条&nbsp;
									<asp:hyperlink id="lnkFirst" runat="server"></asp:hyperlink>&nbsp;
									<asp:hyperlink id="lnkPrev" runat="server"></asp:hyperlink>&nbsp;
									<asp:label id="lbPager" runat="server"></asp:label>&nbsp;
									<asp:hyperlink id="lnkNext" runat="server"></asp:hyperlink>&nbsp;
									<asp:hyperlink id="lnkLast" runat="server"></asp:hyperlink>&nbsp;转到
									<asp:dropdownlist id="ddlpage" runat="server"></asp:dropdownlist></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
