📄 userinfo.asp
字号:
<!--#include file="sub/config.asp"-->
<!--#include file="sub/conn.asp"-->
<% if session("userlogin")<>session.sessionid then
Response.Write "<script language=javascript>{window.alert('对不起,你还没登录会员管理系统请返回!');window.location.href='user.asp';}</script>"
else
dim userid,rs,sql
userid = Session("id")
set rs=server.createobject("adodb.recordset") '创建纪录集
sql="select * from ax_user where id="&userid&" " '查找用户信息
rs.open sql,cn,1,2
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=Sitename%>-设计会员地带</title>
<link href="index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--#include file="top.asp"-->
<table width="780" height="4" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td background="images/index_11.gif"></td>
</tr>
</table><table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" rowspan="2"><img src="images/Lv2/lv2usermge.gif" width="200" height="30" /></td>
<td height="29" colspan="3" align="center" bgcolor="#EEFFFF">
<marquee behavior=alternate onmouseover=stop() onmouseout=start() scrollamount="1" scrolldelay="10">
<font class="top"><%=ad1%></font>
</marquee></td>
</tr>
<tr>
<td height="1" colspan="3" align="center" bgcolor="#FF9900"></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#EEFFFF">
<table width="175" cellspacing="0" cellpadding="0" >
<tr >
<td height="20" colspan="2" >您的用户名是: <%=rs("name")%></td>
</tr>
<tr >
<td width="80" height="25" class="xuxian"><a href="userinfo.asp">信息修改</a></td>
<td class="xuxian"><a href="userunion.asp">登记工作室</a></td>
</tr>
<tr >
<td width="80" height="25" class="xuxian"><a href="gbook.asp">在线留言</a></td>
<td class="xuxian"><a href="link.asp">友情链接</a></td>
</tr>
<tr >
<td width="80" height="25"class="xuxian"><a href="upworks.asp">上传作品</a></td>
<td class="xuxian"><a href="#"><a href="userout.asp">安全退出</a></a></td>
</tr>
<tr >
<td width="80" height="25" class="xuxian"><a href="#"></a></td>
<td class="xuxian"> </td>
</tr>
</table></td>
<td width="20" valign="top"> </td>
<td width="540" valign="top">
<form id="form1" name="form1" method="post" action="cnginfo.asp">
<p>您的个人资料:</p>
<table border="0" cellpadding="0" cellspacing="0" class="xuxian1">
<tr>
<td height="25" class="xuxian">用户名:</td>
<td class="xuxian"><%=rs("name")%></td>
<td class="xuxian"> 级别:</td>
<td class="xuxian"><%=rs("type")%></td>
</tr>
<tr>
<td height="25" class="xuxian">注册时间:</td>
<td class="xuxian"><%=rs("regtime")%></td>
<td class="xuxian">积分:</td>
<td class="xuxian"><%=rs("logincount")%>0</td>
</tr>
<tr>
<td height="25" class="xuxian">Q 号码:</td>
<td class="xuxian"><input name="QQ" type="text" class="wubian" id="QQ" value="<%=rs("userQQ")%>" size="12" maxlength="16" /></td>
<td class="xuxian">省份: </td>
<td class="xuxian"><input name="sheng" type="text" class="wubian" id="sheng" value="<%=rs("sheng")%>" size="12" maxlength="16" /></td>
</tr>
<tr>
<td height="25" class="xuxian">电话:</td>
<td class="xuxian"><input name="phone" type="text" class="wubian" id="phone" value="<%=rs("phone")%>" size="12" maxlength="16" /></td>
<td class="xuxian">密码: </td>
<td class="xuxian"><input name="pwd" type="password" class="wubian" id="pwd" size="12" maxlength="16" />
不改密码请将此项留空</td>
</tr>
<tr>
<td height="25" class="xuxian">性_别: </td>
<td class="xuxian"><%=rs("sex")%></td><td class="xuxian">Email:</td>
<td class="xuxian"><input name="email" type="text" class="wubian" id="email" value="<%=rs("email")%>" size="12" maxlength="30" /></td>
</tr>
<tr>
<td height="25" class="xuxian">性别修改:</td>
<td class="xuxian"><label>
<input name="radio" type="radio" value="男" checked="checked" />
男
<input type="radio" name="radio" value="女" />
女 </label></td>
<td class="xuxian"> </td>
<td class="xuxian"><input name="Submit" type="submit" class="Input" value="确认修改" /></td>
</tr>
</table>
<p> </p>
</form> </td>
<td width="20" valign="top"> </td>
</tr>
</table>
<% set rs=nothing '关闭纪录集,释放所占资源
end if %>
<!--#include file="bottom.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -