<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SetupUpload.aspx.cs" Inherits="admin_Basic_SetupUpload" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>文件上传设置</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {font-weight: bold}
-->
</style>
</head>
<body>
<form id="form1" runat="server">
<div class="itemtitle">
<h3>快捷选项</h3>
</div>
<div class="itemtitle_tect">
<p><span class="STYLE1"><a href="WebBasic.aspx">基本信息</a>&nbsp;&nbsp;<a href="TradeSettings.aspx">商机设置</a>&nbsp;&nbsp;<a href="SetupUpload.aspx">附件设置</a>&nbsp;&nbsp;<a href="WebInfo.aspx">邮件设置</a>&nbsp;&nbsp;<a href="FilterKeyword.aspx">安全设置</a>&nbsp;&nbsp;<a href="Registr.aspx">注册表单</a></span></p>
</div>
<div class="clr"></div>
<div class="talbe_border">
<table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
 <tr>
  <th colspan="2" class="header tou">附件设置</td>
 </tr>
	<tr>
		<td width="17%" class="left1">
			<span>附件URL访问路径</span></td>
		<td width="83%" class="left2">
		<asp:TextBox ID="txtFolder" runat="server" Width="340"></asp:TextBox></td>
	</tr>
	<tr>
		<td class="left1">
			<span>允许上传的附件类型</span></td>
		<td class="left2">
		<asp:TextBox ID="txtFiletype" runat="server" Width="340"></asp:TextBox><span></span></td>
	</tr>
	<tr>
		<td class="left1">
			<span>允许上传的附件大小</span></td>
		<td class="left2">
		<asp:TextBox ID="txtFilesize" runat="server" Width="50"></asp:TextBox> KB</td>
	</tr>
	<tr>
		<td class="left1">
			<span>缩略图大小</span></td>
		<td class="left2">
			<asp:TextBox ID="txtThumbsize1" runat="server" Width="30px"></asp:TextBox>
			*
			<asp:TextBox ID="txtThumbsize2" runat="server" Width="30px"></asp:TextBox></td>
	</tr>
	<tr>
		<td class="left1">
			<span>启用图片水印功能</span></td>
		<td class="left2">
			<asp:RadioButtonList ID="radIsWatermark" runat="server" RepeatColumns="2" RepeatLayout="Flow">
				<asp:ListItem Value="true">是</asp:ListItem>
				<asp:ListItem Value="false">否</asp:ListItem>
		</asp:RadioButtonList></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印类型</span></td>
		<td class="left2">
			<asp:RadioButtonList ID="radWatemarktype" runat="server" RepeatColumns="2" RepeatLayout="Flow">
				<asp:ListItem Value="txt">文字</asp:ListItem>
				<asp:ListItem Value="img">图片</asp:ListItem>
		</asp:RadioButtonList></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印图片路径</span></td>
		<td class="left2">
		<asp:TextBox ID="txtImgurl" runat="server" Width="340"></asp:TextBox></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印字体</span></td>
		<td class="left2">
		<asp:TextBox ID="txtFonttext" runat="server"></asp:TextBox></td>
	</tr>
	<tr>
		<td class="left1">
			<span>文字类型</span></td>
		<td class="left2">
			<asp:DropDownList ID="drpFontfamily" runat="server" Width="155px">
				<asp:ListItem Selected="true" Value="SimSun">宋体</asp:ListItem>
				<asp:ListItem Value="SimHei">黑体</asp:ListItem>
				<asp:ListItem Value="FangSong_GB2312">仿宋体</asp:ListItem>
				<asp:ListItem Value="NSimSun">新宋体</asp:ListItem>
				<asp:ListItem Value="Arial">Arial</asp:ListItem>
		</asp:DropDownList></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印文字颜色</span></td>
		<td class="left2">
			<asp:DropDownList ID="drpFontcolor" runat="server" Width="155px">
				<asp:ListItem Value="Red">Red</asp:ListItem>
				<asp:ListItem Value="yellow">yellow</asp:ListItem>
				<asp:ListItem Value="blue">blue</asp:ListItem>
				<asp:ListItem Value="cyan">cyan</asp:ListItem>
				<asp:ListItem Value="green" >green</asp:ListItem>
				<asp:ListItem Value="orange">orange</asp:ListItem>
				<asp:ListItem Value="pink">pink</asp:ListItem>
				<asp:ListItem Value="white" Selected="true">white</asp:ListItem>
		</asp:DropDownList></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印文字像素</span></td>
		<td class="left2">
			<asp:DropDownList ID="drpFontsize" runat="server" Width="154px">
				<asp:ListItem Value="8">8pt</asp:ListItem>
				<asp:ListItem Value="10">10pt</asp:ListItem>
				<asp:ListItem Value="12">12pt</asp:ListItem>
				<asp:ListItem Value="14" Selected="True">14pt</asp:ListItem>
				<asp:ListItem Value="18">18pt</asp:ListItem>
				<asp:ListItem Value="24">24pt</asp:ListItem>
				<asp:ListItem Value="36">36pt</asp:ListItem>
		</asp:DropDownList></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印透明度</span></td>
		<td class="left2">
		<asp:TextBox ID="txtTrans" runat="server"></asp:TextBox></td>
	</tr>
	<tr>
		<td class="left1">
			<span>JPEG 水印质量</span></td>
		<td class="left2">
		<asp:TextBox ID="txtQuality" runat="server"></asp:TextBox></td>
	</tr>
	<tr>
		<td class="left1">
			<span>水印添加位置</span></td>
		<td class="left2">
			<asp:RadioButtonList ID="radPos" runat="server" RepeatColumns="3" RepeatLayout="Flow"
				Width="224px">
				<asp:ListItem Value="tl">#上左</asp:ListItem>
				<asp:ListItem Value="ml">#中左</asp:ListItem>
				<asp:ListItem Value="bl">#下左</asp:ListItem>
				<asp:ListItem Value="tm">#上中</asp:ListItem>
				<asp:ListItem Value="mm">#中中</asp:ListItem>
				<asp:ListItem Value="bm">#下中</asp:ListItem>
				<asp:ListItem Value="tr">#上右</asp:ListItem>
				<asp:ListItem Value="mr">#中右</asp:ListItem>
				<asp:ListItem Value="br">#下右</asp:ListItem>
		</asp:RadioButtonList></td>
	</tr>
	<tr>
		<td colspan="2" bgcolor="#F0F7FD">
			<asp:Button ID="butSave" runat="server" Text="确定" OnClick="butSave_Click" CssClass="i_button" /></td>
	</tr>
</table>
</div>
</form>
</body>
</html>
