📄 del_admin_sav.asp
字号:
<%@LANGUAGE="VBSCRIPT" %>
<!-- #include file="../common/conn.asp" -->
<!-- #include file="../common/status.html" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除管理员</title>
<% if session("admin_id")<>"admin" then %>
您还没有登录或者您的权限不够,五秒钟后自动返回登录,如果您的浏览器没有自动返回,请<a href="../admin/login.html">点击登录</a>。
<meta http-equiv="refresh" content="5;url=login.html">
<% else %>
</head>
<body background="../img/adminbg.gif">
<%
dim rs,sql
set rs=server.CreateObject("adodb.recordset")
sql="select * from scott.admin where admin_id='"&request.QueryString("id")&"'"
rs.open sql,connstr,3,3
rs.delete
%>
<div align="center"><center>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td height="20" colspan="3">管理员帐号<%=request.QueryString("id")%>已经删除</td>
</tr>
<tr>
<td height="20" colspan="3"> </td>
</tr>
<tr>
<td height="20" align="right" width="33%"><a href="all_admin.asp">浏览全部帐号</a></td>
<td align="center" width="34%"><a href="del_admin.asp">继续删除</a></td>
<td align="left" width="33%"><a href="index.asp">返回主页</a></td>
</tr>
</table>
</center></div>
</body>
<% end if %>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -