admin_change.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:6k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Windows_Unix
- <% @ LANGUAGE="VBSCRIPT" %>
- <!--#include file="conn.asp"-->
- <!--#include file="inc/char.inc"-->
- <%
- if request.cookies("adminok")="" then
- response.redirect "admin_login.asp"
- end if
- %>
- <%
- dim typename
- set rs=server.createobject("adodb.recordset")
- sql="select * from member where id="&request("ID")
- rs.open sql,conn,1,1
- uID=rs("uID")
- question=rs("question")
- answer=rs("answer")
- rname=rs("rname")
- sex=rs("sex")
- mz=rs("mz")
- year=rs("year")
- month=rs("month")
- day=rs("day")
- blcjzl=rs("blcjzl")
- user_province=rs("user_province")
- user_city=rs("user_city")
- jbyydm=rs("jbyydm")
- sfzh=rs("sfzh")
- tel1=rs("tel1")
- addr1=rs("addr1")
- zy=rs("zy")
- whcd=rs("whcd")
- yzkzh=rs("yzkzh")
- oicq=rs("oicq")
- rs.close
- set rs=noting
- conn.close
- set conn=nothing
- %>
- <html>
- <head>
- <title></title>
- </head>
- <body>
- <form method="post" action="admin_change_ok.asp?id=<%=request("ID")%>" id=form1 name=form1>
- <div align="center"><center>
- <table border="1" cellspacing="0" width="605"
- bordercolorlight="#000000" bordercolordark="#ffffff" cellpadding="0" style="HEIGHT: 354px; WIDTH: 450px">
- <tr>
- <td width="100%" bgcolor="#feec85" height="20"><div align="center"><center>
- <p><font
- color="#000000"><b>用户资料</b></font></p>
- </center></div></td>
- </tr>
- <tr align="middle">
- <td width="100%" bgcolor="#fffcd9">
- <table border="0" cellspacing="1" width="600">
- <tr>
- <td width="153" align="right" height="30"><b>用户的ID:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="uID" size="40" value='<%=uID%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>真实姓名:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="rname" size="40" value='<%=rname%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>所在省份:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="user_province" size="40" value='<%=user_province%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>所在市区:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="user_city" size="40" value='<%=user_city%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>报考级别语言:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="jbyydm" size="40" value='<%=jbyydm%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>文化程度:</b></td>
- <td height="30">
- <input TYPE="text" name="whcd" size="40" value='<%=whcd%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" height="30" align="right"><b>身份证号:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="sfzh" size="40" value='<%=sfzh%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>联系电话:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="tel1" size="40" value='<%=tel1%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>联系地址:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="addr1" size="40" value='<%=addr1%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>职业:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="zy" size="40" value='<%=zy%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>原准考证号:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="yzkzh" size="40" value='<%=yzkzh%>' maxlength="50">
- </td>
- </tr>
- <tr>
- <td width="153" align="right" height="30"><b>保留成绩:</b></td>
- <td width="284" height="30">
- <input TYPE="text" name="blcjzl" size="40" value='<%=blcjzl%>' maxlength="50">
- </td>
- </tr>
- <!-- <tr>
- <td width="25%" align="right" height="30"><b>URL:</b></td>
- <td width="75%" height="30"><input type="text" name="txtblcjzl" size="40"
- class="smallinput" maxlength="100"><font color=red>**</font></td>
- </tr> -->
- <tr>
- <td width="153" align="right" height="30"><b>用户的QQ:</b></td>
- <td width="284" height="30">
- <input name="oicq" size="40" class="smallinput"
- maxlength="100" value='<%=oicq%>'>
- </td>
- </tr>
- <tr>
- <td width="153" align="right" valign="top" height="20"></td>
- <td width="284"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <input type="submit" value=" 修改 "
- name="cmdok" class="buttonface">
-
- <input type="reset" value=" 清 除 "
- name="cmdcancel" class="buttonface">
- </center>
- </div>
- <div align="center">
- <center>
- </center></div></form>
- </body>
- </html>