<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Page language="c#" Codebehind="BatchRecommenderMove.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.BatchRecommenderMove" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("BatchRecommenderMoveTextTitle")%>
		</title>
		<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">
		<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 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">
				<TR>
					<TD vAlign="top" height="100%">
						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD vAlign="top" bgColor="#ffffff" height="319">
									<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" border="0">
										<TR>
											<TD style="WIDTH: 711px">
												<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
													<TR>
														<TD class="p12black" align="left"><SPAN class="p9orange"><FONT face="宋体"><img src="IMAGES/icon_1.gif" width="12" height="11" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBatchManage")%>
																	--&gt;<%=myLanguagesDeal.GetMyString("BatchRecommenderMoveTextTitle")%></FONT></SPAN></TD>
														<TD align="right" width="80">
															<asp:ImageButton id="ibtReturnPre" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" CausesValidation="False" onclick="ibtReturnPre_Click"></asp:ImageButton><FONT face="宋体"><%=myLanguagesDeal.GetMyString("TextReturn")%>
															</FONT>
														</TD>
													</TR>
												</TABLE>
											</TD>
										</TR>
									</TABLE>
									<FONT face="宋体">
										<hr size="1" noshade>
									</FONT>
									<TABLE cellSpacing="1" cellPadding="5" width="700" align="center" bgColor="#cccccc" border="0">
										<TR bgColor="#ffffff">
											<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchRecommenderMoveTextOld")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></FONT></TD>
											<TD class="pad">
												<asp:dropdownlist id="drlClass1" runat="server" AutoPostBack="True" onselectedindexchanged="drlClass1_SelectedIndexChanged"></asp:dropdownlist><asp:RangeValidator id="rvdClass1" runat="server" ErrorMessage="请选择分类" MinimumValue="0" MaximumValue="9999999"
													ControlToValidate="drlClass1"></asp:RangeValidator>
											</TD>
										</TR>
										<TR bgColor="#ffffff">
											<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchRecommenderMoveTextNew")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></FONT></TD>
											<TD class="pad">
												<asp:dropdownlist id="drlClass2" runat="server"></asp:dropdownlist><asp:RangeValidator id="rvdClass2" runat="server" ErrorMessage="请选择分类" MinimumValue="0" MaximumValue="9999999"
													ControlToValidate="drlClass2"></asp:RangeValidator>
											</TD>
										</TR>
										<TR bgColor="#ffffff">
											<TD align="right"></TD>
											<TD class="pad"><asp:Button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="确定" onclick="btSave_Click"></asp:Button>
											</TD>
										</TR>
									</TABLE>
									<div align="center"><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></div>
									<TABLE cellSpacing="1" cellPadding="5" width="700" align="center" border="0">
										<TR bgColor="#ffffff">
											<TD align="left">
												<asp:CheckBox id="ckSelView" runat="server" AutoPostBack="True" oncheckedchanged="ckSelView_CheckedChanged"></asp:CheckBox></TD>
										</TR>
										<TR bgColor="#ffffff">
											<TD align="right">
												<asp:panel id="PanList" runat="server" Visible="False">
													<asp:datagrid id="dgList" runat="server" CssClass="table-shangxia" Width="100%" DataKeyField="UserID"
														AutoGenerateColumns="False" AllowPaging="True">
														<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
														<Columns>
															<asp:BoundColumn DataField="UserName" HeaderText="MemberTextUserName">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="TrueName" HeaderText="MemberTextTrueName">
																<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="RegTime" HeaderText="MemberTextRegTime">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="Tel" HeaderText="MemberTel">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="UserType" HeaderText="UserGradeTextName">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<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" Checked="True"></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" Text=" 首 页" CssClass="go-wenbenkuang" BorderStyle="Groove" onclick="btFirst_Click"></asp:button>&nbsp;
																<asp:button id="btPre" runat="server" Text="上一页" CssClass="go-wenbenkuang" BorderStyle="Groove" onclick="btPre_Click"></asp:button>&nbsp;
																<asp:button id="btNext" runat="server" Text="下一页" CssClass="go-wenbenkuang" BorderStyle="Groove" onclick="btNext_Click"></asp:button>&nbsp;
																<asp:button id="btLast" runat="server" Text=" 尾 页" CssClass="go-wenbenkuang" 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" ErrorMessage="输入数字"
																	Operator="DataTypeCheck" Type="Integer" Display="Dynamic" ForeColor="#FF0000"></asp:CompareValidator><%=myLanguagesDeal.GetMyString("TextPages")%>
																<asp:button id="btGo" runat="server" Text="Go" CssClass="go-wenbenkuang" onclick="btGo_Click"></asp:button></TD>
														</TR>
													</TABLE>
												</asp:panel>
											</TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
