<%@page import="java.sql.ResultSet"%> <%@page import="com.zky.zhyw.smsj.WorkDB"%> <%@include file="/auth.jsp"%> <%@page import="java.util.Date"%> <%@page language="java" pageEncoding="gbk" %> 考生试卷 <% String tklxtype=request.getParameter("tklxtype"); String tmptklx=tklxtype; if (tmptklx.equals("1")) { tmptklx = "专业题库"; } else { tmptklx = "基础题库"; } %>

考生<%=tmptklx %>试卷


<% int i=0; try{ WorkDB t=new WorkDB(); t.setConnection(); if(tklxtype.equals("2")){ t.setSql("select * from td_question where TYPEID="+tklxtype+" order by id"); }else{ t.setSql("select * from td_question1 where TYPEID="+tklxtype+" order by id"); } ResultSet rs=t.getResult(); Operate oper=new Operate(); oper.operatesmrypxksLog(request); while(rs.next()){ i++; int u=Integer.valueOf(rs.getString(1)); if(tklxtype.equals("2")){ if(u>=51) break; }else if(tklxtype.equals("1")){ if(u>=51) break; } %> <% }} catch(Exception e){} %>
题库类型:<%=tmptklx %>   科目总分:100  通过分数:60
北京时间:
<% out.print("考试开始时间:"+session.getAttribute("time_start")); out.print("
"); out.print("考试结束时间:"+session.getAttribute("time_over")); %>
题号:<%=rs.getString(1)%>  题型:<%=rs.getString(2)%>单选题(请在以下几个选项中选择唯一正确答案)  本题分数:2分
内容:<%=rs.getString(3)%>






斗 志 昂 扬
情 绪 饱 满
头 脑 冷 静