📄 usermodify.asp
字号:
<!--#include file=function.asp-->
<%CheckAdmin3%>
<!--#include file="conn.asp"-->
<%
id=request.QueryString("id")
set rs=server.createobject("adodb.recordset")
sql="select * from user where id="&id
rs.open sql,conn,1,1
if rs.eof then
response.write"<SCRIPT language=JavaScript>alert('服务器出错,请联系管理员!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
auid=rs("auid")
apwd=rs("apwd")
aleave=rs("aleave")
%>
<html>
<head>
<LINK href="../style.css" rel=stylesheet type=text/css>
<title>OWEN 活动管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body topmargin="0" leftmargin="0" bgcolor="#9999CC">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15%" valign="top" bgcolor="#9999CC" style="border-right: 1 solid #000000">
<!--#include file="left.asp"-->
</td>
<td width="85%" valign="top" bgcolor="#D8D8EB"><br>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<form method="POST" action="usersave.asp?id=<%=id%>">
<tr bgcolor="#9999CC">
<td width="100%" height="24" colspan=2 align=center><b>修 改 会 员 资 料</b></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" height="22" align="right">会员帐号:</td>
<td width="70%"> <input class=input type="text" name="auid" value="<%=auid%>" size="20"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" height="22" align="right">会员密码:</td>
<td width="70%"> <input class=input type="text" name="apwd" value="<%=apwd%>" size="20"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" height="22" align="right">会员级别:</td>
<td width="70%" height="22"> <select name="aleave" style="font-size:9pt" class=input>
<option value=s<%if aleave="s" then%> selected<%end if%>>高级会员</option>
<option value=u<%if aleave="u" then%> selected<%end if%>>普通会员</option>
</select> </td>
</tr>
<tr align="center" bgcolor="#FFFFFF" height="24">
<td height="27" colspan=2> <input type="hidden" value="edit" name="act">
<input name="cmdok" type="submit" id="cmdok" value=" 修 改 ">
<input name="cmdcance" type="reset" id="cmdcance" value=" 清 除 ">
</td>
</tr>
</form>
</table> </td>
</tr>
</table>
</body>
</html>
<%
rs.close
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -