<%@ Page language="c#" Codebehind="Member_List.aspx.cs" AutoEventWireup="false" Inherits="SK.MemberWeb.admin.Member_List" %>
<%@ Register TagPrefix="cc1" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<%@ Register TagPrefix="uc1" TagName="footer" Src="modules/footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="header" Src="modules/header.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>会员管理</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<LINK href="images/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<FORM id="Form1" method="post" runat="server">
			<uc1:header id="Header1" runat="server"></uc1:header>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td bgcolor="#e9e7e3"><table width="1001" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="200" height="300" valign="top" bgcolor="#404040"><table width="184" border="0" align="center" cellpadding="0" cellspacing="0" style="MARGIN-TOP:5px">
										<tr>
											<td height="33" background="Images/LeftMenuTopBg.png">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ffffff" style="FONT-SIZE:14px"><b>系统设置管理</b></font></td>
										</tr>
									</table>
									<table width="182" border="0" align="center" cellpadding="0" cellspacing="0" style="MARGIN-BOTTOM:5px">
										<tr>
											<td height="5" bgcolor="#d4d0c8"></td>
										</tr>
										<tr>
											<td height="26" bgcolor="#d4d0c8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absMiddle">&nbsp;&nbsp;<font style="FONT-SIZE:13px"><a href="Product_Admin.aspx">后台功能一览</a></font></td>
										</tr>
										<tr>
											<td height="26" bgcolor="#d4d0c8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absMiddle">&nbsp;&nbsp;<font style="FONT-SIZE:13px"><a href="Product_Templates.aspx">前台模块说明</a></font></td>
										</tr>
										<tr>
											<td height="5" bgcolor="#d4d0c8"></td>
										</tr>
									</table>
								</td>
								<td valign="top" bgcolor="#e9e7e3">
									<TABLE width="700" border="0" cellPadding="5" cellSpacing="0" bgcolor="#ffffff" style="MARGIN-TOP:10px; MARGIN-BOTTOM:10px; MARGIN-LEFT:10px">
										<TR>
											<TD bgcolor="#dedede" colspan="7">&nbsp;<B>会员管理</B></TD>
										</TR>
										<TR>
											<TD height="1" bgcolor="#999999" colspan="7"></TD>
										</TR>
										<TR>
											<TD height="1" bgcolor="#cccccc" colspan="7"></TD>
										</TR>
										<TR>
											<TD height="1" bgcolor="#ededed" colspan="7"></TD>
										</TR>
										<TR>
											<TD height="30" colspan="7">用户名：
												<asp:TextBox id="txtKeyword" runat="server" CssClass="search"></asp:TextBox>
												<asp:Button id="btnSearch" runat="server" Text=" 搜 索 " CssClass="login"></asp:Button></TD>
										</TR>
										<TR>
											<TD height="1" bgcolor="#cccccc" colspan="7"></TD>
										</TR>
										<TR bgColor="#dfe0d0">
											<TD width="50" height="28" align="center" bgcolor="#efefef">&nbsp;编号</TD>
											<TD width="150" bgcolor="#efefef">&nbsp;用户名</TD>
											<TD width="200" align="center" bgcolor="#efefef">&nbsp;Email</TD>
											<TD width="150" align="center" bgcolor="#efefef">&nbsp;注册时间</TD>
											<TD width="50" align="center" bgcolor="#efefef">&nbsp;状态</TD>
											<TD width="50" align="center" bgcolor="#efefef">&nbsp;编辑</TD>
											<TD width="50" align="center" bgcolor="#efefef">&nbsp;删除</TD>
										</TR>
										<TR>
											<TD height="1" bgcolor="#cccccc" colspan="7"></TD>
										</TR>
										<asp:repeater id="lstMember" Runat="server">
											<ItemTemplate>
												<TR>
													<TD height="28">&nbsp;<%# DataBinder.Eval(Container, "DataItem.MemberID") %></TD>
													<TD>&nbsp;
														<asp:Label Runat="server" ID="lblMemberName_I" Text='<%# DataBinder.Eval(Container, "DataItem.MemberName") %>'>
														</asp:Label></TD>
													<TD>&nbsp;<%# DataBinder.Eval(Container, "DataItem.Email") %></TD>
													<TD align="center"><%# DataBinder.Eval(Container, "DataItem.RegTime") %></TD>
													<TD align="center"><%# ShowDenied(DataBinder.Eval(Container, "DataItem.IsDenied")) %></TD>
													<TD height="28" align="center"><a target="_blank" href='Member_Edit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.MemberID") %>' ><img src='images/edit_x.gif' border="0"></a></TD>
													<TD height="28" align="center">
														<asp:linkbutton runat="server" Text="<img src='images/cancel_x.gif' border=0>" CommandName="Delete" CausesValidation="false" OnLoad="Delete_Load" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.MemberID") %>' ID="Linkbutton2" NAME="Linkbutton2">
														</asp:linkbutton></TD>
												</TR>
												<TR>
													<TD height="1" bgcolor="#CCCCCC" colspan="7"></TD>
												</TR>
											</ItemTemplate>
											<AlternatingItemTemplate>
												<TR>
													<TD height="28">&nbsp;<%# DataBinder.Eval(Container, "DataItem.MemberID") %></TD>
													<TD>&nbsp;
														<asp:Label Runat="server" ID="lblMemberName_A" Text='<%# DataBinder.Eval(Container, "DataItem.MemberName") %>'>
														</asp:Label></TD>
													<TD>&nbsp;<%# DataBinder.Eval(Container, "DataItem.Email") %></TD>
													<TD align="center"><%# DataBinder.Eval(Container, "DataItem.RegTime") %></TD>
													<TD align="center"><%# ShowDenied(DataBinder.Eval(Container, "DataItem.IsDenied")) %></TD>
													<TD height="28" align="center"><a target="_blank" href='Member_Edit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.MemberID") %>' ><img src='images/edit_x.gif' border="0"></a></TD>
													<TD height="28" align="center">
														<asp:linkbutton runat="server" Text="<img src='images/cancel_x.gif' border=0>" CommandName="Delete" CausesValidation="false" OnLoad="Delete_Load" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.MemberID") %>' ID="Linkbutton1" NAME="Linkbutton1">
														</asp:linkbutton></TD>
												</TR>
												<TR>
													<TD height="1" bgcolor="#CCCCCC" colspan="7"></TD>
												</TR>
											</AlternatingItemTemplate>
										</asp:repeater>
										<TR>
											<TD align="center" colSpan="7" height="28"><cc1:AspNetPager id="pager" runat="server" CssClass="mypager"></cc1:AspNetPager></TD>
										</TR>
									</TABLE>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<uc1:footer id="Footer1" runat="server"></uc1:footer>
		</FORM>
	</body>
</HTML>
