<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Page language="c#" Codebehind="BatchProductUpLoad.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.BatchProductUpLoad" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextBatchProudctUpload")%>
		</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">
			<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("TextBatchProudctUpload")%></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("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">Taobao2 CSV</asp:ListItem>
												</asp:RadioButtonList></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("BatchManageTextUploadClass")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：--></FONT></TD>
												<TD class="pad">
													<asp:dropdownlist id="drlClass" runat="server"></asp:dropdownlist>
													<asp:RangeValidator id="rvdSelClass" runat="server" ControlToValidate="drlClass" ErrorMessage="请选择分类"
														MaximumValue="99999999" MinimumValue="1"></asp:RangeValidator></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"><FONT face="宋体"><%=myLanguagesDeal.GetMyString("BatchManageTextUploadFileName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--CSV文件：--></FONT></TD>
											<TD class="pad"><INPUT class="wenbenkuang" id="myfile" style="WIDTH: 350px; HEIGHT: 19px" type="file" size="68"
													name="myfile" runat="server">
											</TD>
										</TR>
										<TR bgColor="#ffffff">
											<TD align="right"><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>
										<TR bgColor="#ffffff">
											<TD align="right"><FONT face="宋体"></FONT></TD>
											<TD class="pad"><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label>
											</TD>
										</TR>
										<TR bgColor="#ffffff">
											<TD align="right"></TD>
											<TD class="pad"><asp:Button id="btUpload" runat="server" CssClass="go-wenbenkuang" Text="开始上传" onclick="btUpload_Click"></asp:Button>
											</TD>
										</TR>
									</TABLE>
									<TABLE cellSpacing="1" cellPadding="2" width="700" align="center" border="0">
										<TR>
											<TD class="pad">
												<a href="dsplist.csv" target="_blank"><%=myLanguagesDeal.GetMyString("BatchManageTextUploadDonwcsvTemplate")%></a></TD>
										</TR>
										<TR>
											<TD class="pad">
												<a href="IDReference.aspx?TypeID=1" target="_blank"><%=myLanguagesDeal.GetMyString("BatchManageTextUploadViewClassID")%></a></TD>
										</TR>
										<TR>
											<TD class="pad">
												<a href="IDReference.aspx?TypeID=2" target="_blank"><%=myLanguagesDeal.GetMyString("BatchManageTextUploadViewProviderID")%></a></TD>
										</TR>
										<TR>
											<TD class="pad">
												<a href="IDReference.aspx?TypeID=3" target="_blank"><%=myLanguagesDeal.GetMyString("BatchManageTextUploadViewFloatPriceID")%></a></TD>
										</TR>
										<TR>
											<TD class="pad">
												<a href="IDReference.aspx?TypeID=4" target="_blank"><%=myLanguagesDeal.GetMyString("BatchManageTextUploadViewBrandID")%></a></TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
