📄 save_user.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../include/code.asp"-->
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<%
set rs = server.createobject("adodb.recordset")
sql="select * from duser where id="&request("id")
rs.open sql,conn,3,3
%>
<html>
<head>
<meta http-equiv="content-language" content="zh-cn">
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="generator" content="microsoft frontpage 4.0">
<meta name="progid" content="frontpage.editor.document">
<link href="style.css" rel=stylesheet>
</head>
<body style="background-color: #eeeeee">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="1" width="600" bgcolor="#626262">
<tr>
<td height="20"> <%call user_title%></td>
</tr>
<tr>
<td height="500" bgcolor="#ffffff" valign="top">
<div align="center">
<table border="0" cellpadding="0" cellspacing="1" width="95%" id="table1">
<tr>
<td> </td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="1" width="100%" id="table2" bgcolor="#626262">
<tr>
<td height="20">
<p><font color="#ffffff"> 查看/修改</font><font color="#eeeeee"><b><%=rs("d_webname")%></b></font><font color="#ffffff">的资料</font></td>
</tr>
<tr>
<td bgcolor="#ffffff">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="95%" id="table3">
<form method="post" action="edit.asp?action=edit_user&id=<%=rs("id")%>">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="39%" height="25" align="right">用户名:</td>
<td width="61%" height="25"> <font color="#ff0000"><%=rs("d_webname")%></font></td>
</tr>
<tr>
<td width="39%" height="25" align="right">密 码:</td>
<td width="61%" height="25"> <input type="password" name="d_pass1" size="20">
*不修改请保留</td>
</tr>
<tr>
<td width="39%" height="25" align="right">邮 件:</td>
<td width="61%" height="25"> <input type="text" name="d_mail" size="20" value="<%=rs("d_mail")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">问 题:</td>
<td width="61%" height="25"> <input type="text" name="d_question" size="20" value="<%=rs("d_question")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">答 案:</td>
<td width="61%" height="25"> <input type="text" name="d_answer" size="20" value="<%=rs("d_answer")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">电 话:</td>
<td width="61%" height="25"> <input type="text" name="d_tel" size="20" value="<%=rs("d_tel")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">手 机:</td>
<td width="61%" height="25"> <input type="text" name="d_handphone" size="20" value="<%=rs("d_handphone")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">真 名:</td>
<td width="61%" height="25"> <input type="text" name="d_name" size="20" value="<%=rs("d_name")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">oicq :</td>
<td width="61%" height="25"> <input type="text" name="d_oicq" size="20" value="<%=rs("d_oicq")%>"></td>
</tr>
<tr>
<td width="39%" height="25" align="right">级 别:</td>
<td width="61%" height="25"> <select size="1" name="d_grade">
<option value="0" <%if rs("d_grade")="0" then%>selected<%end if%>>注册会员</option>
<option value="4" <%if rs("d_grade")="4" then%>selected<%end if%>>管理人员</option>
</select></td>
</tr>
<tr>
<td width="100%" height="30" align="right" colspan="2">
<p align="center">
<input type="submit" value="提交修改" name="b3">
<input type="reset" value="重置" name="b4"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</form>
</table>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<%
'**********************************
'版本:host_free 3.0 *
'官方网站:http://www.850518.com *
'技术论坛:http://forum.850518.com *
'qq:54455245 (欢迎咨询商业版) *
'msn: steven_bass@msn.com *
'手机:(0)13632779827 *
'mail:wtez@vip.163.com *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -