<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<%@ Register TagPrefix="alicmsUC" TagName="Ime" Src="../../ime.dwt.ascx"%>
<%@ Register TagPrefix="alicmsUC" TagName="LanguageMenu" Src="../../language_menu.dwt.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>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="Config" Object="InstanceConfig" Operation="GetBasicSettings()" Validate="True" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>基本设置</title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />
<ali:Comment><link rel="stylesheet" type="text/css" href="../../S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" />
<alicmsUC: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 _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_mobile_validation_time_limit_incorrect = "手机验证限时不正确！";
var _lang_email_validation_time_limit_incorrect = "邮件验证限时不正确！";
var _lang_recharge_notify_url_incorrect = "在线支付通知网址不正确！";
var _lang_appiv_incorrect = "应用公钥不正确！";
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" /></div>
	<div class="Title">基本设置</div>
	<div class="Right">
		<alicmsUC:LanguageMenu runat="server" />
		<img height="15" src="<%=ImagePath%>dropdown.gif" /> 语言：<%=CurrentLanguage%>
	</div>
</div>
<div class="Block">
	<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" value="保 存" /></td></tr>
			</tfoot>
			<tbody>
				<tr>
					<th>是否注册后，需要审核才可登陆：</th>
					<td>
						<%If Convert.ToBoolean(Config[IsNeedToCheck])%>
							<input type="radio" name="IsNeedToCheck" id="IsNeedToCheckYes" value="true" checked="checked" /><label for="IsNeedToCheckYes">是</label>
							<input type="radio" name="IsNeedToCheck" id="IsNeedToCheckNo" value="false" /><label for="IsNeedToCheckNo">否</label>
						<%Else%>
							<input type="radio" name="IsNeedToCheck" id="IsNeedToCheckYes" value="true" /><label for="IsNeedToCheckYes">是</label>
							<input type="radio" name="IsNeedToCheck" id="IsNeedToCheckNo" value="false" checked="checked" /><label for="IsNeedToCheckNo">否</label>
						<%EndIf%>
					</td>
				</tr>
				<tr>
					<th>手机验证限时：</th>
					<td><input type="text" name="MobileValidationTimeLimit" value="<%=Config[MobileValidationTimeLimit]%>" size="4" maxlength="4" class="Text" />分</td>
				</tr>
				<tr>
					<th>邮件验证限时：</th>
					<td><input type="text" name="EmailValidationTimeLimit" value="<%=Config[EmailValidationTimeLimit]%>" size="4" maxlength="4" class="Text" />天</td>
				</tr>
				<tr>
					<th>电子邮件验证邮件主题：</th>
					<td><input type="text" name="EmailValidationMailSubject" value="<%=Config[EmailValidationMailSubject]%>" size="60" maxlength="255" class="Text <%=ContentLang%>Font" /></td>
				</tr>
				<tr>
					<th>电子邮件验证邮件内容：</th>
					<td>
						用户名：{Name}，验证地址：{ValidateUrl}<br />
						<textarea name="EmailValidationMailContent" cols="50" rows="6" wrap="off" class="Text <%=ContentLang%>Font"><%=Config[EmailValidationMailContent]%></textarea>
					</td>
				</tr>
				<tr>
					<th>找回密码邮件主题：</th>
					<td><input type="text" name="FindPasswordMailSubject" value="<%=Config[FindPasswordMailSubject]%>" size="60" maxlength="255" class="Text <%=ContentLang%>Font" /></td>
				</tr>
				<tr>
					<th>找回密码邮件内容：</th>
					<td>
						用户名：{Name}，验证地址：{ValidateUrl}<br />
						<textarea name="FindPasswordMailContent" cols="50" rows="6" wrap="off" class="Text <%=ContentLang%>Font"><%=Config[FindPasswordMailContent]%></textarea>
					</td>
				</tr>
				<tr>
					<th>手机验证短信：</th>
					<td>
						用户名：{Name}，验证码：{ValidationCode}<br />
						<textarea name="MobileValidationSMS" cols="50" rows="6" wrap="off" class="Text <%=ContentLang%>Font"><%=Config[MobileValidationSMS]%></textarea>
					</td>
				</tr>
				<tr>
					<th>在线支付通知网址（充值）：</th>
					<td><input type="text" name="RechargeNotifyUrl" value="<%=Config[RechargeNotifyUrl]%>" size="60" maxlength="255" class="Text" />以http://开头的完整路径</td>
				</tr>
				<tr>
					<th>QQ登录（APP ID）：</th>
					<td><input type="text" name="QQConnectAppID" value="<%=Config[QQConnectAppID]%>" size="60" maxlength="255" class="Text" /></td>
				</tr>
				<tr>
					<th>QQ登录（APP KEY）：</th>
					<td><input type="text" name="QQConnectAppKey" value="<%=Config[QQConnectAppKey]%>" size="60" maxlength="255" class="Text" /></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%>utility.js"></script>
<script type="text/javascript" src="<%=JsPath%>global.js"></script>
<script type="text/javascript" src="<%=ModuleJsPath%>module.js"></script>
</body>
</html>