admin_change_ok.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:2k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Windows_Unix

  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <% option explicit %>
  3. <%
  4. if request.cookies("adminok")="" then
  5.   response.redirect "admin_login.asp"
  6. end if
  7. %>
  8. <!--#include file="conn.asp"-->
  9. <!--#include file="inc/char.inc"-->
  10. <%
  11. dim uID,question,answer,rname,sex,mz,year,month,day,blcjzl,oicq,user_province,user_city,jbyydm,sfzh
  12. question=Request.form("question")
  13. uID=Request.form("uID")
  14. answer=Request.form("answer")
  15. rname=Request.form("rname")
  16. sex=Request.form("sex")
  17. mz=Request.form("mz")
  18. year=Request.form("year")
  19. month=Request.form("month")
  20. day=Request.form("day")
  21. blcjzl=Request.form("blcjzl")
  22. user_province=Request.form("user_province")
  23. user_city=Request.form("user_city")
  24. jbyydm=Request.form("jbyydm")
  25. sfzh=Request.form("sfzh")
  26. oicq=Request.form("oicq")
  27. tel1=Request.form("tel1")
  28. addr1=Request.form("addr1")
  29. zy=Request.form("zy")
  30. whcd=Request.form("whcd")
  31. yzkzh=Request.form("yzkzh")
  32. dim rs,sql
  33. set rs=Server.CreateObject("Adodb.Recordset")
  34. sql="select question,answer,rname,sex,mz,year,month,day,blcjzl,oicq,user_province,user_city,jbyydm,sfzh,user_introduce from member where uID='"&uID&"'"
  35. rs.open sql,conn,1,3
  36. rs("uID")=uID
  37. rs("question")=question
  38. rs("answer")=answer
  39. rs("rname")=rname
  40. rs("sex")=sex
  41. rs("mz")=mz
  42. rs("year")=year
  43. rs("month")=month
  44. rs("day")=day
  45. rs("blcjzl")=blcjzl
  46. rs("user_province")=user_province
  47. rs("user_city")=user_city
  48. rs("jbyydm")=jbyydm
  49. rs("sfzh")=sfzh
  50. rs("tel1")=tel1
  51. rs("addr1")=addr1
  52. rs("zy")=zy
  53. rs("whcd")=whcd
  54. rs("yzkzh")=yzkzh
  55. rs("oicq")=oicq
  56. rs.Update
  57. rs.close
  58. set rs=noting
  59. conn.close
  60. set conn=nothing
  61. response.redirect "admin_edit.asp?page="&request("page")
  62. %>