<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>首页</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	    <link rel="stylesheet" type="text/css" href="<?php echo HOME_PUC ?>css/index.css?v=7799"/>
        <script type="text/javascript"  src="/salary/Public/laydate/jquery.min.js"></script>

	</head>

	<body>
		
			<div class="h-bg"><a href="/salary/index.php/Home/admin/logout"><img src="<?php echo HOME_PUC ?>img/out.png"/></a></div>
			<div class="h-bt">
			   <ul>
			   	  <li class="activee"><a href="/salary/index.php/Home/Index/index" style="text-decoration:none;color:#ffffff;"><b>我的首页</b></a></li>
			   	 <li><a href="/salary/index.php/Home/Index/lst/" style="text-decoration:none;color:#ffffff;"> <b>工资查询</b></a></li>
                  <li><a href="/salary/index.php/Home/Admin/index" style="text-decoration:none;color:#ffffff;"><b>修改密码</b></a></li>
			   </ul>
			</div>
			<div class="grxx">
				<div class="jbxx">
					<p><font class="name"><?php echo session('name')?></font> <font class="zt"><?php echo ($info["per_state"]); ?></font></p>
					<p><font class="qtxx">入职：<?php echo ($info["per_enttime"]); ?></font></p>
					<p><font class="qtxx hjj">部门：<?php echo ($info["per_dep"]); ?> &nbsp; 职级：<?php echo ($info["per_zhiji"]); ?></font></p> 
					<p><font class="qtxx">企业：<?php echo ($info["per_company"]); ?></font></p>
					<div class="dygz">
					 <table>
					 	<tr>
					 		<td>
					 		   <p class="dysr" style="font-size:1rem;"><?php echo (date("m",strtotime($info["per_month"]))); ?>月份工资(元)</p>
					           <p class="srjg"><?php echo ($info["per_esalary"]); ?></p> 
					 		</td>					 		
					 	</tr>						
					 	</table>		
				   </div>
				</div>				
			</div>
			
			<div class="gzzs">
            <?php if(is_array($result)): $i = 0; $__LIST__ = $result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="/salary/index.php/Home/Detail/index/per_id/<?php echo ($vo["per_id"]); ?>">
		       <ul>
		       	  <li><?php echo ($vo["per_name"]); ?></li>
		       	  <li class="tsys"><?php echo ($vo["per_month"]); ?>月份工资</li>
		       	  <li class="tsys"><?php echo ($vo["per_esalary"]); ?></li>
		       	  <li style="float:right;margin-right:7.8%;"><img src="<?php echo HOME_PUC ?>img/more.png"/></li>
		       </ul>
              </a><?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
		    
	</body>

</html>
<script type="text/javascript">
    $(document).ready(function(){  
        $(".h-bt li a").each(function(){  
            $this = $(this);  
            if($this[0].href==String(window.location)){ 
                $(".h-bt li").removeClass("activee");
                $this.parent().addClass("activee");  //active表示被选中效果的类名   
            } 
        });  
    }); 
</script>

<!--  安徽北风信息技术有限公司©版权所有，未经许可不可商用! 软件开发定制 微信：bf5108,手机：15212808418  --->