<%@ 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("FRAMEWORKNAME",0)%><%= buf.fget("AREADEF",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>
   </tr >
    <tr height="30" bgcolor="#FFFFFF">
     <td><%= buf.fget("FRAMEWORKNAME",0)%></td>
     <td><%= buf.fget("AREADEF",0)%></td>
     <td ><%=rowcount1 %></td>
   </tr>
</table>
<table width="740px" border="1" >
  <tr bgcolor="#FFFFFF">
    <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 bgcolor="#FFFFFF">
    <td height="40"  ><%=buf1.fget("DEPARTID", i) %></td>
	    <td><%=buf.fget("DEPARTNAME", i) %></td>
	    <td> <%=buf.fget("departtypeid",i) %></td>
	      <td><%= buf.fget("departlvlid", i) %> </td>
		<td> <%= buf.fget("departrepname", i) %></td>
  </tr>
  <%
	      }
  %>
  <%
	      }
  %>
  
</table>
<br/>
<table align="center">
   <tr>
    <td><%@include file="/print/print.jsp"%></td>
  </tr>
</table>
</div>
</body>
</html>