<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Page language="c#" Codebehind="SubscibeManage.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.SubscibeManage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextSubscibeManage")%>
			－<%=mConfigInf.strWebTitle%>
		</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<META content="<%=mConfigInf.strDescription%>" name=description>
		<META content="<%=mConfigInf.strKeywords%>" name=keywords>
		<LINK href="../StyleSheet1.css" rel="stylesheet">
		<SCRIPT language="javascript" id="clientEventHandlersJS">
		<!--

		
		function selall()
		{	
			var a = document.getElementsByTagName("input");
		
			var str;
			var len;
			var state;
			for (var i=0; i<a.length; i++)
			{
				if (a[i].type == "checkbox") 
				{
					str=a[i].id;
					len=str.lastIndexOf("ckSelAll");
					if((len * 1)>=1)
					{
						state=a[i].checked;
						break;
						}
				}
			}
			for (var i=0; i<a.length; i++)
			{
				if (a[i].type == "checkbox") 
				{
					str=a[i].id;
					len=str.lastIndexOf("ckSelItem");
					if((len * 1)>=1)
						a[i].checked=state;
				}
			}
		}
		
		
		function imgHelp_onclick() {
			popUpWin("DSHelp/UserManage.html","Help",100,100,800,600);
			}
		
		function popUpWin(URLStr,WinName, left, top, width, height)
		{
			var popUpWin=0;
			if(popUpWin)

			{

			if(!popUpWin.closed) popUpWin.close();

			}

			popUpWin = open(URLStr, WinName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
		}
		//-->
		</SCRIPT>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<table cellSpacing="0" cellPadding="0" width="97%" border="0" align="center">
				<TBODY>
					<tr>
						<td vAlign="top" height="262">
							<table cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TBODY>
									<tr>
										<td vAlign="top" bgColor="#ffffff" height="300"><FONT face="宋体"><asp:panel id="Pan1" runat="server">
													<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
														<TR>
															<TD class="p12black"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextUserManage")%>--&gt;<%=myLanguagesDeal.GetMyString("TextSubscibeManage")%></SPAN>&nbsp;</TD>
															<TD></TD>
															<TD>
																<asp:ImageButton id="ibtDeleteAll" runat="server" ImageUrl="../Images/Admin/fb-delete.gif" onclick="ibtDeleteAll_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextDeteleSelect")%></TD>
														</TR>
													</TABLE>
													<HR noShade SIZE="1">
													<asp:datagrid id="dgList" runat="server" CssClass="table-shangxia" AllowPaging="True" AutoGenerateColumns="False"
														Width="100%" DataKeyField="SubscibeID">
														<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
														<Columns>
															<asp:BoundColumn DataField="UserName" HeaderText="SubscibeTextUserName">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="UserEmail" HeaderText="MemberEmail">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="SubscibeTime" HeaderText="SubscibeTextTime">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="UserIP" HeaderText="SubscibeTextIP">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:TemplateColumn HeaderText="TextOperation">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:Button id="btDelete" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete" Runat="server"></asp:Button>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn>
																<HeaderStyle></HeaderStyle>
																<HeaderTemplate>
																	<asp:CheckBox id="ckSelAll" runat="server" onClick="selall()"></asp:CheckBox>
																</HeaderTemplate>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:CheckBox id="ckSelItem" runat="server"></asp:CheckBox>
																</ItemTemplate>
															</asp:TemplateColumn>
														</Columns>
														<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
													</asp:datagrid>
													<TABLE class="table-zuoyou" id="Table1" width="100%" align="center" border="0">
														<TR align="center" bgColor="#f1f1f1">
															<TD>
																<asp:button id="btFirst" runat="server" CssClass="go-wenbenkuang" Text=" 首 页" BorderStyle="Groove" onclick="btFirst_Click"></asp:button>&nbsp;
																<asp:button id="btPre" runat="server" CssClass="go-wenbenkuang" Text="上一页" BorderStyle="Groove" onclick="btPre_Click"></asp:button>&nbsp;
																<asp:button id="btNext" runat="server" CssClass="go-wenbenkuang" Text="下一页" BorderStyle="Groove" onclick="btNext_Click"></asp:button>&nbsp;
																<asp:button id="btLast" runat="server" CssClass="go-wenbenkuang" Text=" 尾 页" BorderStyle="Groove" onclick="btLast_Click"></asp:button>&nbsp;
																<asp:label id="lbPage" runat="server"></asp:label>&nbsp;
																<%=myLanguagesDeal.GetMyString("TextGotoPage")%>
																<asp:textbox id="txtPageNum" runat="server" CssClass="wenbenkuang" Width="30px" MaxLength="3"></asp:textbox>
																<asp:CompareValidator id="CompareValidator2" runat="server" ControlToValidate="txtPageNum" Display="Dynamic"
																	ErrorMessage="输入数字" Type="Integer" Operator="DataTypeCheck" ForeColor="#FF0000"></asp:CompareValidator><%=myLanguagesDeal.GetMyString("TextPages")%>
																<asp:button id="btGo" runat="server" CssClass="go-wenbenkuang" Text="Go" onclick="btGo_Click"></asp:button></TD>
														</TR>
													</TABLE>
												</asp:panel></FONT>
											<div align="center"><asp:LinkButton id="lkbInfoToExcel" runat="server" Text="导出地址到Excel" ForeColor="Red" onclick="lkbInfoToExcel_Click"></asp:LinkButton></div>
											<P></P>
										</td>
									</tr>
								</TBODY>
							</table>
						</td>
					</tr>
				</TBODY>
			</table>
		</form>
	</body>
</HTML>
