<%@ Register TagPrefix="uc1" TagName="Footer" Src="../WebControls/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../WebControls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="UserLeft" Src="../WebControls/UserLeft.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="upprizejl.aspx.vb" Inherits="LuckBet.upprizejl"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>
			<% =webname%>
			|
			<% =Title%>
			| 兑奖记录</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta content="<% =Keywords%>" name=Keywords>
		<meta content="<% =description%>" name=description>
		<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="top" height="29" cellSpacing="0" cellPadding="0" width="100%" align="center"
				border="0">
				<TR>
					<TD align="center"><uc1:header id="Header1" runat="server"></uc1:header></TD>
				</TR>
			</TABLE>
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="960" align="center" border="0">
				<TR>
					<TD vAlign="top" width="200">
						<uc1:UserLeft id="UserLeft1" runat="server"></uc1:UserLeft>
					</TD>
					<TD vAlign="top" align="center"><FONT face="宋体">
							<TABLE id="Table3" style="HEIGHT: 254px" cellSpacing="0" cellPadding="0" width="557" border="0">
								<TR>
									<TD class="font1" style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #ffffff; HEIGHT: 32px"
										vAlign="middle" width="557" background="../Images/o2_03.gif" height="32">&nbsp;&nbsp; 
										兑换记录</TD>
								</TR>
								<TR>
									<TD style="BACKGROUND-REPEAT: repeat-y" vAlign="top" align="center" background="../Images/o2_05.gif">
										<TABLE id="Table2" style="WIDTH: 522px; HEIGHT: 32px" cellSpacing="0" cellPadding="0" width="522"
											align="center" border="0">
											<TR>
												<TD>总共有&nbsp;
													<asp:label id="lblcount" runat="server" ForeColor="Red"></asp:label>&nbsp;条 记录
													<asp:label id="lblCurrentIndex" runat="server"></asp:label>&nbsp;
													<asp:label id="lblPageCount" runat="server"></asp:label></TD>
											</TR>
										</TABLE>
										<TABLE id="Table28" cellSpacing="0" cellPadding="0" width="523" border="0">
											<TR>
												<TD align="right">
													<asp:datagrid id="DataGrid1" runat="server" Width="100%" BorderStyle="None" BorderWidth="1px"
														BorderColor="#93BEE2" BackColor="White" PageSize="12" AllowPaging="True" DataKeyField="ID"
														AutoGenerateColumns="False" CellPadding="3">
														<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
														<AlternatingItemStyle Font-Size="X-Small" BackColor="#E8F4FF"></AlternatingItemStyle>
														<ItemStyle Font-Size="X-Small" ForeColor="#003399" BackColor="White"></ItemStyle>
														<HeaderStyle Font-Size="X-Small" ForeColor="White" BackColor="#337FB2"></HeaderStyle>
														<Columns>
															<asp:TemplateColumn HeaderText="奖品名称">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<a href='ShowPro.aspx?id=<%# databinder.eval(container.dataitem,"pj_pid") %>' target="_blank">
																		<strong>
																			<%# databinder.eval(container.dataitem,"pj_ptitle") %>
																		</strong></a>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="兑奖时间">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Label runat="server" Text='<%# databinder.eval(container.dataitem,"pj_date") %>' ID="Label3">
																	</asp:Label>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="使用金币">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<%# pubsql.Comma(databinder.eval(container.dataitem,"pj_price")) %>
																	<img src='../images/icon3.gif' border="0">
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="记录号">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Label runat="server" Text='<%# databinder.eval(container.dataitem,"pj_number") %>' ID="Label2">
																	</asp:Label>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="状态">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Label runat="server" ID="lblstate" name="lblstate"></asp:Label>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:ButtonColumn Text="<IMG height=14 src='../images/delete.gif' border=0 >取消兑换" HeaderText="操作"
																CommandName="Delete">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:ButtonColumn>
														</Columns>
														<PagerStyle NextPageText="上一页" PrevPageText="下一页" HorizontalAlign="Right" ForeColor="#003399"
															BackColor="#E8F4FF"></PagerStyle>
													</asp:datagrid></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
								<TR>
									<TD height="13"><IMG height="14" src="../Images/o2_07.gif" width="557"></TD>
								</TR>
							</TABLE>
						</FONT>
					</TD>
				</TR>
			</TABLE>
			<TABLE id="bottom" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD><uc1:footer id="Footer1" runat="server"></uc1:footer></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
