<%@ Page language="c#" Codebehind="ProductExtend.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.ProductExtend1" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("ExtendTextTitle")%>
			-
			<%=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/ProductManage.html#Extend","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">
				<TR>
					<TD vAlign="top" height="100%" align="left">
						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD vAlign="top" bgColor="#ffffff" height="100%"><FONT face="宋体">
										<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("TextProductManage")%>
														--&gt;<%=myLanguagesDeal.GetMyString("ExtendTextTitle")%></SPAN> <img src="../Images/Admin/helpicon.gif" id="imgHelp" alt="帮助" LANGUAGE="javascript" onclick="return imgHelp_onclick()"
														style="CURSOR:pointer"></TD>
												<TD></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>
									</FONT>
								</TD>
								
							</TR>
						</TABLE>
						<HR noShade SIZE="1">
						<table border="0">
							<tr>
								<td width="100" align="right"><%=myLanguagesDeal.GetMyString("TextProductNumber")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品编号：--></td>
								<td>
									<asp:Label id="lbProductNumber" runat="server"></asp:Label></td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
							<tr>
								<td align="right"><%=myLanguagesDeal.GetMyString("TextProductName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品名称：--></td>
								<td>
									<asp:Label id="lbProductName" runat="server"></asp:Label></td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
							<tr>
								<td align="right"><%=myLanguagesDeal.GetMyString("TextProductClassName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品类别：-->
								</td>
								<td>
									<asp:Label id="lbClass" runat="server"></asp:Label></td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td><%=myLanguagesDeal.GetMyString("ExtendTextNowClass")%><!--现有类别--></td>
								<td>&nbsp;</td>
								<td><%=myLanguagesDeal.GetMyString("ExtendTextExtendClass")%><!--扩展类别--></td>
							</tr>
							<tr>
								<td align="right">&nbsp;<%=myLanguagesDeal.GetMyString("ExtendTextSelectClass")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--选择类别：--></td>
								<td>
									<asp:ListBox id="lbLeft" runat="server" Width="221px" CssClass="wenbenkuang" Height="208px" SelectionMode="Multiple"></asp:ListBox></td>
								<td align="center" valign="middle"><table width="100" border="0" align="center">
										<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" Width="221px" CssClass="wenbenkuang" Height="208px"
										SelectionMode="Multiple"></asp:ListBox></td>
							</tr>
						</table>
						<p align="center"><asp:Label id="lbMsg" runat="server" ForeColor="Red"></asp:Label></p>
					</TD>
				</TR>
				<tr>
					<td align="center">
						<asp:button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="提交信息" onclick="btSave_Click"></asp:button></td>
				</tr>
			</TABLE>
		</form>
	</body>
</HTML>
