useredit.asp
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:10k
源码类别:

家庭/个人应用

开发平台:

ASP/ASPX

  1. <!--#include file="../checkpost.asp"-->
  2. <!--#include file="articleconn.asp"-->
  3. <!--#include file="security.asp"-->
  4. <%
  5. if session("flag")>2 then
  6. response.write "<br><p align=center>您没有操作的权限</p>"
  7. response.end
  8. end if
  9. %>
  10. <%
  11.  dim rs
  12.  dim sql
  13.  set rs=server.createobject("adodb.recordset")
  14.  sql="select * from users where userid='"&Replace(request("userid"), "'", "''")&"'"
  15.  rs.open sql,conn,1,3
  16. userid=rs("userid")
  17. password=rs("password")
  18. name=rs("name")
  19. email=rs("email")
  20. nos=rs("nos")
  21. send=rs("send")
  22. money=rs("money")
  23. adress=rs("adress")
  24. sex=rs("sex")
  25. Province=rs("Province")
  26. city=rs("city")
  27. dat=rs("date")
  28. pay=rs("pay")
  29. usercount=rs("usercount")
  30. userip=rs("userip")
  31. baoyue=rs("baoyue")
  32. %>
  33. <html>
  34. <head>
  35. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  36. <meta http-equiv="Content-Language" content="zh-cn">
  37. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  38. <meta name="ProgId" content="FrontPage.Editor.Document">
  39. <LINK href="inc/Admin_STYLE.CSS" rel="stylesheet" type="text/css">
  40. <title><%=name%>的个人详细资料-=-注册时间:<%=rs("date")%></title>
  41. <style type="text/css">
  42. <!--
  43. .样式1 {font-size: 9px}
  44. .样式2 {font-size: 9}
  45. .样式3 {font-size: 9pt}
  46. .样式5 {font-size: 9; color: #FF0000; }
  47. -->
  48. </style>
  49. </head>
  50. <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  51. <form method="POST" action="userseve.asp?userid=<%=Replace(request("userid"), "'", "''")%>">
  52.   <div align="center">
  53. <center>
  54.       <table width="100%" border="0" cellspacing="1" cellpadding="2" class="border">
  55.         <tr> 
  56.           <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>
  57.         </tr>
  58.         <tr> 
  59.           <td width="15%" class="tdbg"><div align="center" class="样式3">用&nbsp;&nbsp; 户:</div></td>
  60.           <td width="34%" class="tdbg"><span class="样式3">
  61.             <input type="text" name="useridd" size="23" style="border-style: solid; border-width: 1" value="<%=userid%>">
  62.             
  63.           </span></td>
  64.           <td width="15%" class="tdbg"><div align="center" class="样式3">密&nbsp;&nbsp;&nbsp; 
  65.               码:</div></td>
  66.           <td width="36%" class="tdbg 样式3">            <input type="text" name="password" size="15" style="border-style: solid; border-width: 1" value="">          不更改请保留空 
  67.           </td>
  68.         </tr>
  69.         <tr> 
  70.           <td class="tdbg"><div align="center" class="样式3">真实性名:</div></td>
  71.           <td class="tdbg"><span class="样式3">
  72.             <input type="text" name="name" size="23" style="border-style: solid; border-width: 1" value="<%=name%>">
  73.             
  74.           </span></td>
  75.           <td class="tdbg"><div align="center" class="样式3">邮&nbsp;&nbsp;&nbsp; 件:</div></td>
  76.           <td class="tdbg"><span class="样式3">
  77.             <input type="text" name="email" size="22" style="border-style: solid; border-width: 1" value="<%=email%>">
  78.             
  79.           </span></td>
  80.         </tr>
  81.         <tr> 
  82.           <td class="tdbg"><div align="center" class="样式3">观看次数:</div></td>
  83.           <td class="tdbg"><span class="样式3">
  84.             <input type="text" name="nlook" size="23" style="border-style: solid; border-width: 1" value="<%=rs("nlook")%>">
  85.             
  86.           </span></td>
  87.           <td class="tdbg"><div align="center" class="样式3">激活时间:</div></td>
  88.           <td class="tdbg"><input type="text" name="starlook" size="22" value="<%=rs("starlook")%>" style="border-style: solid; border-width: 1;">  
  89.           </td>
  90.         </tr>
  91.         <tr> 
  92.           <td class="tdbg"><div align="center" class="样式3">登陆次数:</div></td>
  93.           <td class="tdbg"> <span class="样式3">
  94.             <input type="text" name="nos" size="23" style="border-style: solid; border-width: 1" value="<%=nos%>"> 
  95.             </span></td>
  96.           <td class="tdbg"><div align="center" class="样式3">停使时间:</div></td>
  97.           <td class="tdbg"><span class="样式3">
  98.             <input type="text" name="moneyg" size="22" style="border-style: solid; border-width: 1" value="<%=money%>"> 
  99.             </span></td>
  100.         </tr>
  101.         <tr> 
  102.           <td class="tdbg"><div align="center" class="样式3">居住省份:</div></td>
  103.           <td class="tdbg"> <span class="样式3"><strong>
  104.             <input type="text" name="Province" size="23" style="border-style: solid; border-width: 1" value="<%=Province%>">
  105.            
  106.             </strong> </span></td>
  107.           <td class="tdbg"><div align="center" class="样式3">性&nbsp;&nbsp;&nbsp; 别:</div></td>
  108.           <td class="tdbg"><span class="样式3">
  109.             <input type="text" name="sex" size="22" style="border-style: solid; border-width: 1" value="<%=sex%>">
  110.             
  111.           </span></td>
  112.         </tr>
  113.         <tr> 
  114.           <td class="tdbg"><div align="center" class="样式3">付款状态:</div></td>
  115.           <td class="tdbg"><span class="样式3">
  116.             <input type="text" name="pay" size="23" style="border-style: solid; border-width: 1" value="<%=Pay%>"> 
  117.             </span></td>
  118.           <td class="tdbg"><div align="center" class="样式3">剩余点数:</div></td>
  119.           <td class="tdbg"> <span class="样式3">
  120.             <input type="text" name="usercount" size="23" style="border-style: solid; border-width: 1" value="<%=usercount%>"> 
  121.             </span></td>
  122.         </tr>
  123.         <tr> 
  124.           <td class="tdbg"><div align="center" class="样式3">会员级别:</div></td>
  125.           <td class="tdbg"><span class="样式3">
  126.             <select size="1" name="oklookx">
  127.               <option value="0" <%if rs("oklook")=0 then%> selected <%end if%>>电影游客 </option>
  128.               <option value="1" <%if rs("oklook")=1 then%> selected <%end if%>>普通会员 </option>
  129.               <option value="2" <%if rs("oklook")=2 then%> selected <%end if%>>白银会员 </option>
  130.               <option value="3" <%if rs("oklook")=3 then%> selected <%end if%>>黄金会员 </option>
  131.               <option value="4" <%if rs("oklook")=4 then%> selected <%end if%>>钻石会员 </option>
  132.             </select>
  133.           </span>          </td>
  134.           <td class="tdbg"><div align="center" class="样式3">是否包月:</div></td>
  135.           <td class="tdbg 样式3"><input type="text" name="baoyue" size="5" style="border-style: solid; border-width: 1" value="<%=baoyue%>">
  136. 0:计点 1:包月</td>
  137.         </tr>
  138.         <tr> 
  139.           <td class="tdbg"><div align="center" class="样式3">密码问题:</div></td>
  140.           <td class="tdbg"><span class="样式3">
  141.             <input type="text" name="city" size="23" style="border-style: solid; border-width: 1" value="<%=city%>">
  142.           </span></td>
  143.           <td class="tdbg"><div align="center" class="样式3">答  案:</div></td>
  144.           <td class="tdbg"><span class="样式3">
  145.             <input type="text" name="adress" size="23" style="border-style: solid; border-width: 1" value="<%=adress%>">
  146.            </span></td>
  147.         </tr>
  148.         <tr> 
  149.           <td class="tdbg">
  150. <div align="center" class="样式3">会 员 IP:</div></td>
  151.           <td colspan="3" class="tdbg 样式3">          <%=userip%>  </td>
  152.         </tr>
  153.         <tr> 
  154.           <td class="tdbg"><div align="center" class="样式3">联系手机:</div></td>
  155.           <td class="tdbg"><input type="text" name="phone" size="23" style="border-style: solid; border-width: 1;" value="<%=rs("phone")%>">  
  156.           </td>
  157.           <td class="tdbg"><div align="center"><span class="样式1"><span class="样式1"><span class="样式3"></span></span></span></div></td>
  158.           <td class="tdbg 样式3">&nbsp; </td>
  159.         </tr>
  160.         <tr> 
  161.           <td class="tdbg"><div align="center" class="样式3">家住地址:</div></td>
  162.           <td colspan="3" class="tdbg"><input type="text" name="homeaddress" size="56" style="border-style: solid; border-width: 1;" value="<%=rs("homeaddress")%>"></td>
  163.         </tr>
  164.         <tr> 
  165.           <td class="tdbg"><div align="center" class="样式3">注册时间:</div></td>
  166.           <td colspan="3" class="tdbg 样式3"><%=dat%></td>
  167.         </tr>
  168.         <tr> 
  169.           <td class="tdbg"><div align="center" class="样式3">推广成果:</div></td>
  170.           <%sql="select * from users where askmejoin='"&Replace(request("userid"), "'", "''")&"'"
  171. set rsurl=server.createobject("adodb.recordset")
  172. rsurl.open sql,conn,1,1
  173. noer=rsurl.recordcount
  174. rsurl.close
  175. set rsurl=nothing
  176. %>
  177.           <td colspan="3" class="tdbg 样式3">你目前成功推广了<font color="#FF0000">(<%=noer%>)</font>位会员加入,其中付费人次<font color="#FF0000">(<%=rs("payno")%>)</font>次 ,你得到了<font color="#FF0000">(<%=rs("getmoney")%>)</font>元代理佣金。</td>
  178.         </tr>
  179.         <tr>
  180.           <td class="tdbg"><div align="center" class="样式3">所得佣金:</div></td>
  181.           <td class="tdbg"><input type="text" name="getmoney" size="23" style="border-style: solid; border-width: 1;" value="<%=rs("getmoney")%>"></td>
  182.           <td class="tdbg 样式3">&nbsp;</td>
  183.           <td class="tdbg 样式3">&nbsp;</td>
  184.         </tr>
  185.         <tr> 
  186.           <td class="tdbg"><div align="center" class="样式3">代理会员:</div></td>
  187.           <td class="tdbg 样式3"><%=rs("askmejoin")%>  
  188.           </td>
  189.           <td class="tdbg"><div align="center"><span class="样式1"><span class="样式1"><span class="样式3"></span></span></span></div></td>
  190.           <td class="tdbg 样式3">&nbsp;</td>
  191.         </tr>
  192.         <tr> 
  193.           <td colspan="4" class="tdbg"><div align="center"> 
  194.               <input type="submit" value="更改" name="change">
  195.                 
  196.               <input type="submit" value="清空佣金" name="payer">
  197.             </div></td>
  198.         </tr>
  199.       </table>
  200.     </center>
  201.   </div>
  202. </form>
  203. <%
  204. rs.close
  205. set rs=nothing
  206. conn.close
  207. set conn=nothing
  208. %>
  209. </body>
  210. </html>