WebRoot/zuoye/zuoyelist.jsp
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
request.setCharacterEncoding("gb2312");//设置页面字符集
DBO db=new DBO();//初始链接数据库类
String yhm="";
if(session.getAttribute("yhm")!=null){
yhm=(String)session.getAttribute("yhm");
}
String sql="select * from zuoye where 1=1 ";//查询 作业sql语句
sql+=" and ls='"+yhm+"'";
db.open();//打开数据库链接
ResultSet rs=db.query(sql);//查询结果
//作业信息查询
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>作业列表</title>
</head>
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<link rel="stylesheet" type="text/css" media="screen" href="../css/tinyTips.css" />
<body>
<form name="form" action="" method="post" >
<div class=formzone>
<div class=namezone>作业管理</div>
<DIV class=listzone>
<TABLE cellSpacing=0 cellPadding=3 width="100%" align=center border=0>
<TBODY>
<tr align="center" bgcolor="#ebf0f7">
<td width="9%" height="25" >作业编号</td>
<td width="9%" height="25" >学生</td>
<td width="9%" height="25" > 老师</td>
<td width="9%" height="25" > 附件</td>
<td width="9%" height="25" > 说明</td>
<td width="9%" height="25" > 时间</td>
<td width="9%" height="25" > 成绩</td>
<td width="9%" height="25" > 状态</td>
<td width="10%">操作</td>
</tr>
<%
if(rs!=null){
while(rs.next()){
%>
<tr align='center' bgcolor='#FFFFFF' onmouseover='this.style.background="#F2FDFF"' onmouseout='this.style.background="#FFFFFF"'>
<td height="24" ><%=rs.getString("zyid")%></td>
<td height="24" ><%=rs.getString("xs")%></td>
<td height="24" ><%=rs.getString("ls")%></td>
<td height="24" ><%=rs.getString("fj")%></td>
<td height="24" ><%=rs.getString("sm")%></td>
<td height="24" ><%=rs.getString("sj")%></td>
后面还有 23 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。