<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeepSoonPreference.aspx.cs" Inherits="Security.DeepSoonPreference" %>
<%@ Import Namespace="System.Data" %>

<!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>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link rel="stylesheet" href="css/common.css" type="text/css" />
		<title>网站首选项</title>
	</head>

	<body style="padding-right:30px;overflow:hidden;">
		<form runat="server" style="margin:0px;padding:0px;">
		<div id="man_zone">
			<span class="adminTitle">网站首选项</span>
			<asp:Label ID="labelUpdateInfor" runat="server" Text="" class="labelInforStyle"/><br>
			<span class="adminGuid">
				[操作说明] 网站首选项用来配置站点的基本信息，这些信息是一个站点运行的必要信息，合理填写这些信息有助于网站优化。
			</span>
			<table cellpadding=0 cellspacing=1>
				<tr><td class="colorTd">网站名称</td>
					<td><asp:TextBox ID="siteName" runat="server"></asp:TextBox> <span class="adminHelp">必填项</span></td>
				</tr>
				<tr><td class="colorTd">网站标题</td>
					<td><asp:TextBox ID="siteTitle" runat="server"></asp:TextBox> <span class="adminHelp">必填项，用于显示网站的标题</span></td>
				</tr>
				<tr><td class="colorTd">网站关键字</td>
					<td><asp:TextBox ID="siteKeywords" runat="server" textmode="multiline" rows="3"></asp:TextBox> <span class="adminHelp">必填项，关键字请用，分开(不超过6个)</span></td>
				</tr>
				<tr><td class="colorTd">网站描述</td>
					<td><asp:TextBox ID="siteDescribe" runat="server" textmode="multiline" rows="4" style="width:350px;"></asp:TextBox> <span class="adminHelp">必填项</span></td>
				</tr>
				<tr><td class="colorTd">网站域名</td>
					<td><asp:TextBox ID="siteMain" runat="server"></asp:TextBox> <span class="adminHelp">必填项</span></td>
				</tr>
				<tr><td class="colorTd">Logo地址</td>
					<td><asp:TextBox ID="siteLogoAddr" runat="server"></asp:TextBox> <span class="adminHelp">必填项</span></td>
				</tr>
				<tr><td class="colorTd">Url规则</td>
					<td>
					<asp:DropDownList ID="urlRuleList" runat="server">
						<asp:ListItem Value="endWithASPX">ASPX伪静态</asp:ListItem>
						<asp:ListItem Value="endWithHTML">HTML伪静态</asp:ListItem>
						<asp:ListItem Value="noPostfix">无后缀名伪静态</asp:ListItem>
						<asp:ListItem Value="activeArgs">动态参数</asp:ListItem>
					</asp:DropDownList>
					<span class="adminHelp">
						必选项，建议选择ASPX伪静态<br>
						ASPX伪静态:/view-1.aspx &nbsp;&nbsp; HTML伪静态:/view-1.html &nbsp;&nbsp; 无后缀名伪静态:view-1 &nbsp;&nbsp; 动态参数:view.aspx?ID=1<br>
						动态参数:服务器均支持 &nbsp;&nbsp; ASPX伪静态:大多数服务器支持 &nbsp;&nbsp; HTML伪静态和无后缀名伪静态:一般需要配置服务器的IIS(<a href="http://www.deepsoon.com" target="_blank">配置方法请参阅官网文档</a>)
					</span>
					</td>
				</tr>
				<tr><td class="colorTd">Html存放目录</td>
					<td><asp:TextBox ID="htmlDir" runat="server"></asp:TextBox> <span class="adminHelp">必填项，开启Html生成后存放Html静态页文件</span></td>
				</tr>
				<tr><td class="colorTd">UploadFile 目录</td>
					<td><asp:TextBox ID="uploadFileDir" runat="server"></asp:TextBox> <span class="adminHelp">必填项，包括上传图片的路径。请从根目录下填写，目录必须已存在，以/开始且以/结束，如：/uploadFile/</span></td>
				</tr>
				<tr><td class="colorTd">图片水印图标</td>
					<td><asp:TextBox ID="WatermarkLogo" runat="server"></asp:TextBox> <span class="adminHelp">必填项，上传图片后将在图片右下角添加该图片水印。该图标不宜过大，必须已存在才可生效。</span></td>
				</tr> 
				<tr><td class="colorTd">版权信息</td>
					<td>
						<asp:TextBox ID="siteCopyRight" runat="server" textmode="multiline" rows="4" style="width:350px;"></asp:TextBox>
						<span class="adminHelp">必填项，用于全站底部版权文字，可添加备案号，支持Html</span>
					</td>
				</tr>
				<tr><td class="colorTd">操 作</td>
					<td><asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="保存配置" class="adminButton"/></td>
				</tr>
			</table>
		</div>
		</form>
	</body>
</html>