<%@ Page language="c#" Codebehind="BrandManage_Lg.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.BrandManage_Lg" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextBrandManage")%>
			-
			<%=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 sellogo() {
			var arr = new Array()
			imgArr=self.showModalDialog("ftb.imagegallery2.aspx?rif=<%=mChildFolder%>Images/BnrPic&cif=<%=mChildFolder%>Images/BnrPic",window,'dialogWidth:560px; dialogHeight:500px;help:0;status:0;resizeable:1;')
			var temp;
			var len;
			var len1;
			var filename;
			if(imgArr!=null)
			{
				temp=imgArr['filename'];
				len=temp.lastIndexOf("Images/BnrPic");
				len1=temp.length;
				filename=temp.substring(len + 14,len1);
				Form1.txtLogoUrl.value="Images/BnrPic/" + filename;
			}
		}
		function imgHelp_onclick() {
			popUpWin("DSHelp/FriendLink.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>
         <link rel="stylesheet" href="../editor/themes/default/default.css" />
	    <link rel="stylesheet" href="../editor/plugins/code/prettify.css" />
	    <script charset="utf-8" src="../editor/kindeditor.js"></script>
	    <script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
	    <script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>
	    <script>
	        KindEditor.ready(function (K) {
	            var editor1 = K.create('#txtContent', {
	                cssPath: '../editor/plugins/code/prettify.css',
	                uploadJson: '../editor/netfile/upload_json.ashx',
	                fileManagerJson: '../editor/netfile/file_manager_json.ashx',
	                allowFileManager: true,
	                afterCreate: function () {
	                    var self = this;
	                    K.ctrl(document, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                    K.ctrl(self.edit.doc, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                }
	            });
	            prettyPrint();
	        });
	    </script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:Label id="lbEditID" runat="server" Visible="false"></asp:Label><asp:Label id="lbLanguage" runat="server" Visible="False"></asp:Label>
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td height="262" valign="top">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td bgcolor="#ffffff" valign="top" height="300">
									<asp:panel id="Pan2" runat="server" >
										<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("TextBrandManage")%>--&gt;
																	<asp:Label id="lbMessage" runat="server"></asp:Label></SPAN></TD>
															<TD align="right" width="50"><!--BUTTON_BEGIN-->
																<TABLE>
																	<TR>
																		<TD vAlign="bottom" noWrap>
																			<asp:ImageButton id="ibtReturn" runat="server" CausesValidation="False" ImageUrl="../Images/Admin/fb-cancel.gif" 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="1" cellPadding="5" width="650" align="center" bgColor="#cccccc" border="0">
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("BrandTextName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--文字链接名称：--></TD>
												<TD class="pad" width="70%">
													<asp:textbox id="txtCorpName" runat="server" MaxLength="25" Width="200px" CssClass="wenbenkuang"></asp:textbox>
													<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入名称" Display="Dynamic"
														ControlToValidate="txtCorpName" ForeColor="#FF0000"></asp:requiredfieldvalidator></FONT></TD>
											</TR>
											<TR bgColor="#ffffff" style="display:none">
												<TD align="right"><%=myLanguagesDeal.GetMyString("BrandTextName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--文字链接名称：--></TD>
												<TD class="pad" width="70%">
													<asp:textbox id="txtCorpName2" runat="server" MaxLength="50" Width="200px" CssClass="wenbenkuang"></asp:textbox></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextFontColor")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--标题：--></TD>
												<TD class="pad" width="70%">
													<TABLE cellSpacing="0" cellPadding="0" border="0">
														<TR>
															<TD>
																<asp:textbox id="txtTitleColor" runat="server" MaxLength="10" Width="80px" CssClass="wenbenkuang"></asp:textbox></TD>
															<TD><IMG style="CURSOR: pointer" onClick="return selcolor()" src="Images/selcolorpicker.gif"></TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextFontBold")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--是否显示：--></TD>
												<TD class="pad">
													<asp:checkbox id="ckIsBold" runat="server" Checked="false" Text="是"></asp:checkbox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("BrandTextLogo")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--图片链接图片地址：--></TD>
												<TD class="pad" width="70%">
													<asp:textbox id="txtLogoUrl" runat="server" MaxLength="80" Width="200px" CssClass="wenbenkuang"></asp:textbox><INPUT language="javascript" class="go-wenbenkuang" onClick="return sellogo()" type="button"
														value="..." name="sellogo1"><%=myLanguagesDeal.GetMyString("LinksExplainMsg1")%></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextHeight")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
												<TD class="pad">
													<asp:textbox id="txtLogoH" runat="server" MaxLength="4" Width="50px" CssClass="wenbenkuang"></asp:textbox>
													<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtLogoH"
														Type="Integer" Operator="DataTypeCheck"></asp:CompareValidator></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextWidth")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
												<TD class="pad">
													<asp:textbox id="txtLogoW" runat="server" MaxLength="4" Width="50px" CssClass="wenbenkuang"></asp:textbox>
													<asp:CompareValidator id="CompareValidator3" runat="server" ErrorMessage="请输入数字" Display="Dynamic" ControlToValidate="txtLogoW"
														Type="Integer" Operator="DataTypeCheck"></asp:CompareValidator></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextExplain")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--说明：--></TD>
												<TD class="pad">
													<textarea id="txtContent" cols="100" rows="8" style="width:500px;height:200px;visibility:hidden;" runat="server" ></textarea></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextWebTitle")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--Title：--></TD>
												<TD class="pad" width="70%">
													<asp:textbox id="txtWebTitle" runat="server" MaxLength="100" Width="400px" CssClass="wenbenkuang"></asp:textbox></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right">META_DESCRIPTION<%=myLanguagesDeal.GetMyString("TextColonCharacter")%><BR>
													(<%=myLanguagesDeal.GetMyString("TextDescription")%>)</TD>
												<TD class="pad">
													<asp:textbox id="txtDescription" runat="server" Width="400px" CssClass="wenbenkuang" TextMode="MultiLine"
														EnableViewState="False"></asp:textbox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right">META_KEYWORDS<%=myLanguagesDeal.GetMyString("TextColonCharacter")%><BR>
													(<%=myLanguagesDeal.GetMyString("TextKeyWords")%>)</TD>
												<TD class="pad">
													<asp:textbox id="txtKeywords" runat="server" Width="400px" CssClass="wenbenkuang" TextMode="MultiLine"
														EnableViewState="False"></asp:textbox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right" width="20%"></TD>
												<TD class="pad">&nbsp;
													<asp:button id="btSubmit" runat="server" CssClass="go-wenbenkuang" Text="提交信息" onclick="btSubmit_Click"></asp:button>
													<asp:button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="更新信息" onclick="btSave_Click"></asp:button>&nbsp;&nbsp;</TD>
											</TR>
										</TABLE>
										<P align="center">
											<asp:Label id="lbInfo" runat="server" ForeColor="Red"></asp:Label></P>
									</asp:panel></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
