<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Register TagPrefix="uc1" TagName="popUpCalendar" Src="popUpCalendar.ascx" %>
<%@ Page language="c#" Codebehind="BatchProductDownLoad.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.BatchProductDownLoad" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextBatchProductDownload")%>
		</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 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">
			<asp:Label id="lbTemp" runat="server" Visible="False"></asp:Label>
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<uc1:popupcalendar id="myCalendar" runat="server"></uc1:popupcalendar>
			<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">
							<TBODY>
								<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("TextBatchProductDownload")%></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 class="pad">
													<TABLE cellSpacing="2" cellPadding="1" border="0">
														<TR>
															<TD>
																<asp:dropdownlist id="drlFindClass" runat="server"></asp:dropdownlist></TD>
															<TD>
																<asp:DropDownList id="drlFindKeyType" runat="server">
																	<asp:ListItem Value="0">商品编号</asp:ListItem>
																	<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:ListItem Value="6">库存数&lt;</asp:ListItem>
																	<asp:ListItem Value="7">库存数=</asp:ListItem>
																	<asp:ListItem Value="8">会员价></asp:ListItem>
																	<asp:ListItem Value="9">会员价&lt;</asp:ListItem>
																	<asp:ListItem Value="10">会员价=</asp:ListItem>
																	<asp:ListItem Value="11">小图文件名</asp:ListItem>
																	<asp:ListItem Value="12">大图文件名</asp:ListItem>
																</asp:DropDownList>
																<asp:TextBox id="txtFindKey" runat="server" Width="80px" CssClass="wenbenkuang"></asp:TextBox></TD>
															<TD>
																<asp:DropDownList id="drlFindOrder" runat="server">
																	<asp:ListItem Value="0">按时间</asp:ListItem>
																	<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:ListItem Value="6">按库存</asp:ListItem>
																	<asp:ListItem Value="7">按销售</asp:ListItem>
																	<asp:ListItem Value="8">按浏览</asp:ListItem>
																</asp:DropDownList></TD>
															<TD>
																<asp:RadioButtonList id="rblFindOrderMode" runat="server" RepeatDirection="Horizontal">
																	<asp:ListItem Value="0" Selected="True">降序</asp:ListItem>
																	<asp:ListItem Value="1">升序</asp:ListItem>
																</asp:RadioButtonList></TD>
															<TD></TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD class="pad">
													<TABLE border="0">
														<TR>
															<TD><%=myLanguagesDeal.GetMyString("TextStart")%>
																<asp:TextBox id="txtStartDate" runat="server" Width="65px" CssClass="wenbenkuang"></asp:TextBox>
																<asp:ImageButton id="ibtSelStartDate" runat="server" ImageUrl="../Images/calendar.gif" onclick="ibtSelStartDate_Click"></asp:ImageButton></TD>
															<TD>&nbsp;<%=myLanguagesDeal.GetMyString("TextEnd")%>
																<asp:TextBox id="txtEndDate" runat="server" Width="65px" CssClass="wenbenkuang"></asp:TextBox>
																<asp:ImageButton id="ibtSelEndDate" runat="server" ImageUrl="../Images/calendar.gif" onclick="ibtSelEndDate_Click"></asp:ImageButton>&nbsp;</TD>
															<TD align="right"><%=myLanguagesDeal.GetMyString("TextCounterShow")%></TD>
															<TD>
																<asp:DropDownList id="drlFindShow" runat="server">
																	<asp:ListItem Value="0">无所谓</asp:ListItem>
																	<asp:ListItem Value="1">是</asp:ListItem>
																	<asp:ListItem Value="2">否</asp:ListItem>
																</asp:DropDownList></TD>
															<TD align="right"><%=myLanguagesDeal.GetMyString("TextCommend")%></TD>
															<TD>
																<asp:DropDownList id="drlFindCommend" runat="server">
																	<asp:ListItem Value="0">无所谓</asp:ListItem>
																	<asp:ListItem Value="1">是</asp:ListItem>
																	<asp:ListItem Value="2">否</asp:ListItem>
																</asp:DropDownList></TD>
															<TD align="right"><%=myLanguagesDeal.GetMyString("TextFresh")%></TD>
															<TD>
																<asp:DropDownList id="drlFindNew" runat="server">
																	<asp:ListItem Value="0">无所谓</asp:ListItem>
																	<asp:ListItem Value="1">是</asp:ListItem>
																	<asp:ListItem Value="2">否</asp:ListItem>
																</asp:DropDownList></TD>
															<TD align="right"><%=myLanguagesDeal.GetMyString("TextSpecial")%></TD>
															<TD>
																<asp:DropDownList id="drlFindSpecial" runat="server">
																	<asp:ListItem Value="0">无所谓</asp:ListItem>
																	<asp:ListItem Value="1">是</asp:ListItem>
																	<asp:ListItem Value="2">否</asp:ListItem>
																</asp:DropDownList></TD>
															<TD>
																<asp:checkbox id="ckFindStockAlarm" runat="server" Text="无库存"></asp:checkbox></TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
										</TABLE>
										<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("BatchManageTextUploadCsvType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
												<TD class="pad">
													<asp:RadioButtonList id="rblCSVType" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" onselectedindexchanged="rblCSVType_SelectedIndexChanged">
														<asp:ListItem Value="0" Selected="True">DreamerShop CSV</asp:ListItem>
														<asp:ListItem Value="1">Taobao CSV</asp:ListItem>
														<asp:ListItem Value="2">PaiPai CSV</asp:ListItem>
														<asp:ListItem Value="3">自定义</asp:ListItem>
													</asp:RadioButtonList></TD>
											</TR>
										</TABLE>
										<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("BatchManageTextUploadFileCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
												<TD class="pad"><asp:dropdownlist id="drlEnCoding" runat="server">
														<asp:ListItem Value="0">系统缺省</asp:ListItem>
														<asp:ListItem Value="1">简体中文</asp:ListItem>
														<asp:ListItem Value="2">繁体中文</asp:ListItem>
														<asp:ListItem Value="3">UTF-8</asp:ListItem>
													</asp:dropdownlist>
												</TD>
											</TR>
										</TABLE>
										<asp:panel id="Pan1" runat="server" Visible="False">
											<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("BatchProductDownTextAreaOne")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtAreaOne" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
												<TR bgColor="#ffffff">
													<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchProductDownTextAreaTwo")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtAreaTwo" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
												<TR bgColor="#ffffff">
													<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchProductDownTextAtClass1")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtAtClass1" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
												<TR bgColor="#ffffff">
													<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchProductDownTextAtClass2")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtAtClass2" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
												<TR bgColor="#ffffff">
													<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchProductDownTextSendPrice1")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtSendPrice1" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
												<TR bgColor="#ffffff">
													<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchProductDownTextSendPrice2")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtSendPrice2" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
												<TR bgColor="#ffffff">
													<TD align="right" width="140"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchProductDownTextSendPrice3")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
													<TD class="pad">
														<asp:textbox id="txtSendPrice3" runat="server" CssClass="wenbenkuang" Width="150px" MaxLength="50"></asp:textbox></TD>
												</TR>
											</TABLE>
										</asp:panel>
										<asp:panel id="Pan2" runat="server" Visible="False">
											<TABLE cellSpacing="1" cellPadding="5" width="700" align="center" bgColor="#cccccc" border="0">
												<TR bgColor="#ffffff">
													<TD align="right" width="140">&nbsp;<%=myLanguagesDeal.GetMyString("BatchProductDownTextSelectItem")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--选择字段--></TD>
													<TD>
														<asp:ListBox id="lbLeft" runat="server" CssClass="wenbenkuang" Width="190px" Height="208px" SelectionMode="Multiple"></asp:ListBox></TD>
													<TD vAlign="middle" align="center">
														<TABLE width="100" align="center" border="0">
															<TR>
																<TD align="center">
																	<asp:Button id="btJoin" runat="server" CssClass="go-wenbenkuang" Text=" 添加 >> " onclick="btJoin_Click"></asp:Button><BR>
																	<BR>
																</TD>
															</TR>
															<TR>
																<TD align="center">
																	<asp:Button id="btDelete" runat="server" CssClass="go-wenbenkuang" Text=" 删除 << " onclick="btDelete_Click"></asp:Button></TD>
															</TR>
														</TABLE>
													</TD>
													<TD>
														<asp:ListBox id="lbRight" runat="server" CssClass="wenbenkuang" Width="190px" Height="208px"
															SelectionMode="Multiple"></asp:ListBox></TD>
												</TR>
											</TABLE>
										</asp:panel>
										<TABLE cellSpacing="1" cellPadding="5" width="700" align="center" bgColor="#cccccc" border="0">
											<TR bgColor="#ffffff">
												<TD align="right" width="140"></TD>
												<TD class="pad"><asp:Button id="btDown" runat="server" CssClass="go-wenbenkuang" Text="开始生成" onclick="btDown_Click"></asp:Button>
												</TD>
											</TR>
										</TABLE>
										<TABLE cellSpacing="1" cellPadding="2" width="700" align="center" border="0">
											<TR>
												<TD class="pad" align="center">
													<asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></A>
												</TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
