这是全部代码,麻烦斑竹耐心看看,因为这个作业很急,非常感谢你!
<!--#include file="../../check.asp"-->
<!--#include file="articleconn.asp"-->
<%if session(flag)>1 then
response.write "<script>alert('您的操作权限不够!');history.back();</script>"
response.end
end if
%>
<%
dim rs
'userid=request("userid")
'userid=Replace(userid, "'", "")
dim sql
set rs=server.createobject("adodb.recordset")
'sql="select * from [User] where Userid='"& userid &"'"
sql="select * from User where Userid='"&request("userid")&"'"
rs.open sql,conn,1,3
userid=rs("userid")
password=rs("password")
name=rs("name")
email=rs("email")
nos=rs("nos")
send=rs("send")
money=rs("money")
adress=rs("adress")
sex=rs("sex")
Province=rs("Province")
city=rs("city")
dat=rs("date")
pay=rs("pay")
usercount=rs("usercount")
userip=rs("userip")
baoyue=rs("baoyue")
%>
<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 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>会员个人信息</title>
</head>
<style type=text/css>
body { background:#336699; margin:0px; font:9pt 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#000000;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<body >
<p> </p>
<form method="POST" action="userseve.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="userid" 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="13%" bgcolor="#FFFFFF" height="12" nowrap><font size="2">
激活时间:</font></td>
<td width="39%" bgcolor="#FFFFFF" height="12" nowrap> <input type="text" name="starlook" size="22" value="<%=rs("starlook")%>" style="border-style: solid; border-width: 1"></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="nos" size="23" style="border-style: solid; border-width: 1" value="<%=nos%>">
</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">
<input type="text" name="money" size="22" style="border-style: solid; border-width: 1" value="<%=money%>">
</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="pay" size="23" style="border-style: solid; border-width: 1" value="<%=pay%>">
</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="usercount" size="23" style="border-style: solid; border-width: 1" value="<%=usercount%>">
</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> <select size="1" name="oklookx">
<option value="0" <%if rs("oklook")=0 then%> selected <%end if%>>电影游客 </option>
<option value="1" <%if rs("oklook")=1 then%> selected <%end if%>>计点会员 </option>
<option value="2" <%if rs("oklook")=2 then%> selected <%end if%>>包月会员 </option>
<option value="3" <%if rs("oklook")=3 then%> selected <%end if%>>包季会员 </option>
<option value="4" <%if rs("oklook")=4 then%> selected <%end if%>>包年会员 </option>
<option value="5" <%if rs("oklook")=5 then%> selected <%end if%>>终生会员 </option>
</select></td>
<td width="13%" bgcolor="#FFFFFF" height="3" nowrap>是否包月:</td>
<td width="39%" bgcolor="#FFFFFF" height="3" nowrap><input type="text" name="baoyue" size="5" style="border-style: solid; border-width: 1" value="<%=baoyue%>">
0:计点 1:包月</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="1" nowrap><p align="center"><font size="2">密码问题:</font></td>
<td bgcolor="#FFFFFF" height="1" nowrap><font size="2">
<input type="text" name="city" size="23" style="border-style: solid; border-width: 1" value="<%=city%>">
</font></td>
<td bgcolor="#FFFFFF" height="1" nowrap><font size="2">答 案:</font></td>
<td bgcolor="#FFFFFF" height="1" nowrap><font size="2">
<input type="text" name="adress" size="23" style="border-style: solid; border-width: 1" value="<%=adress%>">
</font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="0" nowrap> <p align="center"><font size="2">联系 Q Q:</font></td>
<td bgcolor="#FFFFFF" height="0" nowrap> <input type="text" name="phone" size="23" style="border-style: solid; border-width: 1" value="<%=rs("phone")%>"></td>
<td bgcolor="#FFFFFF" height="1" nowrap> <p align="center"><font size="2">会 员 IP:</font></td>
<td bgcolor="#FFFFFF" height="1" nowrap> <%=userip%></td>
</tr>
<tr>
<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><%=dat%><font size="2"> 所得佣金:</font><input type="text" name="getmoney" size="6" value="<%=rs("getmoney")%>"> <font size="2">代理会员:</font><%=rs("askmejoin")%></td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="0" nowrap> <p align="center">推广成果:</td>
<%sql="select * from user where askmejoin='"&Replace(request("userid"), "'", "''")&"'"
set rsurl=server.createobject("adodb.recordset")
rsurl.open sql,conn,1,1
noer=rsurl.recordcount
rsurl.close
set rsurl=nothing
%>
<td width="84%" colspan="3" bgcolor="#FFFFFF" height="0" nowrap>你目前成功推广了<font color="#FF0000">(<%=noer%>)</font>位会员加入,其中付费人次<font color="#FF0000">(<%=rs("payno")%>)</font>次
,你得到了<font color="#FF0000">(<%=rs("getmoney")%>)</font>元代理佣金。</td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="9" nowrap> </td>
<td width="84%" colspan="3" bgcolor="#FFFFFF" height="9" nowrap> <input type="submit" value="更改" name="change">
<span lang="en-us"> </span> <input type="submit" value="清空佣金" name="payer"></td>
</tr>
<tr>
<td width="16%" bgcolor="#FFFFFF" height="9" nowrap> </td>
<td width="84%" colspan="3" bgcolor="#FFFFFF" height="9" nowrap> </td>
</tr>
</table>
</center>
</div>
</form>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</body>
</html>
</body>
</html>