<%@ Page CodeFileBaseClass="IlgharCMS.Lib.AdminPageBase" %>
<!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" -->
<ilghar:Get ID="Config" Object="InstanceConfig" Operation="GetEmailSettings()" 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" />
<ilghar:Comment><link rel="stylesheet" type="text/css" href="../../S01/CHS/css/common.css" /></ilghar:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "config_email";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _tool = "<%=Config[ESTool]%>";
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" /></div>
	<div class="Title">邮件设置</div>
	<div class="Right"></div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left"></li>
		<li class="Middle"><a href="basic.aspx?Lang=<%=ContentLang%>">基本设置</a></li>
		<li class="Right"></li>
		<li class="Left Selected"></li>
		<li class="Middle Selected">邮件设置</li>
		<li class="Right Selected"></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="250">工具：</th>
					<td>
						<select name="Tool">
							<option value="DotNet">DotNet</option>
							<option value="JMail">JMail</option>
						</select>
					</td>
				</tr>
				<tr>
					<th>您的姓名：</th>
					<td><input type="text" name="Name" value="<%=Config[ESName]%>" maxlength="100" class="Text" /></td>
				</tr>
				<tr>
					<th>电子邮件地址：</th>
					<td><input type="text" name="Address" value="<%=Config[ESAddress]%>" maxlength="100" class="Text" /></td>
				</tr>
				<tr>
					<th>帐户：</th>
					<td><input type="text" name="Account" value="<%=Config[ESAccount]%>" maxlength="100" class="Text" /></td>
				</tr>
				<tr>
					<th>密码：</th>
					<td><input type="password" name="Password" maxlength="100" class="Text" />不修改，则留空</td>
				</tr>
				<tr>
					<th>发送邮件服务器（SMTP）：</th>
					<td><input type="text" name="Server" value="<%=Config[ESServer]%>" maxlength="100" class="Text" /></td>
				</tr>
				<tr>
					<th>我的发送服务器（SMTP）要求验证：</th>
					<td>
						<%If Convert.ToBoolean(Config[ESNeedValidation])%>
							<input type="radio" name="NeedValidation" id="NeedValidationYes" checked="checked" /><label for="NeedValidationYes">是</label>
							<input type="radio" name="NeedValidation" id="NeedValidationNo" /><label for="NeedValidationNo">否</label>
						<%Else%>
							<input type="radio" name="NeedValidation" id="NeedValidationYes" /><label for="NeedValidationYes">是</label>
							<input type="radio" name="NeedValidation" id="NeedValidationNo" checked="checked" /><label for="NeedValidationNo">否</label>
						<%EndIf%>
					</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="<%=JsPath%>system.js"></script>
</body>
</html>