📄 chaxunclass.asp
字号:
<!--#include file="conn.asp"-->
<% xino=trim(request.form("xino"))
zhuanye=trim(request.form("zhuanye"))
banno=trim(request.form("banno"))
jino=trim(request.form("jino"))
exec="select * from 课程 where xino='"+xino+"' and zhuanye='"+zhuanye+"' and jino='"+jino+"' and banno='"+banno+"'"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
if rs.eof then
response.write "可能条件写错,请重新选择!"
response.end
end if
%>
<html>
<head>
<title>按班级查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="imags/bg11.gif">
<p align="center"><b><font size="5" color="#000000">2002-2003度第一学期,班级课表</font></b></p>
<p align="center"><img src="imags/line.gif" width="650" height="1"></p>
<div align="center">
<table width="738" border="1" height="54" cellspacing="1" cellpadding="0" bordercolor="#CCCCCC">
<tr bgcolor="#FFCCFF">
<td height="16" width="48">
<div align="center"><font color="#000000" size="5" face="华文新魏">星期</font></div>
</td>
<td height="16" width="51">
<div align="center"><font color="#000000" size="5" face="华文新魏">节次</font></div>
</td>
<td height="16" width="94">
<div align="center"><font color="#000000" size="5" face="华文新魏">课程名</font></div>
</td>
<td height="16" width="50">
<div align="center"><font color="#000000" size="5" face="华文新魏">教师</font></div>
</td>
<td height="16" width="116">
<div align="center"><font color="#000000" size="5" face="华文新魏">专业</font></div>
</td>
<td height="16" width="49"><font color="#000000" size="5" face="华文新魏">年绩</font></td>
<td height="16" width="52"><font color="#000000" size="5" face="华文新魏">班级</font></td>
<td height="16" width="57">
<div align="center"><font color="#000000" size="5" face="华文新魏">教室</font></div>
</td>
<td height="16" width="51"><font color="#000000" size="5" face="华文新魏">周次</font></td>
<td height="16" width="106"><font color="#000000" size="5" face="华文新魏">课程性质</font></td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td width="48" height="11"><%=rs("week")%></td>
<td width="51" height="11"><%=rs("jieci")%></td>
<td width="94" height="11"><%=rs("lessonname")%></td>
<td width="50" height="11"><%=rs("teachername")%></td>
<td width="116" height="11"><%=rs("zhuanye")%></td>
<td width="49" height="11"><%=rs("jino")%></td>
<td width="52" height="11"><%=rs("banno")%></td>
<td width="57" height="11"><%=rs("room")%></td>
<td width="51" height="11"><%=rs("weekname")%></td>
<td colspan="2" height="11" width="106"><%=rs("pro")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</div>
<p> </p>
<p align="center"><b><font size="4" color="#CC6600"><a href="chaxun.asp"><img src="imags/041.gif" width="84" height="16" border="0"></a></font></b></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -