<%@ Page CodeBehind="admin_adduser.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_adduser" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>添加用户</title>
		<script src="../js/calendar.js" type="text/javascript"></script>
		<script language="javascript">
   var CalendarWebControl = new atCalendarControl();
		</script>
		<link href="img/main.css" rel="stylesheet" type="text/css">
			<style type="text/css">.style4 { COLOR: #ff0000 }
	.style3 { COLOR: #ff0000 }
	.style5 { FONT-WEIGHT: bold; COLOR: #ffffff }
	.STYLE6 { FONT-WEIGHT: bold; COLOR: #ffffff }
	</style>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%">
					<tr>
						<td colSpan="3" class="td_title">添加新用户
						</td>
					</tr>
					<tr class="tableHeadLeft">
						<td align="right" colSpan="2">
							<div align="left">注：带<span class="style3">***</span>的为必填项</div>
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="21%"><span class="forumrow"><span class="a3-green">用 户 名</span>
							</span>：</td>
						<td width="79%"><span class="forumrow"><font color="#000000"><font color="#000000"><span class="a3-green"><asp:textbox id="username" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox>
											<font color="#000000"><font color="#000000">
													<span class="style4">
														<span class="style3">***</span>
														<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="username" ErrorMessage="请输入用户名"></asp:requiredfieldvalidator>
													</span></font></font></span></font></font></span></td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="21%"><span class="forumrow"><span class="a3-green">密 码：</span>
							</span>
						</td>
						<td><span class="forumrow"><span class="a3-green"><asp:textbox id="Password1" runat="server" Columns="40" CssClass="tableTdtext" TextMode="Password"></asp:textbox>
									<span class="style3">***</span>
									<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="Password1" ErrorMessage="请输入密码"></asp:requiredfieldvalidator>
								</span>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="21%"><span class="forumrow"><span class="a3-green">电子邮箱</span>
							</span>
							：</td>
						<td><span class="forumrow"><span class="a3-green"><asp:textbox id="email" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox>
									<span class="style3"></span>
								</span>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">性 别：</td>
						<td><asp:radiobuttonlist id="sex" runat="server" Height="10px" RepeatDirection="Horizontal" RepeatLayout="Flow">
								<asp:ListItem Value="男" Selected="True">男</asp:ListItem>
								<asp:ListItem Value="女">女</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">主 页：</td>
						<td><asp:textbox id="url" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">QQ：</td>
						<td><asp:textbox id="QQ" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">MSN：</td>
						<td><asp:textbox id="MSN" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">真实姓名：</td>
						<td><asp:textbox id="realname" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">联系电话：</td>
						<td><asp:textbox id="phone" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">联系地址：</td>
						<td><asp:textbox id="address" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">公司名称：</td>
						<td><asp:textbox id="company" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">所在部门：</td>
						<td><asp:textbox id="bm" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">有效期至：</td>
						<td><asp:textbox id="enddate" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">帐户余额：</td>
						<td><asp:textbox id="money" runat="server" Columns="40" CssClass="tableTdtext">0</asp:textbox>
							<FONT color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">积分：</td>
						<td><asp:textbox id="jf" runat="server" Columns="40" CssClass="tableTdtext">0</asp:textbox>
							<FONT color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">推荐人：</td>
						<td><asp:textbox id="tjuser" runat="server" Columns="40" CssClass="tableTdtext"></asp:textbox>
							<FONT color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">诚信度：</td>
						<td><asp:dropdownlist id="cxnum" runat="server">
								<asp:ListItem Value="-10">-10</asp:ListItem>
								<asp:ListItem Value="-9">-9</asp:ListItem>
								<asp:ListItem Value="-8">-8</asp:ListItem>
								<asp:ListItem Value="-7">-7</asp:ListItem>
								<asp:ListItem Value="-6">-6</asp:ListItem>
								<asp:ListItem Value="-5">-5</asp:ListItem>
								<asp:ListItem Value="-4">-4</asp:ListItem>
								<asp:ListItem Value="-3">-3</asp:ListItem>
								<asp:ListItem Value="-2">-2</asp:ListItem>
								<asp:ListItem Value="-1">-1</asp:ListItem>
								<asp:ListItem Value="0" Selected="True">0</asp:ListItem>
								<asp:ListItem Value="1">1</asp:ListItem>
								<asp:ListItem Value="2">2</asp:ListItem>
								<asp:ListItem Value="3">3</asp:ListItem>
								<asp:ListItem Value="4">4</asp:ListItem>
								<asp:ListItem Value="5">5</asp:ListItem>
								<asp:ListItem Value="6">6</asp:ListItem>
								<asp:ListItem Value="7">7</asp:ListItem>
								<asp:ListItem Value="8">8</asp:ListItem>
								<asp:ListItem Value="9">9</asp:ListItem>
								<asp:ListItem Value="10">10</asp:ListItem>
							</asp:dropdownlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否审核：</td>
						<td><asp:radiobuttonlist id="umark" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
								<asp:ListItem Value="1" Selected="True">已审</asp:ListItem>
								<asp:ListItem Value="0">未审</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否锁定：</td>
						<td><asp:radiobuttonlist id="ulock" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
								<asp:ListItem Value="1">锁定</asp:ListItem>
								<asp:ListItem Value="0" Selected="True">未锁</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">用户等级：</td>
						<td>&nbsp;
							<asp:dropdownlist id="level" runat="server"></asp:dropdownlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">用户分组：</td>
						<td>&nbsp;
							<asp:dropdownlist id="team" runat="server"></asp:dropdownlist>
							<FONT color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">本空间介绍：</td>
						<td><asp:textbox id="recommend" runat="server" Columns="50" CssClass="tableTdtext" TextMode="MultiLine"
								Rows="5"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">允许别人加自己为好友：</td>
						<td><span class="pad"><asp:radiobuttonlist id="allowadd" runat="server" Height="10px" RepeatDirection="Horizontal" Width="210px"
									RepeatLayout="Flow">
									<asp:ListItem Value="1" Selected="True">允许</asp:ListItem>
									<asp:ListItem Value="0">不允许</asp:ListItem>
									<asp:ListItem Value="2">需要身份验证</asp:ListItem>
								</asp:radiobuttonlist>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">允许访客留言：</td>
						<td><span class="pad"><asp:radiobuttonlist id="allowly" runat="server" Height="10px" RepeatDirection="Horizontal" Width="112px"
									RepeatLayout="Flow">
									<asp:ListItem Value="1" Selected="True">允许</asp:ListItem>
									<asp:ListItem Value="0">不允许</asp:ListItem>
								</asp:radiobuttonlist>
							</span></td>
					</tr>
					<tr class="tableTd" id="uploadmode" runat="server">
						<td align="right">上传方式：</td>
						<td><span class="pad"><asp:radiobuttonlist id="mode1" runat="server" Height="10px" RepeatDirection="Horizontal" Width="224px"
									RepeatLayout="Flow">
									<asp:ListItem Value="0" Selected="True">普通上传</asp:ListItem>
									<asp:ListItem Value="1">ActiveX插件上传</asp:ListItem>
								</asp:radiobuttonlist>
								<FONT color="#ff0000">（商业版功能）</FONT></span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">公告信息：</td>
						<td><span class="pad"><asp:textbox id="gg" runat="server" Columns="50" CssClass="tableTdtext" TextMode="MultiLine"
									Rows="5"></asp:textbox>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">空间标题：</td>
						<td><span class="pad"><asp:textbox id="spacetitle" runat="server" Columns="50" CssClass="tableTdtext" Width="208px"
									Rows="5" MaxLength="255"></asp:textbox>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">空间密码：</td>
						<td><span class="pad"><asp:textbox id="spacepass" runat="server" Columns="50" CssClass="tableTdtext" TextMode="Password"
									Width="120px" Rows="4" MaxLength="255"></asp:textbox>
							</span><span class="pad"></span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">绑定空间顶级域名：</td>
						<td><span class="pad"><asp:textbox id="domain" runat="server" Columns="50" CssClass="tableTdtext" Width="372px" Rows="4"></asp:textbox>
						  <FONT color="#ff0000">（商业版功能）</FONT><BR>
								（设置此用户空间处的地址可以代替使用的顶级域名，用,分隔） </span><span class="pad"></span>
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">允许下载地址：</td>
						<td><span class="pad"><asp:textbox id="allowurl" runat="server" Columns="50" CssClass="tableTdtext" Width="372px" Rows="4"></asp:textbox>
						  <FONT color="#ff0000">（商业版功能）</FONT><BR>
								（设置此用户除在本站可以下载自己的文件外，在外部仅允许的下载来源网址，用,分隔，不受等级中的网址限制） </span><span class="pad"></span>
						</td>
					</tr>
					<tr class="tableTd">
						<td colspan="2" align="right"><div align="center"><span class="forumrow"><span class="px14">
										<asp:Button ID="Button1" runat="server" Width="100px" CssClass="formbutton" Text="添加用户" onclick="Button1_Click"></asp:Button>
									</span>
								</span>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</HTML>
