<%@ Page  CodeFile="/cache/template/System/IlgharCMS.SystemModule/config/basic.cs" Inherits="CIlgharCMS"%>
<%@ Register TagPrefix="IlgharUC" TagName="Ime" Src="/cache/template/System/CHS/ime.ascx"%>
<%@ Register TagPrefix="IlgharUC" TagName="LanguageMenu" Src="/cache/template/System/CHS/language_menu.ascx"%>
<!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 name="generator" content="IlgharCMS(爱革CMS)" />


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>基本设置 - powered by IlgharCMS 3.0</title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />

<link rel="stylesheet" href="<%=CssPath%>common.css" />
<ilgharUC:Ime Ime="true" Eot="true" runat="server" />
<script type="text/javascript">
var _page = "config_basic";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _uploadLogo = false;
var _uploadLink = false;
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_start_upload_logo = "开始上传网站Logo...";
var _lang_uploading_logo = "正在上传网站Logo...";
var _lang_logo_type_must_be = "网站Logo类型应为：";
var _lang_start_upload_link = "开始上传链接Logo...";
var _lang_uploading_link = "正在上传链接Logo...";
var _lang_link_type_must_be = "链接Logo类型应为：";
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" /></div>
	<div class="Title">基本设置</div>
	<div class="Right">
		<ilgharUC:LanguageMenu runat="server" />
		<img height="15" src="<%=ImagePath%>dropdown.gif" /> 语言：<%=CurrentLanguage%>
	</div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left Selected"></li>
		<li class="Middle Selected">基本设置</li>
		<li class="Right Selected"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="email.aspx?Lang=<%=ContentLang%>">邮件设置</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="water_mark.aspx?Lang=<%=ContentLang%>">水印设置</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="rewrite.aspx?Lang=<%=ContentLang%>">URL重写</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="global.aspx?Lang=<%=ContentLang%>">全局设置</a></li>
		<li class="Right"></li>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<form>
		<table border="0" cellpadding="4" cellspacing="1">
			<tfoot>
				<tr>
					<td colspan="2"><input type="submit" class="Button" value="保 存" /></td>
				</tr>
			</tfoot>
			<tbody>
				<tr>
					<th width="140">网站名称：</th>
					<td><input type="text" name="Name" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Name])%>" size="40" maxlength="100" class="Text <%=ContentLang%>Font" /></td>
				</tr>
				<tr>
					<th>网站简介：</th>
					<td><textarea id="HtmlEditor" EditorLang="<%=ContentLang%>" EditorInstanceID="<%=Channel[IlgharCMS.SystemModule.Alias.Instance.InnerID]%>" EditorUpload="<%=AdminPath%>" EditorToolBar="Basic" style="display:none;width:380px;height:100px"><%=HttpUtility.HtmlEncode((Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Description]).ToString())%></textarea></td>
				</tr>
				<tr>
					<th>网站公告：</th>
					<td><textarea type="text" name="Notice" cols="60" rows="4" wrap="off" class="Text <%=ContentLang%>Font"><%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Notice])%></textarea></td>
				</tr>
				<tr>
					<th>脚注（版权信息）：</th>
					<td><textarea type="text" name="Footer" cols="60" rows="4" wrap="off" class="Text <%=ContentLang%>Font"><%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Footer])%></textarea></td>
				</tr>
				<tr>
					<th>ICP备案号：</th>
					<td><input type="text" name="ICP" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.ICP])%>" size="40" class="Text" /></td>
				</tr>
				<tr>
					<th>统计代码：</th>
					<td><textarea type="text" name="StatisticsCode" cols="60" rows="2" wrap="off" class="Text"><%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.StatisticsCode])%></textarea></td>
				</tr>
				<tr>
					<th>上传类型：</th>
					<td><textarea type="text" name="UploadType" cols="60" rows="4" wrap="off" class="Text"><%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.UploadType])%></textarea></td>
				</tr>
				<tr>
					<th>404错误页面：</th>
					<td><input type="text" name="Error404Redirect" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Error404Redirect])%>" size="60" class="Text" /></td>
				</tr>
				<tr>
					<th>错误页面：</th>
					<td><input type="text" name="ErrorRedirect" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.ErrorRedirect])%>" size="60" class="Text" /></td>
				</tr>
				<tr>
					<th>显示验证码：</th>
					<td>
						<%
string t4708 = String.Empty;
if (Convert.ToBoolean((Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.DisplayCheckCode])))
{t4708 = _xmlTemplate.SelectSingleNode("/" + "/t4708/If").InnerText;}
else
{t4708 = _xmlTemplate.SelectSingleNode("/" + "/t4708/Else").InnerText;}
%><%=t4708%>
					</td>
				</tr>
				<tr>
					<th>网站Logo：</th>
					<td>
						<input id="LogoTextbox" type="text" name="Logo" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Logo])%>" size="60" class="Text" />
						<input id="LogoBrowse" type="button" value="浏览..." />
						<input type="hidden" name="LogoAllowedType" value="gif|jpg|jpeg|png|bmp|png" />
						<a href="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Logo])%>" target="_blank"><img src="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Logo])%>" height="22" id="LogoView" alt="网站Logo" style="vertical-align:bottom" /></a>
					</td>
				</tr>
				<tr>
					<th>链接Logo：</th>
					<td>
						<input id="LinkTextbox" type="text" name="Link" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Link])%>" size="60" class="Text" />
						<input id="LinkBrowse" type="button" value="浏览..." />
						<input type="hidden" name="LinkAllowedType" value="gif|jpg|jpeg|png|bmp|png" />
						<a href="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Link])%>" target="_blank"><img src="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.Link])%>" height="22" id="LinkView" alt="链接Logo" style="vertical-align:bottom" /></a>
					</td>
				</tr>
				<tr>
					<th>Meta：</th>
					<td>
						Keywords：<input type="text" name="MetaKeywords" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.MetaKeywords])%>" size="20" maxlength="255" class="Text <%=ContentLang%>Font" />
						Description：<input type="text" name="MetaDescription" value="<%=(Config==null?null:Config[IlgharCMS.SystemModule.Alias.InstanceConfig.MetaDescription])%>" size="20" maxlength="255" class="Text <%=ContentLang%>Font" />
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<div class="Footer"></div>
</div>
<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>uploader.js"></script>
<script type="text/javascript" src="<%=CommonPath%>IlgharHtmlEditor.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<script type="text/javascript" src="<%=JsPath%>global.js"></script>
<script type="text/javascript" src="<%=JsPath%>system.js"></script>
<asp:XmlDataSource ID="XmlData" runat="server"><Data><Template><t4708><If><![CDATA[
							<input type="radio" name="DisplayCheckCode" id="DisplayCheckCodeYes" checked="checked" /><label for="DisplayCheckCodeYes">是</label>
							<input type="radio" name="DisplayCheckCode" id="DisplayCheckCodeNo" /><label for="DisplayCheckCodeNo">否</label>
						]]></If><Else><![CDATA[
							<input type="radio" name="DisplayCheckCode" id="DisplayCheckCodeYes" /><label for="DisplayCheckCodeYes">是</label>
							<input type="radio" name="DisplayCheckCode" id="DisplayCheckCodeNo" checked="checked" /><label for="DisplayCheckCodeNo">否</label>
						]]></Else></t4708></Template></Data></asp:XmlDataSource></body>
</html>