WebRoot/xxy.jsp
(完整代码) 2KB<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
<%@ include file="iframe/head.jsp" %>
<%
String message = (String)request.getAttribute("message");
if(message == null){
message = "";
}
if (!message.trim().equals("")){
out.println("<script language='javascript'>");
out.println("alert('"+message+"');");
out.println("</script>");
}
request.removeAttribute("message");
%>
<%
String username2=(String)session.getAttribute("id");
if(username2==null){
response.sendRedirect(path+"/error.jsp");
}
else{
%>
<BODY >
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
<tr class="head">
<td width="5%" align="center">ID </td>
<td align="center">课程名</td>
<td align="center">班级</td>
<td align="center">学时</td>
<td align="center">课程简要说明</td>
<td align="center">上课地点</td>
<td align="center">上课时间</td>
<td align="center">上课教师</td>
<td align="center">退课</td>
</tr>
<%
List pagelist3=cb.getCom("select xk.id,xxk.* from xk,xxk where xk.xxid=xxk.id and xk.stu='"+username2+"' order by xk.id desc",10);
if(!pagelist3.isEmpty()){
for(int i=0;i<pagelist3.size();i++){
List pagelist2 =(ArrayList)pagelist3.get(i);
%>
<tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
<td width='5%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(2).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(3).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(4).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(5).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(6).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(7).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=cb.getString("select realname from teacher where username='"+pagelist2.get(8).toString()+"'") %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><a href="<%=basePath %>ComServlet?method=wyTk&id=<%=pagelist2.get(0).toString()%>">退课</a></td>
</tr>
<%
}}
%>
</TABLE>
<%} %>
<%@ include file="iframe/foot.jsp"%>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。