useredit.asp
资源名称:qnmov30.rar [点击查看]
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:10k
源码类别:
家庭/个人应用
开发平台:
ASP/ASPX
- <!--#include file="../checkpost.asp"-->
- <!--#include file="articleconn.asp"-->
- <!--#include file="security.asp"-->
- <%
- if session("flag")>2 then
- response.write "<br><p align=center>您没有操作的权限</p>"
- response.end
- end if
- %>
- <%
- 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")
- 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 href="inc/Admin_STYLE.CSS" rel="stylesheet" type="text/css">
- <title><%=name%>的个人详细资料-=-注册时间:<%=rs("date")%></title>
- <style type="text/css">
- <!--
- .样式1 {font-size: 9px}
- .样式2 {font-size: 9}
- .样式3 {font-size: 9pt}
- .样式5 {font-size: 9; color: #FF0000; }
- -->
- </style>
- </head>
- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
- <form method="POST" action="userseve.asp?userid=<%=Replace(request("userid"), "'", "''")%>">
- <div align="center">
- <center>
- <table width="100%" border="0" cellspacing="1" cellpadding="2" class="border">
- <tr>
- <td height="23" colspan="4" bgcolor="#429AEF"><div align="center" class="样式1"><span class="样式5"><span class="样式3"><b><%=name%></b></span></span><span class="样式2"><span class="样式3"><font color="#FFFFFF"><b>的个人详细资料</b></font></span></span></div></td>
- </tr>
- <tr>
- <td width="15%" class="tdbg"><div align="center" class="样式3">用 户:</div></td>
- <td width="34%" class="tdbg"><span class="样式3">
- <input type="text" name="useridd" size="23" style="border-style: solid; border-width: 1" value="<%=userid%>">
- </span></td>
- <td width="15%" class="tdbg"><div align="center" class="样式3">密
- 码:</div></td>
- <td width="36%" class="tdbg 样式3"> <input type="text" name="password" size="15" style="border-style: solid; border-width: 1" value=""> 不更改请保留空
- </td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">真实性名:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="name" size="23" style="border-style: solid; border-width: 1" value="<%=name%>">
- </span></td>
- <td class="tdbg"><div align="center" class="样式3">邮 件:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="email" size="22" style="border-style: solid; border-width: 1" value="<%=email%>">
- </span></td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">观看次数:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="nlook" size="23" style="border-style: solid; border-width: 1" value="<%=rs("nlook")%>">
- </span></td>
- <td class="tdbg"><div align="center" class="样式3">激活时间:</div></td>
- <td class="tdbg"><input type="text" name="starlook" size="22" value="<%=rs("starlook")%>" style="border-style: solid; border-width: 1;">
- </td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">登陆次数:</div></td>
- <td class="tdbg"> <span class="样式3">
- <input type="text" name="nos" size="23" style="border-style: solid; border-width: 1" value="<%=nos%>">
- </span></td>
- <td class="tdbg"><div align="center" class="样式3">停使时间:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="moneyg" size="22" style="border-style: solid; border-width: 1" value="<%=money%>">
- </span></td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">居住省份:</div></td>
- <td class="tdbg"> <span class="样式3"><strong>
- <input type="text" name="Province" size="23" style="border-style: solid; border-width: 1" value="<%=Province%>">
- </strong> </span></td>
- <td class="tdbg"><div align="center" class="样式3">性 别:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="sex" size="22" style="border-style: solid; border-width: 1" value="<%=sex%>">
- </span></td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">付款状态:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="pay" size="23" style="border-style: solid; border-width: 1" value="<%=Pay%>">
- </span></td>
- <td class="tdbg"><div align="center" class="样式3">剩余点数:</div></td>
- <td class="tdbg"> <span class="样式3">
- <input type="text" name="usercount" size="23" style="border-style: solid; border-width: 1" value="<%=usercount%>">
- </span></td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">会员级别:</div></td>
- <td class="tdbg"><span class="样式3">
- <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>
- </select>
- </span> </td>
- <td class="tdbg"><div align="center" class="样式3">是否包月:</div></td>
- <td class="tdbg 样式3"><input type="text" name="baoyue" size="5" style="border-style: solid; border-width: 1" value="<%=baoyue%>">
- 0:计点 1:包月</td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">密码问题:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="city" size="23" style="border-style: solid; border-width: 1" value="<%=city%>">
- </span></td>
- <td class="tdbg"><div align="center" class="样式3">答 案:</div></td>
- <td class="tdbg"><span class="样式3">
- <input type="text" name="adress" size="23" style="border-style: solid; border-width: 1" value="<%=adress%>">
- </span></td>
- </tr>
- <tr>
- <td class="tdbg">
- <div align="center" class="样式3">会 员 IP:</div></td>
- <td colspan="3" class="tdbg 样式3"> <%=userip%> </td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">联系手机:</div></td>
- <td class="tdbg"><input type="text" name="phone" size="23" style="border-style: solid; border-width: 1;" value="<%=rs("phone")%>">
- </td>
- <td class="tdbg"><div align="center"><span class="样式1"><span class="样式1"><span class="样式3"></span></span></span></div></td>
- <td class="tdbg 样式3"> </td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">家住地址:</div></td>
- <td colspan="3" class="tdbg"><input type="text" name="homeaddress" size="56" style="border-style: solid; border-width: 1;" value="<%=rs("homeaddress")%>"></td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">注册时间:</div></td>
- <td colspan="3" class="tdbg 样式3"><%=dat%></td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">推广成果:</div></td>
- <%sql="select * from users 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 colspan="3" class="tdbg 样式3">你目前成功推广了<font color="#FF0000">(<%=noer%>)</font>位会员加入,其中付费人次<font color="#FF0000">(<%=rs("payno")%>)</font>次 ,你得到了<font color="#FF0000">(<%=rs("getmoney")%>)</font>元代理佣金。</td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">所得佣金:</div></td>
- <td class="tdbg"><input type="text" name="getmoney" size="23" style="border-style: solid; border-width: 1;" value="<%=rs("getmoney")%>"></td>
- <td class="tdbg 样式3"> </td>
- <td class="tdbg 样式3"> </td>
- </tr>
- <tr>
- <td class="tdbg"><div align="center" class="样式3">代理会员:</div></td>
- <td class="tdbg 样式3"><%=rs("askmejoin")%>
- </td>
- <td class="tdbg"><div align="center"><span class="样式1"><span class="样式1"><span class="样式3"></span></span></span></div></td>
- <td class="tdbg 样式3"> </td>
- </tr>
- <tr>
- <td colspan="4" class="tdbg"><div align="center">
- <input type="submit" value="更改" name="change">
- <input type="submit" value="清空佣金" name="payer">
- </div></td>
- </tr>
- </table>
- </center>
- </div>
- </form>
- <%
- rs.close
- set rs=nothing
- conn.close
- set conn=nothing
- %>
- </body>
- </html>