<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->
<%
id=Request.QueryString("id")
if id="" or not isnumeric(id) then
	response.write("<script>alert('参数错误!');location='index.asp';</script>")
	response.end()
end if

sql="Select * from Info where id="&id
Set rs=conn.execute(sql)
if rs.eof then
	response.write("<script>alert('不存在的信息或者尚未通过审核!');location='index.asp';</script>")
	response.end()
end if
%>
<!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 -->
</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>
<%if session("Sname")<>"" then%> - <a href="logout.asp">退出登陆</a><%end if%>
   </td>
 </tr>
</table>
<table width="960px" align="center" bgcolor="#F0F7FF">
 <tr>
  <td colspan="4">
   <table width="90%" align="center" cellpadding="0" cellspacing="5" style="line-height:25px;">
    <tr>
      <td id="info"><b>课程信息</b></td>
    </tr>
	<tr>
	  <td align='right'> 课程名称：</td>
	  <td><%=rs("title")%></td>
	</tr>
	<tr >
	  <td align='right'>课程人数：</td>
	  <td><%=rs("xx2")%></td>
	</tr>
	<tr >
	  <td align='right'>课程学分：</td>
	  <td><%=rs("xx3")%></td>
	</tr>
	<tr >
	  <td align='right'>上课时间：</td>
	  <td><%=rs("xx4")%></td>
	</tr>
	<tr >
	  <td align='right'>上课地点：</td>
	  <td><%=rs("xx5")%></td>
	</tr>
	<tr >
	  <td align='right'>授课老师：</td>
	  <td><%=rs("xx6")%></td>
	</tr>
	<tr>
	  <td width="10%" align="right">选课说明：</td>
	  <td><%=rs("content")%></td>
	</tr>
   </table>
  </td>
 </tr>
</table>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<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>