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

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

开发平台:

Windows_Unix

  1. <%
  2. If request.cookies("member")="" Then
  3. Response.redirect"index.htm"
  4. End If
  5. %>
  6. <!--#include file="conn.asp"-->
  7. <%
  8. dim uID
  9. uID=request.cookies("uID")
  10. dim rs,sql
  11. set rs=Server.CreateObject("Adodb.Recordset")
  12. sql="select uID,pwd,cpwd,question,answer,rname,sex,mz,year,month,day,blcjzl,oicq,user_province,user_city,jbyydm,sfzh,tel1,addr1,zy,whcd,yzkzh from member where uID='"&uID&"'"
  13. rs.open sql,conn,1,1
  14. %>
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Language" content="zh-cn">
  18. <title>会员控制面板</title>
  19. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  20. <style type="text/css">
  21. <!---a:link      { color: #000080; font-family: Arial; text-decoration: underline }
  22. a:visited    { color: #680090; font-family: Arial; text-decoration: underline }
  23. a:active     { color: red; font-family: Arial; text-decoration: none }
  24. a:hover      { color: red; text-decoration: none }
  25. body         { color: #000000; font-size: 9pt; line-height: 12pt; font-family: Arial }
  26. th           { font-size: 9pt; line-height: 14pt }
  27. td           { font-size: 9pt; line-height: 14pt }
  28. a.1:link     { font-family: Arial; text-decoration: none; color: black }
  29. a.1:visited  { font-family: Arial; text-decoration: none; color: black }
  30. a.1:active   { font-family: Arial; text-decoration: none; color: black }
  31. a.1:hover    { font-family: Arial; text-decoration: none; color: red }
  32. .line        { line-height: 10pt }
  33. .il          { line-height: 12pt }
  34. .form        { font-size: 9pt }
  35. ---></style>
  36. <script language="javascript">
  37. <!--
  38. if (parent.frames.length > 0) {
  39. parent.location.href = location.href;
  40. }
  41. function help(){
  42. window.open("help.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  43. }
  44. function mz(){
  45. window.open("mz.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  46. }
  47. function jbyy(){
  48. window.open("jbyy.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  49. }
  50. // --></script>
  51. </head>
  52. <body topmargin="11" leftmargin="0" bgcolor="#303430">
  53. <form method="POST" action="change_info_save.asp">
  54.   <div align="center">
  55.     <table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#FFA800" height="421">
  56.       <tr> 
  57.         <td height="55" width="118"> 
  58.           <p align="center"><img src="images/home.gif" width="27" height="25" usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="2,1,47,33" href="logout.asp"></map> 
  59.         </td>
  60.         <td height="421" width="582" bgcolor="#F6F6F6" rowspan="4" valign="top"> 
  61.           <div align="center"> 
  62.             <table border="0" width="99%" cellspacing="1" height="369">
  63.               <tr> 
  64.                 <td height="40" colspan="2">修改会员资料,请根据要求修改!</td>
  65.               </tr>
  66.               <tr> 
  67.                 <td width="29%" height="28" bgcolor="#F0F0F0"> 
  68.                   <p align="right">密码提示问题: 
  69.                 </td>
  70.                 <td width="68%">                  <input type="text" name="question" size="20" maxlength="50" class="form" value="<%=rs("question")%>">
  71.                 <td width="3%" height="28"> 
  72.                   <div align="center"> </div>
  73.                 </td>
  74.               </tr>
  75.               <tr> 
  76.                 <td width="29%" height="28" bgcolor="#F0F0F0"> 
  77.                   <p align="right">问题的答案: 
  78.                 </td>
  79.                 <td width="68%">                  <input type="text" name="answer" size="20" maxlength="30" class="form" value="<%=rs("answer")%>">
  80.                 <td width="3%" height="28"> 
  81.                   <div align="center"> </div>
  82.                 </td>
  83.               </tr>
  84.               <tr> 
  85.                 <td width="29%" height="29" bgcolor="#F0F0F0"> 
  86.                   <p align="right">真实姓名: 
  87.                 </td>
  88.                 <td width="68%">                  <input type="text" name="rname" size="20" maxlength="20" class="form" value="<%=rs("rname")%>">
  89.                 <td width="3%" height="29"> 
  90.                   <div align="center"></div>
  91.                 </td>
  92.               </tr>
  93.               <tr> 
  94.                 <td width="29%" height="28" bgcolor="#F0F0F0"> 
  95.                   <p align="right">性 别: 
  96.                 </td>
  97.                 <td width="68%"> 
  98.                   <div align="left">
  99.     <input type="radio" value="男" checked name="sex">
  100.     男&nbsp;
  101.     <input type="radio" value="女" name="sex">
  102.                     女</div>
  103.                 <td width="3%" height="28"> 
  104.                   <div align="center"></div>
  105.                 </td>
  106.               </tr>
  107.               <tr> 
  108.                 <td width="29%" height="24" bgcolor="#F0F0F0"> 
  109.                   <p align="right"><span class="tdc">民 族</span>: 
  110.                 </td>
  111.                 <td width="68%">                  <input name="mz" type="text" class="form" id="mz" value="<%=rs("mz")%>" size="5" maxlength="5">
  112.                 如要修改此项请参照(<a href="javascript:mz()" class="1">民族代码对照表</a>)                
  113.                 <td width="3%" height="24"> 
  114.                   <div align="center"> </div>
  115.                 </td>
  116.               </tr>
  117.               <tr>
  118.                 <td width="29%" height="24" bgcolor="#F0F0F0"><div align="right">出生日期: 
  119.                 </div></td>
  120.                 <td>                  <input type="text" name="year" size="4" class="form" style="font-family: Arial" maxlength="4" value="<%=rs("year")%>">                  <input name="month" type="text" class="form" id="month" value="<%=rs("month")%>" size="2" maxlength="20">                  <input name="day" type="text" class="form" id="mz3" value="<%=rs("day")%>" size="2" maxlength="20">              
  121.                 <td height="24">&nbsp;</td>
  122.               </tr>
  123.               <tr> 
  124.                 <td width="29%" height="24" bgcolor="#F0F0F0"> 
  125.                   <p align="right">您所在的省: 
  126.                 </td>
  127.                 <td width="68%">                  <input type="text" name="user_province" size="20" maxlength="20" class="form" value="<%=rs("user_province")%>">
  128.                 <td width="3%" height="24"> 
  129.                   <div align="center"> </div>
  130.                 </td>
  131.               </tr>
  132.               <tr> 
  133.                 <td width="29%" height="24" bgcolor="#F0F0F0"> 
  134.                   <p align="right">您所在的市: 
  135.                 </td>
  136.                 <td width="68%">                  <input name="user_city" type="text" class="form" id="user_city" value="<%=rs("user_city")%>" size="20" maxlength="20">                  
  137.                 <td width="3%" height="24"> 
  138.                   <div align="center"> </div>
  139.                 </td>
  140.               </tr>
  141.               <tr> 
  142.                 <td width="29%" height="24" bgcolor="#F0F0F0"> 
  143.                   <p align="right"><span class="tdc">报考级别语言</span>: 
  144.                 </td>
  145.                 <td width="68%"> 
  146.                   <span class="tdc">
  147.                   <input name="jbyydm" type="text" class="form" id="jbyydm" value="<%=rs("jbyydm")%>" size="5" maxlength="20">
  148. 如要修改此项请参照(<a href="javascript:jbyy()" class="1">报考级别语言对照表</a>)</span>
  149.                 <td width="3%" height="24"> 
  150.                   <div align="center"> </div>
  151.                 </td>
  152.               </tr>
  153.               <tr> 
  154.                 <td width="29%" height="9" bgcolor="#F0F0F0"> 
  155.                   <p align="right"><span class="tdc">文化程度</span>: 
  156.                 </td>
  157.                 <td width="68%">                  <input name="whcd" type="text" class="form" id="whcd" value="<%=rs("whcd")%>" size="5" maxlength="30">
  158.                   (<strong>01</strong>_高中,<strong>02</strong>_大专,<strong>03</strong>_本科,<strong>04</strong>_研究生)
  159.                 <td width="3%" height="9">&nbsp; </td>
  160.               </tr>
  161.               <tr> 
  162.                 <td width="29%" height="6" bgcolor="#F0F0F0"> 
  163.                   <p align="right">身份证号: 
  164.                 </td>
  165.                 <td width="68%" height="6">                  <input name="sfzh" type="text" class="form" id="sfzh" value="<%=rs("sfzh")%>" size="20" maxlength="18">                </td>
  166.               </tr>
  167.               <tr> 
  168.                 <td width="29%" height="6" bgcolor="#F0F0F0"> 
  169.                   <p align="right">联系电话: 
  170.                 </td>
  171.                 <td width="68%" height="6">                  <input type="text" name="tel1" size="20" maxlength="20" class="form" value="<%=rs("tel1")%>">                </td>
  172.               </tr>
  173.               <tr> 
  174.                 <td width="29%" height="6" bgcolor="#F0F0F0"> 
  175.                   <p align="right">联系地址: 
  176.                 </td>
  177.                 <td width="68%" height="6">                  <input type="text" name="addr1" size="20" maxlength="90" class="form" value="<%=rs("addr1")%>">                </td>
  178.               </tr>
  179.               <tr> 
  180.                 <td width="29%" height="6" bgcolor="#F0F0F0"> 
  181.                   <p align="right"><span class="tdc">职业</span>: </td>
  182.                 <td width="68%" height="6">                  <input type="text" name="zy" size="5" maxlength="5" class="form" value="<%=rs("zy")%>">
  183.                 (<strong>30</strong>_学生,<strong>31</strong>_教师,<strong>32</strong>_其他)</td>
  184.               </tr>
  185.               <tr> 
  186.                 <td width="29%" height="6" bgcolor="#F0F0F0"> 
  187.                 <p align="right"><span class="tdc">原准考证号</span>: </td>
  188.                 <td width="68%" height="6">                  <input type="text" name="yzkzh" size="20" maxlength="20" class="form" value="<%=rs("yzkzh")%>">                </td>
  189.               </tr>
  190.               <tr> 
  191.                 <td width="29%" height="6" bgcolor="#F0F0F0"> 
  192.                 <p align="right"><span class="tdc">保留成绩种类</span>: </td>
  193.                 <td width="68%" height="6">                  <span class="tdc">
  194.                   <input name="blcjzl" type="text" class="form" id="blcjzl" value="<%=rs("blcjzl")%>" size="5" maxlength="5"> 
  195.                   (<strong>0</strong>_无保留,<strong>1</strong>_保留笔试,<strong>2</strong>_保留机试)
  196.                 </span></td>
  197.               </tr>
  198.               
  199.               <tr> 
  200.                 <td width="29%" height="30" bgcolor="#F0F0F0"> 
  201.                   <p align="right">OICQ号码: 
  202.                 </td>
  203.                 <td width="68%">                  <input type="text" name="oicq" size="20" maxlength="20" class="form" value="<%=rs("oicq")%>">                  <%
  204. conn.close
  205. set conn=nothing
  206. rs.close
  207. set rs=nothing
  208. %>
  209.                 <td width="3%" height="30">&nbsp; </td>
  210.               </tr>
  211.               <tr> 
  212.                 <td height="1" colspan="2"> 
  213.                   <p align="center"> 
  214.                     <input type="submit" value="提交信息" name="B3" class="form">
  215.                     &nbsp; 
  216.                     <input type="reset" value="重新来过" name="B3" class="form">
  217.                 </td>
  218.               </tr>
  219.             </table>
  220.           </div>
  221.         </td>
  222.       </tr>
  223.       <center>
  224.       </center>
  225.       <center>
  226.       </center>
  227.       <center>
  228.       </center>
  229.       <center>
  230.         <tr> 
  231.           <td height="18" width="118" bgcolor="#FFCD71"> 
  232.             <p align="center">当前用户:<%=request.cookies("rname")%>
  233.           </td>
  234.         </tr>
  235.         <tr> 
  236.           <td height="17" width="118"> </td>
  237.         </tr>
  238.       </center>
  239.       <tr> 
  240.         <td height="331" width="118" valign="top"> 
  241.           <div align="center"> 
  242.             <table border="0" cellpadding="3" width="100%" height="157">
  243.               <tr> 
  244.                 <td width="100%" height="77" valign="top"> 
  245.                   <p align="center"><a href="user_ctrl_panel.asp">返回</a><br>
  246.                     <a href="change_pwd.asp" class="1">更改登陆密码</a><br>
  247.                     <a href="change_info.asp" class="1">修改会员资料</a><br>
  248.                     <a href="javascript:help()" class="1">使用帮助信息</a><br>
  249.                     <br>
  250.                     <a href="logout.asp" class="1">退出登陆</a>
  251.                 </td>
  252.               </tr>
  253.             </table>
  254.           </div>
  255.         </td>
  256.       </tr>
  257.     </table>
  258. </div>
  259. </form>
  260. </body>
  261. </html>