<!DOCTYPE html>
<!--[if IE 6 ]> <html class="ie6 lte_ie6 lte_ie7 lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 6 ]> <html class="lte_ie6 lte_ie7 lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 7 ]> <html class="lte_ie7 lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 8 ]> <html class="lte_ie8 lte_ie9"> <![endif]--> 
<!--[if lte IE 9 ]> <html class="lte_ie9"> <![endif]--> 
<!--[if (gte IE 10)|!(IE)]><!--><html><!--<![endif]-->
 <head>
    <title>PHPOA协同办公软件</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="template/style2015/content/css/bootstrapadd.min.css" />
		<link rel="stylesheet" type="text/css" href="template/style2015/content/css/bootstrap-modal.css" />
		        <link rel="stylesheet" type="text/css" href="template/style2015/content/css/bootstrap.css"> 
				<link rel="stylesheet" type="text/css" href="template/style2015/bootstrap/css/bootstrap-datetimepicker.css"> 
        <link rel="stylesheet" type="text/css" href="template/style2015/content/css/base.css">
		<link rel="stylesheet" type="text/css" href="template/style2015/content/css/style2015.css">
		<script type="text/javascript" src="template/style2015/content/js/jquery.min.js"></script>
		<script type="text/javascript" src="template/style2015/content/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="template/style2015/content/js/bootstrap-modal.js"></script>
		<script type="text/javascript" src="template/style2015/content/js/bootstrap-modalmanager.js"></script>
		<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
</head>
<body class="body-wrap">
<div class="tabbable work-nav">
				<ul id="myTab" class="nav nav-tabs">
					<li><a href="admin.php?ac=humanlist&fileurl=<?php echo $fileurl?>&type=<?php echo $type?>"><?php echo $human_type_name;?>管理</a></li>
					<li  class="active"><a href="#"><?php echo $human_type_name;?>查看</a></li>
					
				</ul>
</div>


	
<div class="search_area">
        <div class="form-search form-search-top" style="text-align:left;padding-left:10px;">
	 No： <?php echo $blog['number']?>
	单位员工：<?php echo $blog['username']?>
	
 
			<button type="button" style="margin-left:15px;" onClick="window.location.href='admin.php?ac=humanlist&fileurl=<?php echo $fileurl?>&type=<?php echo $type?>'" class="btn">返回</button>
        </div>
</div>


<div style="position:absolute; left:0px;overflow:auto;height:82%;width:100%;padding-top:10px;">
<div  id='form' class="table-responsive" style="width: 1000px;margin: 10px auto;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body {
	text-align: center;
	background-color: #dcdcdc;
}
.text_table{
	background-color: #FFFFFF;
	
}
.table_bg{
	border-collapse: 1px;
    border-spacing: 1px;
	background-color:#DDDED5;
}
.table_bg1{
	border-collapse: 0px;
    border-spacing: 0px;
	border-left:1px solid #DDDED5;
	border-right:1px solid #DDDED5;
}
.title{
	font-family: "微软雅黑", "宋体";
	font-size: 32px;
	color: #069DD5;
	line-height: 60px;
	letter-spacing: 2px;
}
.text_td {
	font-family: Arial, "微软雅黑", "宋体";
	font-size: 14px;
	line-height: 35px;
	height:35px;
	color: #68584e;
	padding-right: 6px;
	padding-left: 6px;
}
.text_td_1 {
	width:110px;
	background-color:#F7F8EE;
}
.text_value {
	font-family: Arial, "微软雅黑", "宋体";
	font-size: 14px;
	line-height: 25px;
	height:35px;
	color: #069DD5;
	padding-right: 6px;
	padding-left: 6px;
	background-color:#FFFFFF;
	text-align:left;
}
.text_title {
	font-family: Arial, "微软雅黑", "宋体";
	font-size: 16px;
	line-height: 25px;
	height:40px;
	color: #68584e;
	padding-left: 20px;
	background-color:#E8E8E3;
	text-align:left;
}
.text_no {
	font-family: Arial, "微软雅黑", "宋体";
	font-size: 16px;
	line-height: 25px;
	height:35px;
	color: #68584e;
	padding-right: 6px;
	padding-left: 6px;
	background-color:#F7F8EE;
}
</style>
<table width="1002" border="0" align="center" class="table_bg1"><tr><td class="text_title">基本信息</td></tr></table>
<table width="1002" border="0" align="center" class="table_bg">

  <tr>
  <?php
  global $db;
  $num = $db->result("SELECT COUNT(*) AS num FROM ".DB_TABLEPRE.DB_JT."human_form where type1='".$type."' and inputtype!=2 ORDER BY id Asc");
  $query = $db->query("SELECT * FROM ".DB_TABLEPRE.DB_JT."human_form where type1='".$type."' and inputtype!=2 ORDER BY id Asc");
  $n=0;
  while ($row = $db->fetch_array($query)) {
	  $n++;
	  $html.='<td class="text_td text_td_1">';

	  $value=get_human_db($blog['id'],$row["inputname"]);
	  $html.=''.$row["formname"].'</td>';
	  $html.='<td class="text_value">'.$value.'</td>';
	  if($n%2==0){
		  $html.= '</tr><tr>';
	  }
  }
  if($num%2!=0){
	 $html.='<td class="text_td text_td_1"></td>';
	 $html.='<td class="text_value"></td>';
  }
  echo $html;
  ?>
  
  </tr>
  <?php
   $html='';
   $query = $db->query("SELECT * FROM ".DB_TABLEPRE."human_form where type1='".$type."' and inputtype=2 ORDER BY id Asc");
	while ($row = $db->fetch_array($query)) {
		if($row["h"]=='' || $row["h"]=='0'){
			if($_CONFIG->config_data('configwork')=='1'){
				$h='200';
			}else{
				$h='100';
			}
		}
		$value=get_human_db($blog['id'],$row["inputname"]);
		$html.= '<tr>
			<td class="text_td text_td_1">';
			$html.=''.$row["formname"].'</td>
			<td colspan="3" class="text_value" style="padding-top: 10px;padding-bottom: 10px;">'.$value.'</td>
		  </tr>';
	}
   echo $html;
  
  ?>
	  
	  
</table>
</div>

<!--<div id="attchment">
<div class="content-attchment" id="content-attchment">
			<div class="attchment-title-block">
				<span class="attchment-public">流程附件管理</span>
			</div>
<table class="TableList small" align="center" width="100%">
		<tr class="TableLine1" style="line-height:30px;">
			<td colspan='4' align="left" style="padding-left:40px;background:#fdfaf3;" id="filetitle">还没有附件！</td>
		</tr>
<tbody id="filevalue">

</tbody>	
				</table>
<table class="TableBlock no-top-border" align="center" width="100%" height="45">
      
    <tr height="35">
	  <td nowrap class="TableContent" width="70" align="center" style="background:#fdfaf3;">
	  <input type="hidden" name="annexurlid" id="annexurlid" oninput="filenumber_show();"  onpropertychange="filenumber_show();" />
		<button type="button" onClick="window.open ('admin.php?ac=uploadadd&fileurl=public&name=annexurlid&filenumber=1000&officetype=3', 'newwindow', 'height=200, width=480, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')" action="cancel_concern" class="btn btn-primary">上传附件</button>    </td>
      <td class="TableData">
       

      </td>
            <td nowrap class="TableContent" width="90" align="center" >
    	 </td>
      <td class="TableData">
         
	  </td>
	       </tr>

</table>
	</div>
</div> -->


</div>

</body>
</html>
