<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/right.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>
<title>课程列表_<%=SiteName%>_校无忧科技_Www.Xiao5u.Com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="description" content="校无忧网上选课系统_Www.Xiao5u.Com" />
<link href="images/xiao5u.css" rel="stylesheet" type="text/css">
<!--#include file=images/ini.sys -->
<script src="images/check.js"></script>
</head>
<body>
<table cellSpacing=0 cellPadding=0 align=center width="960px">
  <tr>
    <td id="banner"><%=SiteName%></td>
  </tr>
 <tr>
  <td id="menu">
  <a href="index.asp">课程列表</a>  
 - <a href="list.asp">我的课程</a>
 - <a href="my.asp">个人信息</a>
 - <a href="logout.asp">退出登陆</a>
   </td>
 </tr>
</table>
<table width="960px" align="center" bgcolor="#F0F7FF">
	<tr align="center" bgcolor="#ebf0f7" height="35px">
	  <td>课程名称</td>
	  <td>课程人数</td>
	  <td>课程学分</td>
	  <td>上课时间</td>
	  <td>上课地点</td>
	  <td>授课老师</td>
	  <td>已选人数</td>
	  <td>详细介绍</td>
	</tr>
		
<%
sql="select * from course where sno='"&session("sno")&"' order by id asc"
 set rs=server.createobject("adodb.recordset") 
 rs.open sql,conn,1,1
 if not rs.eof then
 For i=1 to rs.recordcount
%>
        <tr align='center' bgcolor='#FFFFFF' onmouseover='this.style.background="#F2FDFF"' onmouseout='this.style.background="#FFFFFF"' height="35px">
          <td><%=rs("title")%></td>
          <td><%=rs("xx2")%></td>
          <td><%=rs("xx3")%></td>
          <td><%=rs("xx4")%></td>
          <td><%=rs("xx5")%></td>
          <td><%=rs("xx6")%></td>
          <td><%=rs("xkrs")%></td>
          <td><a href="view.asp?id=<%=rs("id")%>" target="_blank">详细</a> </td>
        </tr>
<%
rs.movenext 
next
else
%>
        <tr align='center' bgcolor='#FFFFFF' height="35px">
          <td colspan="9">暂无选课信息</td>
        </tr>
<%rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>
</table>
<table cellSpacing=0 cellPadding=0 align=center background="images/botbj.jpg" width="960px">
  <tr>
    <td height=60 align="center" id="Bottom"> <%=Copyright%> </td>
  </tr>
</table>
</body>
</html>