<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@page import="com.zky.pojo.MyUtils"%>
<%@page import="com.zky.pub.HashFmlBuf"%>
<!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=utf-8" />
<title>涉密人员考试信息</title>
<link href="../../../css/font.css" rel="stylesheet" type="text/css"></link>
<style>
.bt{text-align:center;}
body {
	background-color: #FFF;
    margin:0 auto; width:740px;
}
.partone{ font-family:宋体; font-size:14px; font-weight:bolder;}
.main{float:left; font-family:宋体; font-size:14px; text-align:center;}
table{border-collapse:collapse; cellspacing="0px" cellpadding="0px"}
.maintwo{float:left;font-family:宋体; font-size:14px; text-align:center;}
.footer{float:left;font-family:宋体; font-size:14px; margin-left:500px; margin-top:10px;}
</style>
</head>
<%
          HashFmlBuf buf=(HashFmlBuf)request.getAttribute("SmryTj_info");
        int rowcount1 = buf.getRowCount();
%>
<body>
<div class="bt">
<br />
<h1 style="font-size: 25px;"><%= buf.fget("DEPARTNAME",0)%>人员考试信息表</h1>
</div>
<div>
<table width="740" border="0" >
  <tr>
    <td width="8%" class="partone">单位:</td>
    <td width="70%" class="partone"><%=buf.fget("departname",0) %></td>
    <td width="8%" class="partone" align="right">日期:</td>
    <td width="12%" class="partone" align="right"><%=MyUtils.getDateString() %></td>
  </tr>
</table>
</div>
<div class="main">
 <table width="740px" border="1" >
   <tr height="30"  >
     <td >所属地市</td>
     <td >所属区县</td>
     <td >单位名称</td>
     <td >考试次数</td>
   </tr>
    <tr height="30"  >
     <td><%= buf.fget("FRAMEWORKNAME",0)%></td>
     <td><%= buf.fget("AREADEF",0)%></td>
     <td><%= buf.fget("DEPARTNAME",0)%></td>
     <td ><%=rowcount1 %></td>
   </tr>
</table>
<table width="740px" border="1" >
  <tr >
    <td  align="center"   height="40" >人员编号</td>
    <td align="center"   >人员姓名</td>
    <td align="center"  >考试类型</td>
     <td align="center" >考试成绩</td>
     <td align="center"  >考试时间</td>
     
  </tr>
  <%
  HashFmlBuf buf1=(HashFmlBuf)request.getAttribute("SmryTj_info");
	      if (buf1 != null) {
		    int rowcount = buf1.getRowCount();
		    for (int i=0; i<rowcount; i++) {
		    String type=buf.fget("type", i);
		    String result= buf.fget("radioResult", i);
		    String result1= buf.fget("radioResult1", i);
		    %>
   <tr  >
    <td height="40"  ><%=buf1.fget("empid", i) %></td>
	    <td><%=buf.fget("EMPNAME", i) %></td>
	    <td>
	  <%
	   if(type.equals("1")){   %>
		   专业试题
		
	   <%   }else{%>
	    基础题库
	<%} %>
</td>

	       <td>
		   <%= buf.fget("radioResult", i) %>
		    </td>
		<td> <%= buf.fget("Result", i) %></td>
  </tr>
  <%
	      }
  %>
  <%
	      }
  %>
  
</table>
<br>
<table align="center">
   <tr>
    <td><%@include file="/print/print.jsp"%></td>
  </tr>
</table>
</div>
</body>
</html>