📄 list_bumeng.asp
字号:
<!--#include file="conn.asp"-->
<%if session("admin")<>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>
<%
bumeng=request.querystring("bumeng")
str="select 单位 from user where 部门='"&bumeng&"'"
set rs=conn.execute(str)
%>
<table width="400" border="0" align="center">
<tr>
<td height="30" class="unnamed16"><div align="center"><%=bumeng%>详细人员表</div></td>
</tr>
</table>
<table width="400" border="1" align="center" cellspacing="0">
<tr class="unnamed14">
<%temp1=0%>
<% do while not rs.eof%>
<td height="20" width="80"><div align="center"><%=rs("单位")%></div></td>
<%temp1=temp1+1%>
<%if temp1 mod 5=0 then%></tr><tr class="unnamed14"><%end if%>
<%rs.movenext%>
<%loop%>
<%if temp1 mod 5=4 then%><td width="80"> </td><%end if%>
<%if temp1 mod 5=3 then%><td width="80"> </td><td width="80"> </td><%end if%>
<%if temp1 mod 5=2 then%><td width="80"> </td><td width="80"> </td><td width="80"> </td><%end if%>
<%if temp1 mod 5=1 then%><td width="80"> </td><td width="80"> </td><td width="80"> </td><td width="80"> </td><%end if%>
</tr>
</table>
<%conn.close%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -