| 
							
								 | 
							
							<%@ page language="java" contentType="text/html; charset=GBK"   pageEncoding="GBK"%>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%@page import="com.zky.manager.Login"%>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%@page import="com.zky.zhyw.smsj.WorkDB" %>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%@page import="java.sql.*" %>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%@page import="com.zky.zhyw.smsj.WorkDB" %>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%
 | 
						
						
						
						
							 | 
							
								 | 
							
							 Login login_obj;
 | 
						
						
						
						
							 | 
							
								 | 
							
							 login_obj = (Login)session.getAttribute("login");
 | 
						
						
						
						
							 | 
							
								 | 
							
							 String optrid = login_obj.optrid;
 | 
						
						
						
						
							 | 
							
								 | 
							
							 String username = getPara.getDesc("TAB_EMPLOYEE","empId","EMPNAME",optrid);
 | 
						
						
						
						
							 | 
							
								 | 
							
							 %>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<html>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<head>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<title>¿¼ÊÔÍê±Ï</title>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<link rel="stylesheet" type="text/css" href="../../css/font.css">
 | 
						
						
						
						
							 | 
							
								 | 
							
							<script src="/js/check.js"></script>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<link rel="stylesheet" type="text/css" href="../../js/2k3Grid.css">
 | 
						
						
						
						
							 | 
							
								 | 
							
							<link rel="stylesheet" type="text/css" href="../../js/2k3Menu.css">
 | 
						
						
						
						
							 | 
							
								 | 
							
							<link rel="stylesheet" type="text/css" href="../../js/2k3Dialog.css">
 | 
						
						
						
						
							 | 
							
								 | 
							
							<style type="text/css">
 | 
						
						
						
						
							 | 
							
								 | 
							
							select
 | 
						
						
						
						
							 | 
							
								 | 
							
							{
 | 
						
						
						
						
							 | 
							
								 | 
							
							   width:155px;
 | 
						
						
						
						
							 | 
							
								 | 
							
							}
 | 
						
						
						
						
							 | 
							
								 | 
							
							</style>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</head>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<body >
 | 
						
						
						
						
							 | 
							
								 | 
							
							<form name="form1" method="post" action="/servlet/StatManage">
 | 
						
						
						
						
							 | 
							
								 | 
							
							<br>
 | 
						
						
						
						
							 | 
							
								 | 
							
							      <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="1" class="box">
 | 
						
						
						
						
							 | 
							
								 | 
							
							           <tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							              <td valign="top">
 | 
						
						
						
						
							 | 
							
								 | 
							
							               <table width="100%" height="23"  border="0" cellpadding="0" cellspacing="0">
 | 
						
						
						
						
							 | 
							
								 | 
							
							                  <tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                   <td width="25%" background="/images/tab_search_01.jpg">
 | 
						
						
						
						
							 | 
							
								 | 
							
							                     <table width="80%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
 | 
						
						
						
						
							 | 
							
								 | 
							
							                      <tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                         <td width="3%"><img src="/images/little_red.jpg" width="12" height="12"></td>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                         <td width="97%" class="font12b"> ³É¼¨¹ÜÀí</td>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                      </tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                     </table>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                  </td>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                  <td width="82%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td>
 | 
						
						
						
						
							 | 
							
								 | 
							
							                </tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							              </table> 
 | 
						
						
						
						
							 | 
							
								 | 
							
							<input type="hidden" name="operate" value=""/>
 | 
						
						
						
						
							 | 
							
								 | 
							
							   <table width="99%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02">
 | 
						
						
						
						
							 | 
							
								 | 
							
							      	<tr bgcolor="#FFFFFF">
 | 
						
						
						
						
							 | 
							
								 | 
							
									  <td align="center"><b>
 | 
						
						
						
						
							 | 
							
								 | 
							
									  Óû§:
 | 
						
						
						
						
							 | 
							
								 | 
							
							 <%=username %>£¬id=<%=optrid %>£¬ÄúµÄÑ¡ÔñÌâ³É¼¨ÒѾ´æÈëÊý¾Ý¿â.
 | 
						
						
						
						
							 | 
							
								 | 
							
							<jsp:useBean id="q" scope="session" class="com.zky.zhyw.smsj.Question"/>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%
 | 
						
						
						
						
							 | 
							
								 | 
							
							String tklxtypes=request.getParameter("tklxtypes");
 | 
						
						
						
						
							 | 
							
								 | 
							
							int sum=0;
 | 
						
						
						
						
							 | 
							
								 | 
							
							String userName=String.valueOf(session.getAttribute(username));
 | 
						
						
						
						
							 | 
							
								 | 
							
							String id=String.valueOf(session.getAttribute(optrid));
 | 
						
						
						
						
							 | 
							
								 | 
							
							String [] s=new String[200];
 | 
						
						
						
						
							 | 
							
								 | 
							
								for(int t=0;t<50;t++){
 | 
						
						
						
						
							 | 
							
								 | 
							
									int t1=t+1;
 | 
						
						
						
						
							 | 
							
								 | 
							
									String m=String.valueOf(t1);
 | 
						
						
						
						
							 | 
							
								 | 
							
									s[t]=request.getParameter(m);
 | 
						
						
						
						
							 | 
							
								 | 
							
								}
 | 
						
						
						
						
							 | 
							
								 | 
							
							try{
 | 
						
						
						
						
							 | 
							
								 | 
							
							WorkDB  w=new WorkDB();
 | 
						
						
						
						
							 | 
							
								 | 
							
							w.setConnection();
 | 
						
						
						
						
							 | 
							
								 | 
							
							if(tklxtypes.equals("2")){
 | 
						
						
						
						
							 | 
							
								 | 
							
							w.setSql("select * from td_question where TYPEID="+tklxtypes+" order by id  ");
 | 
						
						
						
						
							 | 
							
								 | 
							
							}else if(tklxtypes.equals("1")){
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.setSql("select * from td_question1 where TYPEID="+tklxtypes+" order by id  ");
 | 
						
						
						
						
							 | 
							
								 | 
							
							}
 | 
						
						
						
						
							 | 
							
								 | 
							
							ResultSet rs=w.getResult();
 | 
						
						
						
						
							 | 
							
								 | 
							
							int i=-1;
 | 
						
						
						
						
							 | 
							
								 | 
							
							String [] a=new String [200]; 
 | 
						
						
						
						
							 | 
							
								 | 
							
							while(rs.next()){
 | 
						
						
						
						
							 | 
							
								 | 
							
								i++;
 | 
						
						
						
						
							 | 
							
								 | 
							
								String d="";
 | 
						
						
						
						
							 | 
							
								 | 
							
							    d=rs.getString("note");
 | 
						
						
						
						
							 | 
							
								 | 
							
								a[i]=d;
 | 
						
						
						
						
							 | 
							
								 | 
							
								 }
 | 
						
						
						
						
							 | 
							
								 | 
							
							if(tklxtypes.equals("1")){
 | 
						
						
						
						
							 | 
							
								 | 
							
								for(int u=1;u<=50;u++){
 | 
						
						
						
						
							 | 
							
								 | 
							
								if(a[u].equals(s[u]))
 | 
						
						
						
						
							 | 
							
								 | 
							
										 sum+=2;
 | 
						
						
						
						
							 | 
							
								 | 
							
								}
 | 
						
						
						
						
							 | 
							
								 | 
							
								String sum2=String.valueOf(sum);
 | 
						
						
						
						
							 | 
							
								 | 
							
								String [] b={sum2,optrid };
 | 
						
						
						
						
							 | 
							
								 | 
							
								out.print("רҵÊÔÌâ1£ºÄúµÄ±¾´Î¿¼ÊԳɼ¨Îª£º"+sum2+"·Ö");
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.setCan(b);
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.setSql("insert into tab_examnum(radioResult,empid,type,radioResult1)values (?,?,1,sysdate())");
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.insertRecord();
 | 
						
						
						
						
							 | 
							
								 | 
							
							}else if(tklxtypes.equals("2")){
 | 
						
						
						
						
							 | 
							
								 | 
							
								for(int u=1;u<=50;u++){
 | 
						
						
						
						
							 | 
							
								 | 
							
									 if(a[u].equals(s[u]))
 | 
						
						
						
						
							 | 
							
								 | 
							
										 sum+=2;
 | 
						
						
						
						
							 | 
							
								 | 
							
								}
 | 
						
						
						
						
							 | 
							
								 | 
							
								String sum2=String.valueOf(sum);
 | 
						
						
						
						
							 | 
							
								 | 
							
								String [] b={sum2,optrid };
 | 
						
						
						
						
							 | 
							
								 | 
							
								out.print("»ù´¡Ìâ¿â2£ºÄúµÄ±¾´Î¿¼ÊԳɼ¨Îª£º"+sum2+"·Ö");
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.setCan(b);
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.setSql("insert into tab_examnum(radioResult,empid,type,radioResult1)values (?,?,2,sysdate())");
 | 
						
						
						
						
							 | 
							
								 | 
							
								w.insertRecord();
 | 
						
						
						
						
							 | 
							
								 | 
							
							}
 | 
						
						
						
						
							 | 
							
								 | 
							
							}catch(Exception e){}
 | 
						
						
						
						
							 | 
							
								 | 
							
							%>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</b></td>
 | 
						
						
						
						
							 | 
							
								 | 
							
								    </tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</table>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</td>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</table> 
 | 
						
						
						
						
							 | 
							
								 | 
							
							<table width="99%" align="center">
 | 
						
						
						
						
							 | 
							
								 | 
							
									<tr align="center">
 | 
						
						
						
						
							 | 
							
								 | 
							
									<td>
 | 
						
						
						
						
							 | 
							
								 | 
							
								  <a href="/zhyw/smsj/TryBookMain.jsp"><img src="../../images1/gb.png" alt="¹Ø±Õ" border="0" /></a>
 | 
						
						
						
						
							 | 
							
								 | 
							
									</td>
 | 
						
						
						
						
							 | 
							
								 | 
							
									</tr>
 | 
						
						
						
						
							 | 
							
								 | 
							
								</table>	
 | 
						
						
						
						
							 | 
							
								 | 
							
							</form>
 | 
						
						
						
						
							 | 
							
								 | 
							
							<%@include file="/foot.jsp"%>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</body>
 | 
						
						
						
						
							 | 
							
								 | 
							
							</html> |