?? 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 + -