<%@ Page CodeFileBaseClass="IlgharCMS.Lib.AdminPageBase" %>
<%@ Register TagPrefix="IlgharUC" TagName="Ime" Src="../../ime.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" -->
<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" />
<ilgharUC:Ime Ime="true" Eot="true" runat="server" />
<script type="text/javascript">
var _page = "member_add";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _id;
var _guid;
var _pageID;
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_name_empty = "名称不能空！";
var _lang_password_empty = "密码不能为空！";
var _lang_password_confirm = "重复的密码跟原密码不一致！";
var _lang_password_question_empty = "密码问题不能为空！";
var _lang_password_answer_empty = "密码答案不能为空！";
var _lang_email_incorrect = "Email地址格式不正确！";
var _lang_birthday_incorrect = "生日格式不正确！";
var _lang_name_exist = "会员名已被别人使用！";
var _lang_identity_exist = "身份证号已被别人使用！";
var _lang_email_exist = "注册邮箱已被别人使用！";
var _lang_getting_innerid = "正在获取InnerID...";
var _lang_setting_pageid = "正在设置页面ID...";
</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="2"><input type="submit" class="Button" value="添加" /></td></tr>
			</tfoot>
			<tbody>
				<%If Request.QueryString["CreatorID"] != null%>
					<tr>
						<th>上级会员：</th>
						<td><%=Request.QueryString["Creator"]%><input type="hidden" name="CreatorID" value="<%=Request.QueryString["CreatorID"]%>" /><input type="hidden" name="Creator" value="<%=Request.QueryString["Creator"]%>" /></td>
					</tr>
				<%EndIf%>
				<tr>
					<th width="120">角色：</th>
					<td>
						<select name="RoleID" class="<%=ContentLang%>Font">
							<ilghar:List Mark="System" Object="Role">
								<ilghar:Record>
									<option value="<%=ID%>"><%=Name%></option>
								</ilghar:Record>
							</ilghar:List>
						</select>
					</td>
				</tr>
				<tr>
					<th>会员名：</th>
					<td>
						<input type="text" name="Name" maxlength="50" class="Text <%=ContentLang%>Font" /><span id="NameExist" style="color:#F00"></span>
						<input type="checkbox" id="GuidCheckBox" /><label for="GuidCheckBox">Guid：</label><input type="text" name="ID" size="40" maxlength="40" disabled="disabled" class="Disabled" />
					</td>
				</tr>
				<tr>
					<th>密码：</th>
					<td><input type="password" name="Password" maxlength="20" class="Text" /></td>
				</tr>
				<tr>
					<th>重复密码：</th>
					<td><input type="password" name="Confirm" maxlength="20" class="Text" /></td>
				</tr>
				<tr>
					<th>密码提示问题：</th>
					<td><input type="text" name="PasswordQuestion" maxlength="20" class="Text" /></td>
				</tr>
				<tr>
					<th>提示问题答案：</th>
					<td><input type="text" name="PasswordAnswer" maxlength="20" class="Text" /></td>
				</tr>
				<tr>
					<th>注册邮箱：</th>
					<td><input type="text" name="Email" size="50" maxlength="50" class="Text" /><span id="EmailExist" style="color:#F00"></span></td>
				</tr>
				<tr>
					<th>身份证号：</th>
					<td><input type="text" name="Identity" size="20" maxlength="18" class="Text" /><span id="IdentityExist" style="color:#F00"></span></td>
				</tr>
				<tr>
					<th>真实姓名：</th>
					<td><input type="text" name="RealName" maxlength="50" class="Text <%=ContentLang%>Font" /></td>
				</tr>
				<tr>
					<th>生日：</th>
					<td><input type="text" name="Birthday" class="Wdate" /></td>
				</tr>
				<tr>
					<th>联系电话：</th>
					<td><input type="text" name="Phone" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>手机：</th>
					<td><input type="text" name="Mobile" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>通讯地址：</th>
					<td><input type="text" name="Address" size="50" maxlength="255" class="Text <%=ContentLang%>Font" /></td>
				</tr>
				<tr>
					<th>邮编：</th>
					<td><input type="text" name="Zip" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>个人主页：</th>
					<td><input type="text" name="Homepage" size="50" maxlength="255" class="Text" /></td>
				</tr>
				<tr>
					<th>QQ：</th>
					<td><input type="text" name="QQ" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>性别：</th>
					<td>
						<select name="SexID" class="<%=ContentLang%>Font">
							<option value="">未指定</option>
							<ilghar:List Object="Sex">
								<ilghar:Record>
									<option value="<%=ID%>"><%=Name%></option>
								</ilghar:Record>
							</ilghar:List>
						</select>
					</td>
				</tr>
				<tr>
					<th>所属地区：</th>
					<td>
						<select name="RegionID" class="<%=ContentLang%>Font">
							<option value="">未指定</option>
							<ilghar:Tree Object="Region">
								<ilghar:Control>
									<ilghar:Space>&nbsp;&nbsp;</ilghar:Space>
									<ilghar:Line>│</ilghar:Line>
									<ilghar:TopOpen>┌</ilghar:TopOpen>
									<ilghar:Top>┌</ilghar:Top>
									<ilghar:MiddleOpen>├</ilghar:MiddleOpen>
									<ilghar:Middle>├</ilghar:Middle>
									<ilghar:BottomOpen>└</ilghar:BottomOpen>
									<ilghar:Bottom>└</ilghar:Bottom>
								</ilghar:Control>
								<ilghar:Record>
									<option value="<%=ID%>"><%=Control%><%=Name%></option>
									<%=ChildRecords%>
								</ilghar:Record>
							</ilghar:Tree>
						</select>
					</td>
				</tr>
				<tr>
					<th>所属行业：</th>
					<td>
						<select name="IndustryID" class="<%=ContentLang%>Font">
							<option value="">未指定</option>
							<ilghar:Tree Object="Industry">
								<ilghar:Control>
									<ilghar:Space>&nbsp;&nbsp;</ilghar:Space>
									<ilghar:Line>│</ilghar:Line>
									<ilghar:TopOpen>┌</ilghar:TopOpen>
									<ilghar:Top>┌</ilghar:Top>
									<ilghar:MiddleOpen>├</ilghar:MiddleOpen>
									<ilghar:Middle>├</ilghar:Middle>
									<ilghar:BottomOpen>└</ilghar:BottomOpen>
									<ilghar:Bottom>└</ilghar:Bottom>
								</ilghar:Control>
								<ilghar:Record>
									<option value="<%=ID%>"><%=Control%><%=Name%></option>
									<%=ChildRecords%>
								</ilghar:Record>
							</ilghar:Tree>
						</select>
					</td>
				</tr>
				<tr>
					<th>模板：</th>
					<td>
						自定模板：<input type="text" name="Template" size="30" class="Text" />可以空<br />
						页面标识：<input type="text" name="PageID" size="30" class="Text" />
						<select id="PageIDCandidate">
							<option value="">预定义</option>
							<option value="{ID}">ID</option>
							<option value="{Guid}">Guid</option>
						</select>可以空
					</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%>date_picker/date_picker.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%>member.js"></script>
</body>
</html>