gusucode.com > ASP+ACCESS学生排课管理系统毕业设计(源代码+论文) > ASP+ACCESS学生排课管理系统毕业设计(源代码+论文)\ASP+SQL学生排课管理系统\ArrangeCourse\Feedback\List.asp

    <!--#include file="../../include/keepHouse.asp"-->
<html>
<head>
<title>欢迎来到<%=WebName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../include/WebCourseSettlementStyle.Css" rel="stylesheet" type="text/css">
</head>

<body>
<div align="center">
<!--#include file="../../include/header.asp"-->
<%
if Session("USER_TYPE")<>"Teacher" and Session("USER_TYPE")<>"Admin" then
	response.write "<br>"
	response.write "<br>"
	response.write "<div align=center><font size='+1' face='黑体' color='#FF0000'>"
	response.write "对不起,你不是教师,请离开本页面!</font></div>"
	response.write "<div align=center>系统将在5秒钟跳转到首页</div>"
	response.write "<br>"
	response.write "<br>"
%>
<!--#include file="../../include/footer.asp"-->
<%
	response.write "<meta http-equiv='refresh' content='5; url=../../'>"
	response.end
end if
sql="select * from FeedBack order by FEEDBACK_id desc"
call openDB()
rs.open sql,conn,1,1
if rs.bof and rs.eof then
	call noInfo("没有任何教师反馈!")
end if
%>
<table width="750" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#0000dd" bordercolordark="#FFFFFF" bgcolor="#F0F0F0">
<tr bgcolor=#99CCFF> 
<td colspan="4" height="28" align="center">
<a href="Compose.asp">签写反馈</a>&nbsp;&nbsp;&nbsp;
<font size='+1' face='黑体'>查看教师反馈</font>
</td>
</tr>
<tr> 
<tr> 
<td width="10%"><div align="center">编号</div></td>
<td width="53%"><div align="center">标题</div></td>
<td width="16%"><div align="center">添加者</div></td>
<td width="21%"><div align="center">添加时间</div></td>
</tr>
<%
dim Counter
Counter=1
while not rs.eof
	%>
	<tr> 
    <td><%=Counter%></td>
    <td><a href="Read.asp?FEEDBACK_ID=<%=rs("FEEDBACK_ID")%>&ID=<%=Counter%>"><%=rs("FEEDBACK_TITLE")%></a></td>
    <td><%=rs("USER_ID")%></td>
    <td><%=rs("FEEDBACK_TIME")%></td>
	</tr>
	<%
	Counter=Counter+1
	rs.movenext
wend
call closeDB()
%>
</table>
<!--#include file="../../include/footer.asp"-->
<table border="0" width="100%" height="73" cellspacing="0" cellpadding="0">
<tr>
<td>
</td>
</tr>
</table>
</div>
</body>
</html>