<%@ Page Language="vb" AutoEventWireup="false" Codebehind="prizeAsk.aspx.vb" Inherits="LuckBet.prizeAsk"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>prizeAsk</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">
		<LINK href="../Styles.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" style="FONT-SIZE: 12px; LETTER-SPACING: 1px" cellSpacing="0" borderColorDark="#ffffff"
				cellPadding="3" width="100%" align="center" bgColor="#c5d5e4" borderColorLight="#335078"
				border="1">
				<TR bgColor="#b6ebc4">
					<TD style="HEIGHT: 35px" align="center" width="100%" bgColor="#d8e1eb" colSpan="6"><FONT face="宋体"><FONT style="FONT-WEIGHT: bold; FONT-SIZE: 13pt; COLOR: #330066" size="2">兑 
								奖 管 理</FONT></FONT></TD>
				</TR>
				<TR>
					<TD align="center"><FONT face="宋体">
							<TABLE id="Table22" style="FONT-SIZE: 12px; LETTER-SPACING: 1px" cellSpacing="0" borderColorDark="#ffffff"
								cellPadding="3" width="99%" align="center" bgColor="#c5d5e4" borderColorLight="#335078"
								border="1">
								<TR bgColor="#b6ebc4">
									<TD align="center" width="100%" bgColor="#e4ebf1" colSpan="3" height="25">
										<TABLE id="Table3" height="40" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR>
												<TD align="center"><asp:checkbox id="CheckBox1" runat="server" AutoPostBack="True" Text="选中所有"></asp:checkbox>&nbsp;&nbsp;<asp:dropdownlist id="ddltype" runat="server" AutoPostBack="True">
														<asp:ListItem Value="1">待审核…</asp:ListItem>
														<asp:ListItem Value="2">审核未通过</asp:ListItem>
														<asp:ListItem Value="3">审核通过，等待发货通知</asp:ListItem>
														<asp:ListItem Value="4">已发货</asp:ListItem>
														<asp:ListItem Value="5">已取消兑换</asp:ListItem>
													</asp:dropdownlist>&nbsp;&nbsp;&nbsp;&nbsp;更改状态为：
													<asp:dropdownlist id="ddlctype" runat="server"></asp:dropdownlist>&nbsp;&nbsp;<asp:button id="Button3" runat="server" Text="确定提交" Width="67px"></asp:button><FONT face="宋体">&nbsp;</FONT>
													<asp:button id="Button2" runat="server" Text="删除记录"></asp:button></TD>
											</TR>
										</TABLE>
										<FONT face="宋体">
											<asp:linkbutton id="btnFirst" onclick="PageButtonClick" runat="server" Font-Name="verdana" CommandArgument="0">最前页

</asp:linkbutton>&nbsp; &nbsp;
											<asp:linkbutton id="btnPrev" onclick="PageButtonClick" runat="server" CommandArgument="prev">上一页

</asp:linkbutton>&nbsp; &nbsp;
											<asp:linkbutton id="btnNext" onclick="PageButtonClick" runat="server" CommandArgument="next">下一页

</asp:linkbutton>&nbsp; &nbsp;
											<asp:linkbutton id="btnLast" onclick="PageButtonClick" runat="server" CommandArgument="last">最后页

</asp:linkbutton>&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></FONT></TD>
								</TR>
							</TABLE>
							<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
								<TR>
									<TD style="HEIGHT: 169px" vAlign="top" align="center"><FONT face="宋体"><asp:datagrid id="DataGrid1" runat="server" Width="100%" AllowPaging="True" DataKeyField="ID"
												BackColor="White" AutoGenerateColumns="False" CellPadding="3" PageSize="18" BorderColor="#93BEE2" BorderWidth="1px" BorderStyle="None" AllowCustomPaging="True">
												<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" Width="25px"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:CheckBox id="PID" runat="server"></asp:CheckBox>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="ID/名称">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<a href ='../Games/ShowPro.aspx?Id=<%# DataBinder.Eval(Container, "DataItem.pj_pid") %>' target =_blank >
																<%# DataBinder.Eval(Container, "DataItem.pj_ptitle") %>
															</a>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="申请兑换会员名">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<a href ='prizeAsk.aspx?Uid=<%# DataBinder.Eval(Container, "DataItem.pj_userid") %>' target =_blank >
																<%# pub.GetUserInfo("UserName",DataBinder.Eval(Container, "DataItem.pj_userid")) %>
															</a>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="兑换价">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<%# pub.Comma(DataBinder.Eval(Container, "DataItem.pj_price")) %>
															<IMG src="../Images/images_36.gif">
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn HeaderText="状态">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<%# iif(DataBinder.Eval(Container, "DataItem.pj_state")="1","<font color=red>待审核…</font>","") %>
															<%# iif(DataBinder.Eval(Container, "DataItem.pj_state")="2","审核未通过","") %>
															<%# iif(DataBinder.Eval(Container, "DataItem.pj_state")="3","审核通过，等待发货通知","") %>
															<%# iif(DataBinder.Eval(Container, "DataItem.pj_state")="4","<font color=green>已发货</font>","") %>
															<%# iif(DataBinder.Eval(Container, "DataItem.pj_state")="5","<font color=#333333>已取消兑换</font>","") %>
														</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="Label6">
															</asp:Label>
														</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_donedate") %>' ID="Label1">
															</asp:Label>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
												<PagerStyle NextPageText="下一页" Font-Size="X-Small" PrevPageText="上一页" HorizontalAlign="Right"
													ForeColor="#003399" Position="TopAndBottom" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
											</asp:datagrid></FONT></TD>
								</TR>
							</TABLE>
						</FONT>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
