<%@include file="/auth.jsp"%>
<%@page language="java" contentType="text/html;charset=utf-8"%>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<%
	
	HashFmlBuf bufInfo=(HashFmlBuf)request.getAttribute("fileInfo");
	//HashFmlBuf param=Util.readStatic("SCOREVALUE");
	String writeDate="";
	String year[]=null;
	String fileSecret="";
	String fileState="";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>文件信息管理</title>
<link href="../../css/font.css" rel="stylesheet" type="text/css">

<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">
<script src="/js/check.js"></script>
<style type="text/css">
	
	.td1{
		width: 30%;
	}


table#csstable{
border-top:#D8E9FE 1px solid;
border-left:#D8E9FE 1px solid;
}
table#csstable td{
border-bottom:#D8E9FE 1px solid;
border-right:#D8E9FE 1px solid;
}


</style>
</head>
<body>
<h3 align="center">文件信息管理</h3>
<table id="csstable" width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
		
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">文件编号</td>
   			<td class="cell4"><%=bufInfo.fget("file_id",0) %></td>
   			<td class="cell3">文件名称</td>
   			<td class="cell4"><%=bufInfo.fget("file_name",0)%></td>
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">所属部门</td>
   			<td class="cell4"><%=bufInfo.fget("departname",0)%></td>
   				<td class="cell3">
    				写作人员
    			</td>
    			<td class="cell4">
    			<%=bufInfo.fget("empname",0) %>
    			</td>	
   		</tr>
   		
   		<tr bgcolor="#FFFFFF">
   		<td class="cell3">写作日期</td>
   			<td class="cell4">
   			<%
   				writeDate=bufInfo.fget("file_write_date",0);
   				 year=writeDate.split(" ");
   			%>
   				<%=year[0]%>
   			</td>
   			<td class="cell3">文件用途</td>
   			<td class="cell4">
   				<%if(bufInfo.fget("file_purpose",0).equals("")){ %>
   					未填写
   				<%}else{ %>
   					<%=bufInfo.fget("file_purpose",0)%>
   				<%} %>
   			</td>
   			
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">文件标题</td>
   			<td class="cell4">
   				<%
   					if(bufInfo.fget("file_title",0).equals(""))
   					{
   				%>未填写<%} else{%>
   				<%=bufInfo.fget("file_title",0)%>
   				<%} %>
   			</td>
   			<td class="cell3">文件描述</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("file_describe",0).equals("")){%>
   			未填写<%}else{ %><%=bufInfo.fget("file_describe",0)%><%} %></td>
   		</tr>
   		<tr bgcolor="#FFFFFF" >
    			<td class="cell3">
    			文件密级
    			</td>
    			<td class="cell4" style="width: 20%" >
    				<%
    					if(bufInfo.fget("file_secret_id",0).equals("1"))
    					{
    						fileSecret="秘密";
    					}
    					else if(bufInfo.fget("file_secret_id",0).equals("2"))
    					{
    						fileSecret="机密";
    					}
    					else
    					{
    						fileSecret="绝密";
    					}
    				%>
    				<%=fileSecret%>
    			</td>
    			<td class="cell3" style="width: 19%">
    				文件状态
    			</td>
    			
    			<td class="cell4" style="width: 35%">
    			<%if(bufInfo.fget("file_state",0).equals("1")){ %>
    			审核通过
    			<%}else{ %>
    			审核未通过
    			<%} %>
    			</td>
    		</tr >
    		<tr bgcolor="#FFFFFF" >
    			<td class="cell3" >
    				备注
    			</td>
    			<td class="cell4" colspan="3">
    			<%if(bufInfo.fget("remark",0).equals("")){ %>
    				未填写
    			<%}else{ %>
    				<%=bufInfo.fget("remark",0) %>
    				<%} %>
    			</td>
    			
    		
    		</tr>
    		
</table><br>
<%@include file="../../print/print.jsp"%>
</body>
</html>