code/WebRoot/admin/xuanti/FenZuList.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<jsp:useBean id="db1" scope="page" class="com.dao.DB"/>
<%@ page import="java.sql.*" %>
<%
String path = request.getContextPath();
%>

<!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="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />

		<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
		
        <script language="javascript">
           
 
       </script>
	</head>

	<body leftmargin="2" topmargin="2" background='<%=path %>/images/allbg.gif'>
			<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#0DA5E3" align="center" style="margin-top:8px">
				<tr bgcolor="#E7E7E7">
					<td height="14" colspan="5" background="<%=path %>/images/tbg.gif">&nbsp;答辩分组列表&nbsp;</td>
				</tr>
				<tr align="center" bgcolor="#FAFAF1" height="22">
					<td width="10%">学号</td>
					<td width="10%">姓名</td>
					<td width="10%">性别</td>
					<td width="10%">选题名称</td>
					<td width="10%">组别</td>
		        </tr>	
			  <%
			        String teaid = session.getAttribute("id").toString();
					String sql="select t_stu.*,t_timu.timu_name,t_xuanti.fenshu from t_xuanti left join t_stu on t_xuanti.stu_id=t_stu.id left join t_timu on t_timu.timu_id=t_xuanti.timu_id   where t_xuanti.xuanti_zt = '可以答辩' ";
					ResultSet rs = db1.executeQuery(sql);
					 while(rs.next())
	                  {
			  %>
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center"> <%= rs.getString("xuehao") %></td>
					<td bgcolor="#FFFFFF" align="center"> <%= rs.getString("name1") %></td>
					<td bgcolor="#FFFFFF" align="center"> <%= rs.getString("sex") %></td>
					<td bgcolor="#FFFFFF" align="center"> <%= rs.getString("timu_name") %></td>
					<td bgcolor="#FFFFFF" align="center"> <%= rs.getString("fenshu") %>组</td>
				</tr>
				
				<%
					}
					rs.close();
				%>
				
								 
			</table>
			
后面还有 3 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。