<%@ 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" -->
<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 language="c#" runat="server">
protected string MemberInstanceID
{
	get
	{
		DataRow[] rows = Manager.Instances.Select(Alias.Module.Namespace + "='IlgharCMS.MemberModule'");
		if (rows.Length > 0)
			return rows[0][Alias.Instance.InnerID].ToString();
		else
			return "0";
	}
}
</script>
<script type="text/javascript">
var _page = "admin_add";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _memberInstanceID = <%=MemberInstanceID%>;
var _validatekey = "<%=Manager.MakeValidateKey()%>";
var _guid;
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_name_empty = "名称不能空！";
var _lang_password_empty = "密码不能为空！";
var _lang_email_incorrect = "Email地址格式不正确！";
var _lang_member_name_empty = "关联会员名不能空！";
var _lang_member_password_empty = "关联会员密码不能空！";
var _lang_member_email_incorrect = "关联会员Email地址格式不正确！";
var _lang_adding_member = "正在添加关联会员！";
</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="list.aspx?Lang=<%=ContentLang%>">管理员列表</a></li>
		<li class="Right"></li>
		<li class="Left Selected"></li>
		<li class="Middle Selected">添加管理员</li>
		<li class="Right Selected"></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="3"><input type="submit" value="添加" /></td>
				</tr>
			</tfoot>
			<tbody>
				<tr>
					<th width="120">角色：</th>
					<td>
						<ilghar:List Mark="System" Object="Role">
							<select name="RoleID" class="<%=ContentLang%>Font">
								<ilghar:Record>
									<option value="<%=ID%>"><%=Name%></option>
								</ilghar:Record>
							</select>
						</ilghar:List>
					</td>
				</tr>
				<tr>
					<th>名称：</th>
					<td><input type="text" name="Name" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>密码：</th>
					<td><input type="password" name="Password" maxlength="20" class="Text" /></td>
				</tr>
				<tr>
					<th>Email：</th>
					<td><input type="text" name="Email" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>真实姓名：</th>
					<td><input type="text" name="RealName" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>QQ：</th>
					<td><input type="text" name="QQ" maxlength="20" class="Text" /></td>
				</tr>
				<tr>
					<th>MSN：</th>
					<td><input type="text" name="MSN" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>权限限于自己：</th>
					<td>
						<input type="radio" name="HasSelfLimitation" id="HasSelfLimitationYes" /><label for="HasSelfLimitationYes">是</label>
						<input type="radio" name="HasSelfLimitation" id="HasSelfLimitationNo" checked="checked" /><label for="HasSelfLimitationNo">否</label>
					</td>
				</tr>
				<tr>
					<th>修改关联会员：</th>
					<td><input type="checkbox" name="ChangeMember" disabled="disabled" /></td>
				</tr>
				<tr>
					<th>关联会员名：</th>
					<td><input type="text" name="MemberName" maxlength="50" disabled="disabled" class="Text" /></td>
				</tr>
				<tr>
					<th>关联会员密码：</th>
					<td><input type="password" name="MemberPassword" maxlength="50" disabled="disabled" class="Text" /></td>
				</tr>
				<tr>
					<th>关联会员Email：</th>
					<td><input type="text" name="MemberEmail" maxlength="50" disabled="disabled" 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="<%=JsPath%>system.js"></script>
</body>
</html>