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

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

开发平台:

Windows_Unix

  1. <% @ LANGUAGE="VBSCRIPT" %>
  2. <!--#include file="conn.asp"-->
  3. <!--#include file="inc/char.inc"-->
  4. <%
  5. if request.cookies("adminok")="" then
  6.   response.redirect "admin_login.asp"
  7. end if
  8. %>
  9. <%
  10. dim typename
  11. set rs=server.createobject("adodb.recordset")
  12. sql="select * from member where id="&request("ID") 
  13. rs.open sql,conn,1,1
  14. uID=rs("uID")
  15. question=rs("question")
  16. answer=rs("answer")
  17. rname=rs("rname")
  18. sex=rs("sex")
  19. mz=rs("mz")
  20. year=rs("year")
  21. month=rs("month")
  22. day=rs("day")
  23. blcjzl=rs("blcjzl")
  24. user_province=rs("user_province")
  25. user_city=rs("user_city")
  26. jbyydm=rs("jbyydm")
  27. sfzh=rs("sfzh")
  28. tel1=rs("tel1")
  29. addr1=rs("addr1")
  30. zy=rs("zy")
  31. whcd=rs("whcd")
  32. yzkzh=rs("yzkzh")
  33. oicq=rs("oicq")
  34. rs.close
  35. set rs=noting
  36. conn.close
  37. set conn=nothing
  38. %>
  39. <html>
  40. <head>
  41. <title></title>
  42. </head>
  43. <body>
  44. <form method="post" action="admin_change_ok.asp?id=<%=request("ID")%>" id=form1 name=form1>
  45.   <div align="center"><center>
  46.       <table border="1" cellspacing="0" width="605"
  47.   bordercolorlight="#000000" bordercolordark="#ffffff" cellpadding="0" style="HEIGHT: 354px; WIDTH: 450px">
  48.         <tr>
  49.       <td width="100%" bgcolor="#feec85" height="20"><div align="center"><center>
  50.                 <p><font
  51.       color="#000000"><b>用户资料</b></font></p>
  52.               </center></div></td>
  53.     </tr>
  54.     <tr align="middle">
  55.       <td width="100%" bgcolor="#fffcd9">
  56.             <table border="0" cellspacing="1" width="600">
  57.               <tr> 
  58.                 <td width="153" align="right" height="30"><b>用户的ID:</b></td>
  59.                 <td width="284" height="30"> 
  60.                   <input TYPE="text" name="uID" size="40"  value='<%=uID%>' maxlength="50">
  61.                 </td>
  62.               </tr>
  63.               <tr> 
  64.                 <td width="153" align="right" height="30"><b>真实姓名:</b></td>
  65.                 <td width="284" height="30"> 
  66.                   <input TYPE="text" name="rname" size="40"  value='<%=rname%>' maxlength="50">
  67.                 </td>
  68.               </tr>
  69.               <tr> 
  70.                 <td width="153" align="right" height="30"><b>所在省份:</b></td>
  71.                 <td width="284" height="30"> 
  72.                   <input TYPE="text" name="user_province" size="40"  value='<%=user_province%>' maxlength="50">
  73.                 </td>
  74.               </tr>
  75.               <tr> 
  76.                 <td width="153" align="right" height="30"><b>所在市区:</b></td>
  77.                 <td width="284" height="30"> 
  78.                   <input TYPE="text" name="user_city" size="40"  value='<%=user_city%>' maxlength="50">
  79.                 </td>
  80.               </tr>
  81.               <tr> 
  82.                 <td width="153" align="right" height="30"><b>报考级别语言:</b></td>
  83.                 <td width="284" height="30"> 
  84.                   <input TYPE="text" name="jbyydm" size="40"  value='<%=jbyydm%>' maxlength="50">
  85.                 </td>
  86.               </tr>
  87.               <tr>
  88.                 <td width="153" align="right" height="30"><b>文化程度:</b></td>
  89.                 <td height="30">
  90.                   <input  TYPE="text" name="whcd" size="40" value='<%=whcd%>' maxlength="50">
  91.                 </td>
  92.               </tr>
  93.               <tr>
  94.                 <td width="153" height="30" align="right"><b>身份证号:</b></td>
  95.                 <td width="284" height="30"> 
  96.                   <input TYPE="text" name="sfzh" size="40"  value='<%=sfzh%>' maxlength="50">
  97.                 </td>
  98.               </tr>
  99.               <tr> 
  100.                 <td width="153" align="right" height="30"><b>联系电话:</b></td>
  101.                 <td width="284" height="30"> 
  102.                   <input TYPE="text" name="tel1" size="40"  value='<%=tel1%>' maxlength="50">
  103.                 </td>
  104.               </tr>
  105.               <tr> 
  106.                 <td width="153" align="right" height="30"><b>联系地址:</b></td>
  107.                 <td width="284" height="30"> 
  108.                   <input TYPE="text" name="addr1" size="40"  value='<%=addr1%>' maxlength="50">
  109.                 </td>
  110.               </tr>
  111.               <tr> 
  112.                 <td width="153" align="right" height="30"><b>职业:</b></td>
  113.                 <td width="284" height="30"> 
  114.                   <input TYPE="text" name="zy" size="40"  value='<%=zy%>' maxlength="50">
  115.                 </td>
  116.               </tr>
  117.               <tr> 
  118.                 <td width="153" align="right" height="30"><b>原准考证号:</b></td>
  119.                 <td width="284" height="30"> 
  120.                   <input TYPE="text" name="yzkzh" size="40"  value='<%=yzkzh%>' maxlength="50">
  121.                 </td>
  122.               </tr>
  123.               <tr> 
  124.                 <td width="153" align="right" height="30"><b>保留成绩:</b></td>
  125.                 <td width="284" height="30"> 
  126.                   <input TYPE="text" name="blcjzl" size="40"  value='<%=blcjzl%>' maxlength="50">
  127.                 </td>
  128.               </tr>
  129.               <!-- <tr>
  130.           <td width="25%" align="right" height="30"><b>URL:</b></td>
  131.           <td width="75%" height="30"><input type="text" name="txtblcjzl" size="40"
  132.           class="smallinput" maxlength="100"><font color=red>**</font></td>
  133.         </tr> -->
  134.              <tr> 
  135.                 <td width="153" align="right" height="30"><b>用户的QQ:</b></td>
  136.                 <td width="284" height="30"> 
  137.                   <input name="oicq" size="40" class="smallinput"
  138.           maxlength="100" value='<%=oicq%>'>
  139.                 </td>
  140.               </tr>
  141.               <tr> 
  142.                 <td width="153" align="right" valign="top" height="20"></td>
  143.                 <td width="284"></td>
  144.               </tr>
  145.             </table>
  146.       </td>
  147.     </tr>
  148.   </table>
  149.   <input type="submit" value=" 修改 "
  150.   name="cmdok" class="buttonface">
  151.       &nbsp; 
  152.       <input type="reset" value=" 清 除 "
  153.   name="cmdcancel" class="buttonface">
  154.     </center>
  155.   </div>
  156.   <div align="center">
  157.     <center>
  158.     </center></div></form>
  159. </body>
  160. </html>