<%@ Page CodeBehind="admin_edituser.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_edituser" %>
<HTML>
	<HEAD>
		<TITLE>修改用户</TITLE>
		<% @ Import Namespace="Webdisk" %>
		<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">.style1 { FONT-WEIGHT: bold; COLOR: #ffffff }
	.style4 { COLOR: #ff0000 }
	.style3 { COLOR: #ff0000 }
	.STYLE5 { FONT-WEIGHT: bold }
	.STYLE6 { FONT-WEIGHT: bold; COLOR: #ffffff }
	</style>
			<META content="MSHTML 6.00.2800.1106" name="GENERATOR">
	</HEAD>
	<BODY class="tableTd" text="#000000" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0">
		<form runat="server">
			<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%">
				<tr>
					<td colSpan="3" class="td_title">修改用户
					</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">
										<%=Request["username"].ToString()%>
										<font color="#000000"><font color="#000000">
												<span class="style2"></span></font></font>
									</span></font></font></span>
					</td>
				</tr>
				<tr class="tableTd">
					<td align="right">注册时间：</td>
					<td>
						<asp:label id="regtime" runat="server">未知</asp:label></td>
				</tr>
				<tr class="tableTd">
					<td align="right">IP：</td>
					<td>
						<asp:label id="ip" runat="server">未知</asp:label>&nbsp;&nbsp;
<script   language="javascript">   
  							<!--   
  							var   idtext=document.getElementById('ip')
document.writeln("<iframe height=\"15\" frameborder=\"0\" width=\"300\" allowtransparency=\"allowTransparency\" src=\"http:\/\/www.asp3w.com\/ip\/ip.asp?ip=");
document.writeln(idtext.innerText);
document.writeln("\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\"><\/iframe>");

						</script></td>
				</tr>
				<tr class="tableTd">
					<td align="right">最后登录：</td>
					<td>
						<asp:label id="uplogin" runat="server">未知</asp:label></td>
				</tr>
				<tr class="tableTd">
					<td align="right">登录次数：</td>
					<td>
						<asp:label id="logincount" runat="server">未知</asp:label></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" TextMode="Password" Columns="40" CssClass="tableTdtext"></asp:textbox>（不改密码不用输）
							</span>
						</span>
					</td>
				</tr>
				<TR>
					<TD align="right" width="21%"><FONT face="宋体">密码提示问题：</FONT></TD>
					<TD>
						<asp:textbox id="uquestion" runat="server" CssClass="tableTdtext" Columns="40"></asp:textbox></TD>
				</TR>
				<TR>
					<TD align="right" width="21%"><FONT face="宋体">密码提示答案：</FONT></TD>
					<TD>
						<asp:textbox id="uanswer" runat="server" CssClass="tableTdtext" Columns="40" TextMode="Password"></asp:textbox>（不改答案不用输）
					</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>
						</span></td>
				</tr>
				<tr class="tableTd">
					<td align="right">性 别：</td>
					<td><asp:radiobuttonlist id="sex" runat="server" Height="10px" RepeatDirection="Horizontal" Width="64px"
							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" height="32">帐户余额：</td>
					<td height="32"><asp:textbox id="money" runat="server" Columns="40" CssClass="tableTdtext">0</asp:textbox>
						<FONT face="宋体" 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 face="宋体" 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 face="宋体" 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><INPUT id="hidteam" style="WIDTH: 32px; HEIGHT: 22px" type="hidden" size="1" name="hidteam"
							runat="server"> <FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
				</tr>
				<tr class="tableTd">
					<td align="right">本空间介绍：</td>
					<td><asp:textbox id="recommend" runat="server" TextMode="MultiLine" Columns="50" CssClass="tableTdtext"
							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 face="宋体" color="#ff0000">（商业版功能）</FONT></span></td>
				</tr>
				<tr class="tableTd">
					<td align="right">公告信息：</td>
					<td><span class="pad"><asp:textbox id="gg" runat="server" TextMode="MultiLine" Columns="50" CssClass="tableTdtext"
								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" TextMode="Password" Columns="50" CssClass="tableTdtext"
								Width="120px" Rows="4" MaxLength="255"></asp:textbox>
						</span><span class="pad"><asp:linkbutton id="cpass" runat="server" Visible="False" onclick="cpass_Click">更改密码</asp:linkbutton>
							<INPUT id="hidpass" type="hidden" size="1" name="hidpass" runat="server">
						</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 face="宋体" color="#ff0000">（商业版功能）</FONT><BR>
							（设置此用户空间处的地址可以代替使用的顶级域名，用,分隔） </span><span class="pad"></span>
					</td>
				</tr>
				<tr class="tableTd">
					<td align="right">个人空间顶部广告代码：</td>
					<td>
                        <asp:TextBox ID="adv" runat="server" TextMode="MultiLine" Columns="50" CssClass="tableTdtext"
                            Rows="5"></asp:TextBox></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 face="宋体" color="#ff0000">（商业版功能）</FONT><BR>
							（设置此用户除在本站可以下载自己的文件外，在外部仅允许的下载来源网址，用,分隔，不受等级中的网址限制） </span><span class="pad"></span>
					</td>
				</tr>
				<tr class="tableTd">
					<td align="right">今日已下载流量：</td>
					<td><asp:textbox id="maxcount" runat="server" CssClass="tableTdtext" Columns="50" Width="120px" Rows="4"
							MaxLength="255"></asp:textbox><FONT face="宋体">K（限制每日流量时有数值）</FONT><FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
				</tr>
				<tr class="tableTd">
					<td align="right">总共下载流量：</td>
					<td><asp:textbox id="maxcounttotal" runat="server" CssClass="tableTdtext" Columns="50" Width="120px"
							Rows="4" MaxLength="255"></asp:textbox><FONT face="宋体">K（限制总共流量时有数值）</FONT><FONT face="宋体" color="#ff0000">（商业版功能）</FONT></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" class="formbutton" Text="保存信息" onclick="Button1_Click"></asp:Button>
									<INPUT type="hidden" name="username" id="username" runat="server">
					</span></span></div>
					</td>
				</tr>
			</table>
		</form>
	</BODY>
</HTML>
