📄 user_pwd.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="const.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="img/Style.css" rel="stylesheet" type="text/css" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE2 {color: #FFFFFF; }
-->
</style>
</head>
<%
class_id=Session("class_id")
if class_id="" then
response.Write("<li>登录超时</li>")
response.End()
end if
Set myclass=new xdownpage
myclass.getconn=dbconn
myclass.getsql = "SELECT user_no, user_name FROM pc_user where class_id="&class_id&" ORDER BY user_no ASC"
myclass.pagesize=20
set rs=myclass.getrs()
%>
<body>
<table width="80%" border="0" align="center" cellpadding="2" cellspacing="1" class="atable1">
<tr>
<td width="33%" bgcolor="#333333"><div align="center" class="STYLE2">
<div align="center">学号</div>
</div></td>
<td width="33%" bgcolor="#333333"><div align="center" class="STYLE2">
<div align="center">姓名</div>
</div></td>
<td width="34%" bgcolor="#333333"><div align="center" class="STYLE2">
<div align="center"><a href="class_user_add.asp" style="font-family:Arial, Helvetica, sans-serif; font-weight:bolder; color:#FFFFFF" title="添加部门"></a>操作</div>
</div></td>
</tr>
<%if rs.eof then%>
<tr>
<td colspan="3" class="tdmenu"><div align="center"><br />
还没有成员,<a href="class_user_add.asp">请添加</a><br />
<br /></div></td>
</tr>
<%else%>
<%for i=1 to myclass.pagesize
if not rs.eof then %>
<tr>
<td class="tdmenu"><div align="center"><%=(rs.Fields.Item("user_no").Value)%></div></td>
<td class="tdmenu"><div align="center"><%=(rs.Fields.Item("user_name").Value)%></div></td>
<td class="tdmenu"><div align="center"><a href="user_pwd_update.asp?user_no=<%=rs.Fields.Item("user_no").Value%>">修改密码</a></div></td>
</tr>
<% rs.movenext()
else
exit for
end if
next %>
<tr>
<td height="40" colspan="3" align="right" valign="bottom" class="tdmenu"><% myclass.showpage()%></td>
</tr>
<% end if %>
</table>
</body>
</html>
<%
rs.Close()
Set rs = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -