change_info.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:12k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Windows_Unix
- <%
- If request.cookies("member")="" Then
- Response.redirect"index.htm"
- End If
- %>
- <!--#include file="conn.asp"-->
- <%
- dim uID
- uID=request.cookies("uID")
- dim rs,sql
- set rs=Server.CreateObject("Adodb.Recordset")
- 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&"'"
- rs.open sql,conn,1,1
- %>
- <html>
- <head>
- <meta http-equiv="Content-Language" content="zh-cn">
- <title>会员控制面板</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <style type="text/css">
- <!---a:link { color: #000080; font-family: Arial; text-decoration: underline }
- a:visited { color: #680090; font-family: Arial; text-decoration: underline }
- a:active { color: red; font-family: Arial; text-decoration: none }
- a:hover { color: red; text-decoration: none }
- body { color: #000000; font-size: 9pt; line-height: 12pt; font-family: Arial }
- th { font-size: 9pt; line-height: 14pt }
- td { font-size: 9pt; line-height: 14pt }
- a.1:link { font-family: Arial; text-decoration: none; color: black }
- a.1:visited { font-family: Arial; text-decoration: none; color: black }
- a.1:active { font-family: Arial; text-decoration: none; color: black }
- a.1:hover { font-family: Arial; text-decoration: none; color: red }
- .line { line-height: 10pt }
- .il { line-height: 12pt }
- .form { font-size: 9pt }
- ---></style>
- <script language="javascript">
- <!--
- if (parent.frames.length > 0) {
- parent.location.href = location.href;
- }
- function help(){
- window.open("help.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
- }
- function mz(){
- window.open("mz.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
- }
- function jbyy(){
- window.open("jbyy.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
- }
- // --></script>
- </head>
- <body topmargin="11" leftmargin="0" bgcolor="#303430">
- <form method="POST" action="change_info_save.asp">
- <div align="center">
- <table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#FFA800" height="421">
- <tr>
- <td height="55" width="118">
- <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>
- </td>
- <td height="421" width="582" bgcolor="#F6F6F6" rowspan="4" valign="top">
- <div align="center">
- <table border="0" width="99%" cellspacing="1" height="369">
- <tr>
- <td height="40" colspan="2">修改会员资料,请根据要求修改!</td>
- </tr>
- <tr>
- <td width="29%" height="28" bgcolor="#F0F0F0">
- <p align="right">密码提示问题:
- </td>
- <td width="68%"> <input type="text" name="question" size="20" maxlength="50" class="form" value="<%=rs("question")%>">
- <td width="3%" height="28">
- <div align="center"> </div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="28" bgcolor="#F0F0F0">
- <p align="right">问题的答案:
- </td>
- <td width="68%"> <input type="text" name="answer" size="20" maxlength="30" class="form" value="<%=rs("answer")%>">
- <td width="3%" height="28">
- <div align="center"> </div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="29" bgcolor="#F0F0F0">
- <p align="right">真实姓名:
- </td>
- <td width="68%"> <input type="text" name="rname" size="20" maxlength="20" class="form" value="<%=rs("rname")%>">
- <td width="3%" height="29">
- <div align="center"></div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="28" bgcolor="#F0F0F0">
- <p align="right">性 别:
- </td>
- <td width="68%">
- <div align="left">
- <input type="radio" value="男" checked name="sex">
- 男
- <input type="radio" value="女" name="sex">
- 女</div>
- <td width="3%" height="28">
- <div align="center"></div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="24" bgcolor="#F0F0F0">
- <p align="right"><span class="tdc">民 族</span>:
- </td>
- <td width="68%"> <input name="mz" type="text" class="form" id="mz" value="<%=rs("mz")%>" size="5" maxlength="5">
- 如要修改此项请参照(<a href="javascript:mz()" class="1">民族代码对照表</a>)
- <td width="3%" height="24">
- <div align="center"> </div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="24" bgcolor="#F0F0F0"><div align="right">出生日期:
- </div></td>
- <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">
- <td height="24"> </td>
- </tr>
- <tr>
- <td width="29%" height="24" bgcolor="#F0F0F0">
- <p align="right">您所在的省:
- </td>
- <td width="68%"> <input type="text" name="user_province" size="20" maxlength="20" class="form" value="<%=rs("user_province")%>">
- <td width="3%" height="24">
- <div align="center"> </div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="24" bgcolor="#F0F0F0">
- <p align="right">您所在的市:
- </td>
- <td width="68%"> <input name="user_city" type="text" class="form" id="user_city" value="<%=rs("user_city")%>" size="20" maxlength="20">
- <td width="3%" height="24">
- <div align="center"> </div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="24" bgcolor="#F0F0F0">
- <p align="right"><span class="tdc">报考级别语言</span>:
- </td>
- <td width="68%">
- <span class="tdc">
- <input name="jbyydm" type="text" class="form" id="jbyydm" value="<%=rs("jbyydm")%>" size="5" maxlength="20">
- 如要修改此项请参照(<a href="javascript:jbyy()" class="1">报考级别语言对照表</a>)</span>
- <td width="3%" height="24">
- <div align="center"> </div>
- </td>
- </tr>
- <tr>
- <td width="29%" height="9" bgcolor="#F0F0F0">
- <p align="right"><span class="tdc">文化程度</span>:
- </td>
- <td width="68%"> <input name="whcd" type="text" class="form" id="whcd" value="<%=rs("whcd")%>" size="5" maxlength="30">
- (<strong>01</strong>_高中,<strong>02</strong>_大专,<strong>03</strong>_本科,<strong>04</strong>_研究生)
- <td width="3%" height="9"> </td>
- </tr>
- <tr>
- <td width="29%" height="6" bgcolor="#F0F0F0">
- <p align="right">身份证号:
- </td>
- <td width="68%" height="6"> <input name="sfzh" type="text" class="form" id="sfzh" value="<%=rs("sfzh")%>" size="20" maxlength="18"> </td>
- </tr>
- <tr>
- <td width="29%" height="6" bgcolor="#F0F0F0">
- <p align="right">联系电话:
- </td>
- <td width="68%" height="6"> <input type="text" name="tel1" size="20" maxlength="20" class="form" value="<%=rs("tel1")%>"> </td>
- </tr>
- <tr>
- <td width="29%" height="6" bgcolor="#F0F0F0">
- <p align="right">联系地址:
- </td>
- <td width="68%" height="6"> <input type="text" name="addr1" size="20" maxlength="90" class="form" value="<%=rs("addr1")%>"> </td>
- </tr>
- <tr>
- <td width="29%" height="6" bgcolor="#F0F0F0">
- <p align="right"><span class="tdc">职业</span>: </td>
- <td width="68%" height="6"> <input type="text" name="zy" size="5" maxlength="5" class="form" value="<%=rs("zy")%>">
- (<strong>30</strong>_学生,<strong>31</strong>_教师,<strong>32</strong>_其他)</td>
- </tr>
- <tr>
- <td width="29%" height="6" bgcolor="#F0F0F0">
- <p align="right"><span class="tdc">原准考证号</span>: </td>
- <td width="68%" height="6"> <input type="text" name="yzkzh" size="20" maxlength="20" class="form" value="<%=rs("yzkzh")%>"> </td>
- </tr>
- <tr>
- <td width="29%" height="6" bgcolor="#F0F0F0">
- <p align="right"><span class="tdc">保留成绩种类</span>: </td>
- <td width="68%" height="6"> <span class="tdc">
- <input name="blcjzl" type="text" class="form" id="blcjzl" value="<%=rs("blcjzl")%>" size="5" maxlength="5">
- (<strong>0</strong>_无保留,<strong>1</strong>_保留笔试,<strong>2</strong>_保留机试)
- </span></td>
- </tr>
- <tr>
- <td width="29%" height="30" bgcolor="#F0F0F0">
- <p align="right">OICQ号码:
- </td>
- <td width="68%"> <input type="text" name="oicq" size="20" maxlength="20" class="form" value="<%=rs("oicq")%>"> <%
- conn.close
- set conn=nothing
- rs.close
- set rs=nothing
- %>
- <td width="3%" height="30"> </td>
- </tr>
- <tr>
- <td height="1" colspan="2">
- <p align="center">
- <input type="submit" value="提交信息" name="B3" class="form">
-
- <input type="reset" value="重新来过" name="B3" class="form">
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- <center>
- </center>
- <center>
- </center>
- <center>
- </center>
- <center>
- <tr>
- <td height="18" width="118" bgcolor="#FFCD71">
- <p align="center">当前用户:<%=request.cookies("rname")%>
- </td>
- </tr>
- <tr>
- <td height="17" width="118"> </td>
- </tr>
- </center>
- <tr>
- <td height="331" width="118" valign="top">
- <div align="center">
- <table border="0" cellpadding="3" width="100%" height="157">
- <tr>
- <td width="100%" height="77" valign="top">
- <p align="center"><a href="user_ctrl_panel.asp">返回</a><br>
- <a href="change_pwd.asp" class="1">更改登陆密码</a><br>
- <a href="change_info.asp" class="1">修改会员资料</a><br>
- <a href="javascript:help()" class="1">使用帮助信息</a><br>
- <br>
- <a href="logout.asp" class="1">退出登陆</a>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>