- <%@ page contentType="text/html;charset=GBK" language="java" %>
- <%@ page import = "StudyCourse.*" %>
- <%@ page import = "java.util.*" %>
- <%
- Vector typeList = (Vector)session.getAttribute(Constants.COURSE_TYPE_LIST_KEY);
- Vector courceList = (Vector)session.getAttribute(Constants.COURSE_LIST_KEY);
- Course course = null;
- CourseType courseType = null;
- %>
- <HTML>
- <HEAD><TITLE>Study Online课程查询</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312">
- <LINK href="images/new.css" type="text/css" rel=stylesheet>
- </HEAD>
- <BODY bgcolor="#CCCCFF">
- <div align="center">
- <img border="0" src="images/class-ij1.gif" width="788" height="124"></div>
- <TABLE cellSpacing=0 cellPadding=0 width="788" border=0>
- <TR vAlign=top bgColor=#cbd7f3>
- <TD align=middle width=170 bgColor=#CCCCFF>
- <br><br>
- <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
- <TR><TD>
- <%if(typeList != null ){
- for(int i = 0;i < typeList.size();i++)
- {
- courseType = (CourseType)typeList.get(i);
- %>
- <a href="courseMain.do?courseTypeId=<%=courseType.getId()%>"><%=courseType.getCourseType()%></a><br>
- <%
- }
- }
- %>
- </TD> </TR>
- </TABLE>
- </TD>
- <TD bgColor=#CCCCFF>
- <br>
- <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0 bgColor=#ffffff>
- <TR><TD colSpan=2>
- <FORM action="courseSearch.do" method=post>
- <DIV align=center><font size=2>请输入关键字:<font><INPUT
- class=button2 size=12 name=keyword>
- <SELECT class=button1 name=cat>
- <OPTION value=1>班号</OPTION>
- <OPTION value=2 selected>课程名称</OPTION>
- <OPTION value=3>上课地点</OPTION></SELECT> <INPUT type=submit value=搜索 name=Submit>
- <BR><BR></DIV></FORM>
- </TD></TR>
- <TR><TD width="50%" height=20> 课程信息总目录:</TD></TR>
- <TR><TD>
- <TABLE class=txt cellSpacing=1 cellPadding=1 width="90%" align=center bgColor=#005b4b border=0>
- <TR bgColor=#bad4a5>
- <TD vAlign=top width="10%" bgColor=#CBD7F3>班号</TD>
- <TD vAlign=top width="20%" bgcolor="#CBD7F3">课程名称</TD>
- <TD vAlign=top width="10%" bgcolor="#CBD7F3">价格</TD>
- <TD vAlign=top width="30%" bgcolor="#CBD7F3">时间</TD>
- <TD vAlign=top width="20%" bgcolor="#CBD7F3">上课地点</TD>
- <TD vAlign=top width="10%" bgcolor="#CBD7F3">详细</TD>
- </TR>
- <%if(courceList != null ){
- for(int i = 0;i < courceList.size();i++)
- {
- course = (Course)courceList.get(i);
- %>
- <TR bgColor=#ffffff>
- <TD width="10%" bgColor=#ffffff><%=course.getClassNo()%></TD>
- <TD width="20%" bgColor=#ffffff><%=course.getCourseName()%></TD>
- <TD width="10%" bgColor=#ffffff><%=course.getPrice()%></TD>
- <TD width="30%" bgColor=#ffffff><%=course.getTime()%></TD>
- <TD width="20%"><%=course.getPlace()%></TD>
- <TD vAlign=center><A href= "courseDetail.do?courseId=<%=course.getId()%>"><IMG height=25 src="images/view.gif" width=25 border=0></A></TD>
- </TR>
- <%
- }
- }
- %>
- </TABLE>
- <TR height=24>
- <TD align=right> </TD>
- </TR>
- <br></TD></TR>
- </TABLE>
- <br>
- </TD>
- </TR>
- </TABLE>
- <div align="center"><font size=2>StudyOnline 版权所有</font></div>
- </body>
- </html>