📄 user_edit.asp
字号:
<!--#include file="../inc/conn.asp"-->
<%
if session("chat_admin")<>"yes" then
response.redirect "login.asp"
response.end
end if
userid=request("userid")
if userid="" then
response.write "无效的用户ID,请先选择一个用户。"
response.end
end if
sql="select username,password,email,homepage,oicq,biography,experi,amoney,bmoney,meili,kickcount from [user] where userid=" & userid
Conn = DBCN()
set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,3
if rs.eof then
response.write "没有找到指定的用户资料。"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户管理(修改用户资料)</title>
<style type="text/css">
<!--
.p9 {font-size: 9pt; line-height: 14pt }
A:link {COLOR: #0000ff; TEXT-DECORATION: underline }
A:hover{COLOR: #EB551D; TEXT-DECORATION: none }
A:active{COLOR: #EB551D }
-->
</style>
</head>
<body topmargin="3" leftmargin="3">
<table border="0" width="100%" bgcolor="#C8C9D2">
<tr>
<td width="52%"><strong>JChat注册用户管理面板</strong></td>
<td width="48%">
<p align="right" class="p9"><a href="logout.asp"><font color=red>退出系统</font></a> <a href="http://www.easyfad.com">技术支持</a> <a href="http://www.jchat.com.cn">关于JChat</a></td>
</tr>
</table>
<table border="0" width="100%" height="90%" bgcolor="#E7E7EB">
<tr>
<td width="100%" class="p9" valign="top"><br>
<br><a href="index.asp">首页</a>-><a href="#" onclick="history.back(0);return false;">用户列表</a>->用户基本资料
<form method="POST" action="useredit_save.asp">
<input name="userid" type="hidden" value="<%=userid%>">
<input name="myurl" type="hidden" value="<%=myurl%>">
<table border="1" width="93%" bordercolor="#71ACBD" cellspacing="0" cellpadding="0">
<tr>
<td width="17%" class="p9">名字:</td>
<td width="83%" class="p9"><input type="text" name="username" size="20" value="<%=rs("username")%>"> <a href="editinfo2.asp?userid=<%=userid%>">用户附加资料</a></td>
</tr>
<tr>
<td width="17%" class="p9">密码:</td>
<td width="83%" class="p9"><input type="text" name="password" size="20" value="<%=rs("password")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">EMAIL:</td>
<td width="83%" class="p9"><input type="text" name="email" size="30" value="<%=rs("email")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">OICQ:</td>
<td width="83%" class="p9"><input type="text" name="oicq" size="30" value="<%=rs("oicq")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">个人主页:</td>
<td width="83%" class="p9"><input type="text" name="homepage" size="30" value="<%=rs("homepage")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">个人简介:</td>
<td width="83%" class="p9"><textarea rows="8" name="biography" cols="48"><%=htmldecode(rs("biography"))%></textarea></td>
</tr>
<tr>
<td width="17%" class="p9">经验值:</td>
<td width="83%" class="p9"><input type="text" name="experi" size="20" value="<%=rs("experi")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">银子:</td>
<td width="83%" class="p9"><input type="text" name="money" size="20" value="<%=rs("amoney")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">存款:</td>
<td width="83%" class="p9"><input type="text" name="bmoney" size="20" value="<%=rs("bmoney")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">魅力值:</td>
<td width="83%" class="p9"><input type="text" name="meili" size="20" value="<%=rs("meili")%>"></td>
</tr>
<tr>
<td width="17%" class="p9">被踢次数:</td>
<td width="83%" class="p9"><input type="text" name="kickcount" size="20" value="<%=rs("kickcount")%>"></td>
</tr>
<tr>
<td width="17%"> </td>
<td width="83%"> <br>
<input type="submit" value=" 提 交 "> <input type="reset"
value=" 复 原 "> <br>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table border="0" width="100%" bgcolor="#C8C9D2">
<tr>
<td width="100%" class="p9">
<p align="right">版本:<font color="#FF0000">JChat V3.7.0</font> </p>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -