📄 delete_user.asp
字号:
<!--#include file="conn.asp"-->
<%if session("adminadminadmin")<>true then response.redirect("list.asp") end if%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除用户</title>
<!--#include file="css.css"-->
</head>
<body topmargin="1">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <!--#include file="top.asp"-->
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="140" valign="top" bgcolor="#98a5d0">
<table width="140" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!--#include file="left.asp"--></td>
</tr>
</table></td>
<td width="600" valign="top" bgcolor="#98a5d0">
<table width="380" height="30" border="0" cellpadding="0" cellspacing="0" class="unnamed10">
<tr>
<td class="unnamed12"> </td>
</tr>
</table>
<table width="550" height="20" border="0" align="center" cellspacing="1" class="unnamed12">
<tr bgcolor="#FF9966" class="unnamed14">
<td width="20%" height="20">
<div align="center">用户名</div></td>
<td width="20%" height="20">
<div align="center">单位</div></td>
<td width="25%" height="20">
<div align="center">部门</div></td>
<td width="20%" height="20" align="center">序号</td>
<td width="20%" height="20">
<div align="center">删除</div></td>
</tr>
<%
conn.close%>
<!--#include file="conn.asp" -->
<% str="select * from user order by 序号 ASC"
rs.open str,conn,3,2
rs.pagesize=25
pageno=request.querystring("pageno")
if pageno="" or pageno=0 then
pageno=1
end if
%>
<%
rs.absolutepage=pageno
j=0
for n=1 to rs.pagesize
%>
<tr class="unnamed12" bgcolor="<%if j mod 2=0 then %>#ffcc99<%else%>#ffffff<%end if%>">
<td height="20" >
<div align="center"><%=rs("用户名")%></div></td>
<td height="20">
<div align="center"><%=rs("单位")%></div></td>
<td height="20">
<div align="center"><%=rs("部门")%></div></td>
<td align="center"><%=rs("序号")%></td>
<td height="20">
<div align="center"><a href="dele_user_doing.asp?del_id=<%=rs("id")%>" class="unnamed14wu"><img src="images/delete.gif" width="11" height="14" border="0"></a></div></td>
</tr>
<% j=j+1
rs.movenext
if rs.eof then exit for
next%>
</table>
<table width="500" height="30" border="0" align="center" cellpadding="0" cellspacing="0" class="unnamed14">
<tr>
<td width="479"><div align="center" class="unnamed14">
<%for p=1 to rs.pagecount
response.write "<a href=delete_user.asp?pageno="&p&">["&p&"]</a></td><td><div align=center>"
next%>
</div></td>
</tr>
</table></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><!--#include file="bottom.asp"--></td>
</tr>
</table>
<%conn.close%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -