📄 useredit.asp
字号:
<!--#include file="conn.asp"-->
<%
dim rs
dim sql
set rs=server.createobject("adodb.recordset")
sql="select * from users where userid='"&Replace(request("userid"), "'", "''")&"'"
rs.open sql,conn,1,3
userid=rs("userid")
password=rs("password")
name=rs("name")
email=rs("email")
times=rs("times")
sex=rs("sex")
Province=rs("Province")
date=rs("date")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="images/forum_admin.css" type=text/css rel=stylesheet>
<title>会员个人信息</title>
</head>
<body >
<TABLE class=tableBorder height=1 cellSpacing=1 cellPadding=5 width="100%"
align=center border=0>
<TBODY>
<TR>
<TH height=25 style="background-image: url('images/admin_bg_1.gif')"> <b><font style="font-size: 9pt">会 员 管 理 页 面</font></span></b></TH></TR></tbody></table>
<form method="POST" action="usersave.asp?userid=<%=Replace(request("userid"), "'", "''")%>">
<div align="center">
<center>
<table border="0" cellpadding="4" cellspacing="0" width="74%" height="78" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" colspan="4" bgcolor="#FFFFFF" height="23" nowrap> <p align="center"><font size="2"><b><%=name%>个人详细资料</b></font></td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="25" nowrap> <p align="center"><font size="2">用
户:</font></td>
<td width="32%" bgcolor="#FFFFFF" height="25" nowrap><font size="2">
<input type="text" name="useridd" size="23" style="border-style: solid; border-width: 1" value="<%=userid%>">
</font></td>
<td width="13%" bgcolor="#FFFFFF" height="25" nowrap><font size="2">密
码:</font></td>
<td width="39%" bgcolor="#FFFFFF" height="25" nowrap><font size="2">
<input type="text" name="password" size="15" style="border-style: solid; border-width: 1" value="">
</font>不更改请保留空</td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="13" nowrap> <p align="center"><font size="2">真实性名:</font></td>
<td width="32%" bgcolor="#FFFFFF" height="13" nowrap><font size="2">
<input type="text" name="name" size="23" style="border-style: solid; border-width: 1" value="<%=name%>">
</font></td>
<td width="13%" bgcolor="#FFFFFF" height="13" nowrap><font size="2">邮
件:</font></td>
<td width="39%" bgcolor="#FFFFFF" height="13" nowrap><font size="2">
<input type="text" name="email" size="22" style="border-style: solid; border-width: 1" value="<%=email%>">
</font></td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="12" nowrap> <p align="center"><font size="2">观看次数:</font></td>
<td width="32%" bgcolor="#FFFFFF" height="12" nowrap><font size="2">
<input type="text" name="nlook" size="23" style="border-style: solid; border-width: 1" value="<%=rs("nlook")%>">
</font></td>
<td width="16%" bgcolor="#FFFFFF" height="0" nowrap> <p align="center"><font size="2">联系手机:</font></td>
<td width="84%" colspan="3" bgcolor="#FFFFFF" height="0" nowrap> <input type="text" name="phone" size="23" style="border-style: solid; border-width: 1" value="<%=rs("phone")%>"></td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="7" nowrap> <p align="center"><font size="2">登陆次数:</font></td>
<td width="32%" bgcolor="#FFFFFF" height="7" nowrap><font size="2">
<input type="text" name="times" size="23" style="border-style: solid; border-width: 1" value="<%=times%>">
</font></td>
<td width="13%" bgcolor="#FFFFFF" height="7" nowrap><font size="2">注册时间:</font></td>
<td width="39%" bgcolor="#FFFFFF" height="7" nowrap><font size="2"><%=date%>
</font></td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="3" nowrap> <p align="center"><font size="2">居住省份:</font></td>
<td width="32%" bgcolor="#FFFFFF" height="3" nowrap><font size="2">
<input type="text" name="Province" size="23" style="border-style: solid; border-width: 1" value="<%=Province%>">
</font></td>
<td width="13%" bgcolor="#FFFFFF" height="3" nowrap>性 别:</td>
<td width="39%" bgcolor="#FFFFFF" height="3" nowrap><font size="2">
<input type="text" name="sex" size="22" style="border-style: solid; border-width: 1" value="<%=sex%>">
</font></td>
</tr>
<tr>
<td width="100%" colspan="4" bgcolor="#FFFFFF" height="23" nowrap><p align="center">
<input type="submit" value="更改" name="change">
</td>
</tr>
</table>
</center>
</div>
</form>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -