⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_edit.asp

📁 电影ASP文件
💻 ASP
字号:
<!--#include file="../film_conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../set_url.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='"&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")
sex=rs("sex")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>会员 <%=name%> 个人信息</title>
</head>
<body bgcolor="#F6F6F6">
<form method="POST" action="<%=weburl%>/<%=adminurl%>/user_edit_save.asp?userid=<%=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">用户帐号:</td>
        <td width="32%" bgcolor="#FFFFFF" height="25" nowrap><input type="text" name="useridd" size="23" style="border-style: solid; border-width: 1" value="<%=userid%>"></td>
        <td width="13%" bgcolor="#FFFFFF" height="25" nowrap>密    
        码:</td>
        <td width="39%" bgcolor="#FFFFFF" height="25" nowrap><input type="text" name="password" size="22" style="border-style: solid; border-width: 1" value="<%=password%>"></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="13" nowrap>
        <p align="center">真实姓名:</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>邮    
        件:</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">观看次数:</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>激活时间:</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">登陆次数:</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>到期时间:</td>
        <td width="39%" bgcolor="#FFFFFF" height="7" nowrap><font size="2">
        <input type="text" name="moneyg" 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">出生年月:</td>
        <td width="32%" bgcolor="#FFFFFF" height="3" nowrap><font size="2">
        <input type="text" name="birthday" size="23" style="border-style: solid; border-width: 1" value="<%=rs("birthday")%>"></font></td>
        <td width="13%" bgcolor="#FFFFFF" height="3" nowrap>QQ号码:</td>
        <td width="39%" bgcolor="#FFFFFF" height="3" nowrap><font size="2">
        <input type="text" name="qq" size="22" style="border-style: solid; border-width: 1" value="<%=rs("qq")%>"></font></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="3" nowrap>
        <p align="center">提示问题:</td>
        <td width="84%" bgcolor="#FFFFFF" height="3" nowrap colspan="3"><font color="#CC0000">
                    <select size="1" name="question" style="BACKGROUND-COLOR: #f6f6f6">
                    <option value="你最爱的人是谁">你最爱的人是谁</option>
                    <option value="你的父亲叫什么名字">你的父亲叫什么名字</option>
                    <option value="最好的朋友叫什么名字">最好的朋友叫什么名字</option>
                    <option value="你念中学时的校名">你念中学时的校名</option>
                    <option value="最心爱的宠物的名字">最心爱的宠物的名字</option>
                    <option value="最喜欢的一句名言">最喜欢的一句名言</option>
                    <option value="最讨厌的一件事">最讨厌的一件事</option>
                    <option value="最喜欢看的书名">最喜欢看的书名</option>
                    </select></font></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="3" nowrap>
        <p align="center">问题答案:</td>
        <td width="84%" bgcolor="#FFFFFF" height="3" nowrap colspan="3"><font size="2">
        <input type="text" name="ask" size="22" style="border-style: solid; border-width: 1" value="<%=rs("ask")%>"></font></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="3" nowrap>
        <p align="center">居住地区:</td>
        <td width="32%" bgcolor="#FFFFFF" height="3" nowrap><font size="2">
        <%=rs("Province")%>-<%=rs("city")%>-<%=rs("county")%></font> </td>
        <td width="13%" bgcolor="#FFFFFF" height="3" nowrap>性     
        别:</td>
        <td width="39%" bgcolor="#FFFFFF" height="3" nowrap><font size="2">
        <select size="1" name="sex">
        <option value="<%=sex%>"><%=sex%></option>
        <option value="男">男</option>
        <option value="女">女</option>
        </select></font></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="3" nowrap>
        <p align="center">会员级别:</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="3" <%if rs("oklook")=4 then%> selected <%end if%>>钻石会员
        </option>
        </select></td>
        <td width="13%" bgcolor="#FFFFFF" height="3" nowrap>剩余天数:</td>
        <td width="39%" bgcolor="#FFFFFF" height="3" nowrap><%=money-rs("starlook")%> 天</td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="1" nowrap>
        <p align="center">通知会员:</td>
        <td width="84%" colspan="3" bgcolor="#FFFFFF" height="1" nowrap>
        <font size="2">
        <input type="text" name="send" size="58" style="border-style: solid; border-width: 1" value="<%=send%>"></font></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="0" nowrap>
        <p align="center">手机号码:</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="0" nowrap>
        <p align="center">联系地址:</td>
        <td width="84%" colspan="3" bgcolor="#FFFFFF" height="0" nowrap>
        <input type="text" name="homeaddress" size="56" style="border-style: solid; border-width: 1" value="<%=rs("homeaddress")%>"></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="0" nowrap>
        <p align="center">身份证号:</td>
        <td width="84%" colspan="3" bgcolor="#FFFFFF" height="0" nowrap>
        <input type="text" name="idcard" size="34" style="border-style: solid; border-width: 1" value="<%=rs("idcard")%>"></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="0" nowrap>
        <p align="center">注册时间:</td>
        <td width="84%" colspan="3" bgcolor="#FFFFFF" height="0" nowrap><%=dat%></td>
      </tr>
      <tr>
        <td width="16%" bgcolor="#FFFFFF" height="0" nowrap>
        <p align="center">推广成果:</td>
        <%sql="select * from users where askmejoin='"&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="0" nowrap>
        <p align="center">代理会员:</td>
        <td width="84%" colspan="3" bgcolor="#FFFFFF" height="0" nowrap>
        <%=rs("askmejoin")%></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"> <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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -