<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Register TagPrefix="uc1" TagName="popUpCalendar" Src="popUpCalendar.ascx" %>
<%@ Page language="c#" Codebehind="BatchProductEdit.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.BatchProductEdit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextBatchProductEdit")%>
			-
			<%=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 imgHelp_onclick() {
			popUpWin("DSHelp/NewsManage.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+'');
		}
		
		function selcolor() {
			var color;
			
			color = showModalDialog('ftb.colorpicker.aspx',window,'dialogWidth:210px;dialogHeight:170px;status:0;scroll:0;help:0;');
			if(color!=null)
			Form1.txtTitleColor.value=color;
			
		}
		//-->
		</SCRIPT>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:Label id="lbTemp" runat="server" Visible="False"></asp:Label>
			<uc1:popupcalendar id="myCalendar" runat="server"></uc1:popupcalendar>
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<table cellSpacing="0" cellPadding="0" width="97%" align="center" border="0">
				<tr>
					<td vAlign="top" height="262">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<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("TextBatchManage")%>--&gt;<%=myLanguagesDeal.GetMyString("TextBatchProductEdit")%></SPAN>
													</TD>
													<TD align="right" width="50"><!--BUTTON_BEGIN-->
														<TABLE>
															<TR>
																<TD vAlign="bottom" noWrap>
																	<asp:ImageButton id="ibtReturn2" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" CausesValidation="False" onclick="ibtReturn2_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%></TD>
															</TR>
														</TABLE> <!--BUTTON_END--></TD>
												</TR>
											</TABLE>
											<HR noShade SIZE="1">
											<TABLE border="0">
												<TR>
													<TD>
														<TABLE cellSpacing="1" cellPadding="5" width="100%" align="left" bgColor="#cccccc" border="0">
															<TR bgColor="#f1f1f1">
																<TD>
																	<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="#f1f1f1">
																<TD>
																	<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>
															<TR bgColor="#f1f1f1">
																<TD>
																	<asp:CheckBoxList id="cblSelItem1" runat="server" RepeatDirection="Horizontal" RepeatColumns="5"></asp:CheckBoxList>
																	<asp:CheckBoxList id="cblSelItem2" runat="server" RepeatDirection="Horizontal" RepeatColumns="5"></asp:CheckBoxList></TD>
															</TR>
															<TR bgColor="#f1f1f1">
																<TD>
																	<asp:Button id="btFindEdit" runat="server" CssClass="go-wenbenkuang" Text=" 开始编辑 " onclick="btFindEdit_Click"></asp:Button></TD>
															</TR>
															<TR bgColor="#f1f1f1">
																<TD>
																	<asp:Label id="lbFindMsg" runat="server" ForeColor="Red"></asp:Label></TD>
															</TR>
														</TABLE>
													</TD>
												</TR>
											</TABLE>
										</asp:panel></FONT><asp:panel id="Pan2" runat="server" Visible="False">
										<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"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBatchProductEdit")%></SPAN></TD>
															<TD align="right" width="50"><!--BUTTON_BEGIN-->
																<TABLE>
																	<TR>
																		<TD vAlign="bottom" noWrap>
																			<asp:ImageButton id="ibtReturn" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" CausesValidation="False" onclick="ibtReturn_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%></TD>
																	</TR>
																</TABLE> <!--BUTTON_END--></TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
										</TABLE>
										<HR noShade SIZE="1">
										<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR>
												<TD>
													<asp:datagrid id="dgList" runat="server" Width="100%" CssClass="table-shangxia" PageSize="10"
														AllowPaging="true" AutoGenerateColumns="False" DataKeyField="ProductID">
														<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
														<Columns>
															<asp:BoundColumn DataField="ProductNumber" HeaderText="TextProductNumber">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:BoundColumn DataField="ProductName" HeaderText="TextProductName">
																<HeaderStyle></HeaderStyle>
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
															</asp:BoundColumn>
															<asp:TemplateColumn HeaderText="1">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem1" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue1")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="2">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem2" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue2")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="3">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem3" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue3")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="4">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem4" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue4")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="5">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem5" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue5")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="6">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem6" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue6")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="7">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem7" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue7")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
															<asp:TemplateColumn HeaderText="8">
																<ItemStyle HorizontalAlign="Center"></ItemStyle>
																<ItemTemplate>
																	<asp:TextBox ID="txtItem8" CssClass="wenbenkuang" Width="100" MaxLength="100" EnableViewState="True" 
 AutoPostBack="False" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ItemValue8")%>'>
																	</asp:TextBox>
																</ItemTemplate>
															</asp:TemplateColumn>
														</Columns>
														<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
													</asp:datagrid></TD>
											</TR>
										</TABLE>
										<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" Width="30px" CssClass="wenbenkuang" 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>
										<div align="center">
											<asp:Label id="lbInfo" runat="server" ForeColor="Red"></asp:Label></div>
										<div align="center"><asp:Button id="btSaveEdit" runat="server" CssClass="go-wenbenkuang" Text="  保 存 " onclick="btSaveEdit_Click"></asp:Button></div>
									</asp:panel></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
