<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Page language="c#" Codebehind="WaterMarkSetting.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.WaterMarkSetting" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextSystemSetting")%>
			－<%=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/SysSet.html","Help",100,100,800,600);
			}
		function imgHelp1_onclick() {
			popUpWin("DSHelp/RegInfSet.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+'');
		}
		//-->
		</SCRIPT>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<table class="p9black" cellSpacing="0" cellPadding="0" width="97%" border="0" align="center">
				<tr>
					<td width="50%">
						<table cellSpacing="0" cellPadding="0" border="0">
							<tr>
								<td class="p12black" noWrap><span class="p9orange"><img src="IMAGES/icon_1.gif" width="12" height="11" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextSystemSetting")%>
										--&gt;<%=myLanguagesDeal.GetMyString("TextWaterMark")%>
									</span>
								</td>
							</tr>
						</table>
					</td>
					<td align="right" width="50%">
					</td>
				</tr>
			</table>
			<hr size="1" noshade>
			<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TBODY>
					<TR>
						<TD vAlign="top">
							<TABLE class="allborder" cellSpacing="0" cellPadding="2" width="100%" border="0">
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextState")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--开启水印：--></TD>
									<TD colSpan="4">
										<asp:RadioButtonList id="rblWaterMark" runat="server" Width="104px" RepeatDirection="Horizontal">
											<asp:ListItem Value="1" Selected="True">开启</asp:ListItem>
											<asp:ListItem Value="0">关闭</asp:ListItem>
										</asp:RadioButtonList>
									</TD>
								</TR>
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--水印类型：--></TD>
									<TD width="230">
										<asp:dropdownlist id="drlWaterMarkType" runat="server">
											<asp:ListItem Value="0" Selected="True">文字</asp:ListItem>
											<asp:ListItem Value="1">图片</asp:ListItem>
										</asp:dropdownlist></TD>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextFontColor")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--文字颜色：--></TD>
									<TD width="230"><SELECT name="drlColorInf"><%=mstrColorInf%></SELECT></TD>
								</TR>
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextFontType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--字体：--></TD>
									<TD>
										<asp:dropdownlist id="drlFontTypeInf" runat="server"></asp:dropdownlist></TD>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextFontSize")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--文字大小：--></TD>
									<TD>
										<asp:dropdownlist id="drlFontSizeInf" runat="server">
											<asp:ListItem Value="0">自动适应</asp:ListItem>
											<asp:ListItem Value="9">9</asp:ListItem>
											<asp:ListItem Value="10">10</asp:ListItem>
											<asp:ListItem Value="12">12</asp:ListItem>
											<asp:ListItem Value="14">14</asp:ListItem>
											<asp:ListItem Value="16">16</asp:ListItem>
											<asp:ListItem Value="18">18</asp:ListItem>
											<asp:ListItem Value="24">24</asp:ListItem>
											<asp:ListItem Value="36">36</asp:ListItem>
											<asp:ListItem Value="48">48</asp:ListItem>
										</asp:dropdownlist></TD>
								</TR>
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextTransparence")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--透明度：--></TD>
									<TD>
										<asp:dropdownlist id="drlWaterMarkTransparence" runat="server">
											<asp:ListItem Value="0.0">0.0</asp:ListItem>
											<asp:ListItem Value="0.1">0.1</asp:ListItem>
											<asp:ListItem Value="0.2">0.2</asp:ListItem>
											<asp:ListItem Value="0.3">0.3</asp:ListItem>
											<asp:ListItem Value="0.4">0.4</asp:ListItem>
											<asp:ListItem Value="0.5">0.5</asp:ListItem>
											<asp:ListItem Value="0.6">0.6</asp:ListItem>
											<asp:ListItem Value="0.7">0.7</asp:ListItem>
											<asp:ListItem Value="0.8">0.8</asp:ListItem>
											<asp:ListItem Value="0.9">0.9</asp:ListItem>
											<asp:ListItem Value="1.0">1.0</asp:ListItem>
										</asp:dropdownlist></TD>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextBold")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--文字粗体：--></TD>
									<TD>
										<asp:checkbox id="ckIsBold" runat="server" Text="是"></asp:checkbox></TD>
								</TR>
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextLeft")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--距离左：--></TD>
									<TD>
										<asp:dropdownlist id="drlSiteX" runat="server">
											<asp:ListItem Value="0.1">1/10</asp:ListItem>
											<asp:ListItem Value="0.2">2/10</asp:ListItem>
											<asp:ListItem Value="0.3">3/10</asp:ListItem>
											<asp:ListItem Value="0.4">4/10</asp:ListItem>
											<asp:ListItem Value="0.5">5/10</asp:ListItem>
											<asp:ListItem Value="0.6">6/10</asp:ListItem>
											<asp:ListItem Value="0.7">7/10</asp:ListItem>
											<asp:ListItem Value="0.8">8/10</asp:ListItem>
											<asp:ListItem Value="0.9">9/10</asp:ListItem>
										</asp:dropdownlist></TD>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextTop")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--距离顶：--></TD>
									<TD>
										<asp:dropdownlist id="drlSiteY" runat="server">
											<asp:ListItem Value="0.1">1/10</asp:ListItem>
											<asp:ListItem Value="0.2">2/10</asp:ListItem>
											<asp:ListItem Value="0.3">3/10</asp:ListItem>
											<asp:ListItem Value="0.4">4/10</asp:ListItem>
											<asp:ListItem Value="0.5">5/10</asp:ListItem>
											<asp:ListItem Value="0.6">6/10</asp:ListItem>
											<asp:ListItem Value="0.7">7/10</asp:ListItem>
											<asp:ListItem Value="0.8">8/10</asp:ListItem>
											<asp:ListItem Value="0.9">9/10</asp:ListItem>
										</asp:dropdownlist></TD>
								</TR>
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextContent")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--文字水印内容：--></TD>
									<TD colSpan="4">
										<asp:textbox id="txtContent" runat="server" Width="300px" CssClass="wenbenkuang" MaxLength="50"
											EnableViewState="False"></asp:textbox></TD>
								</TR>
								<TR>
									<TD noWrap align="right" width="15%"><%=myLanguagesDeal.GetMyString("WaterMarkTextPicPlace")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--图片位置：--></TD>
									<TD colSpan="4">
										<asp:textbox id="txtLogoUrl" runat="server" Width="300px" CssClass="wenbenkuang" MaxLength="100"
											EnableViewState="False"></asp:textbox><INPUT language="javascript" class="go-wenbenkuang" onclick="return sellogo()" type="button"
											value="..." name="sellogo1"></TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
					<tr>
						<td align="center"><asp:Label id="lbMessage" runat="server" ForeColor="Red"></asp:Label></td>
					</tr>
					<tr>
						<td align="center">
							<asp:button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="提交信息" onclick="btSave_Click"></asp:button></td>
					</tr>
				</TBODY>
			</TABLE>
		</form>
	</body>
</HTML>
