WebRoot/shijuan_detail2.jsp
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%
if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")=="") //判断用户是否已经登陆,如果没有,则给出登陆框,如果有则显示当前用户信息
{
out.print("<script>alert('对不起,请您先登陆!');window.history.go(-1);</script>");
}
%>
<%@ page language="java" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="db.db"/>
<html>
<head>
<base href="<%=basePath%>">
<title>在线考试系统</title><LINK href="css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.STYLE2 {color: #FFFFFF}
.STYLE4 {color: #FFFFFF; font-weight: bold; }
.STYLE6 {color: #198A95; font-weight: bold; }
.STYLE5 { color: #72AC27;
font-size: 26pt;
}
-->
</style>
<link href="qtimages/StyleSheet.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="__01" width="100%" height="193" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="162" align="center">
<%
String id=request.getParameter("id");
String sql="",nnn="",bianhao="",bbb="",ccc="",ddd="";
sql="select * from shijuanshengcheng where id="+id+"";
ResultSet RS_result=connDbBean.executeQuery(sql);
while(RS_result.next()){
nnn=RS_result.getString("xuanzeti");
bianhao=RS_result.getString("shijuanbianhao");
bbb=RS_result.getString("tiankongti");
ccc=RS_result.getString("panduanti");
}
%>
<p>试卷编号:<%=bianhao%></p>
<table width="98%" height="103" border="1" cellpadding="1" cellspacing="0" bordercolor="#F8C878">
<tr>
<td height="33" colspan="2">选择题(每题2分)</td>
</tr>
<%
sql="select * from xuanzeti where id in ("+nnn+")";
后面还有 135 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
