<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>员工列表</title>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/common.css?v=779"/>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/right.css?v=91979"/>
        <script type="text/javascript"  src="/salary/Public/laydate/laydate.js"></script>
        <style type="text/css">
		 table td:nth-child(5){
		   text-align:center;
		   padding-left:5px;
		   }
	    </style>
	</head>
	<body>
        <script src="<?php echo ADMIN_PUC ?>js/jquery-1.10.2.js"></script>
		<script src="<?php echo ADMIN_PUC ?>js/drag.js"></script>

		<div class="content">
           <div class="search">
               <div class="caozuo-title">
                  <form action="" method="post" enctype="multipart/form-data">
                    <div style="height:50px;line-height:50px;padding:20px;float:left;">
                      <ul style="list-style:none;margin:0px;padding:0px">
                        <li style="float:left;margin-right:10px;color:#4d4d4d;">姓名:</li>
                        <li style="float:left;margin-right:7px;" class="chaxun">
                            <input type="text" name="mem_name" value="<?php echo I('mem_name') ?>"  class="shuru" placeholder="请输入姓名" class="shuru"/>
                        </li>
                      </ul>
                    </div>
                       <div style="float:left;height:50px;padding:20px;line-height:50px;" >
                       <input  type="submit" value="查询" class="search-btn" onmousemove="this.className='search-over'"  onmouseout="this.className='search-out'"/>
                       </div>
                  </form>
			    </div>			
            </div>
		<div class="column-name">
				<div class="lmlb">
                 <span style="display:inline-block;float:left;width:7px;height:20px;background:#0096ca;margin-right:7px;"></span>
                   <span>员工列表</span>
                </div>	
		</div>
			<table border="0" cellspacing="0" cellpadding="0">
				<tr class="column-list-title">
					<td width="3%">姓名</td>
                    <td width="3%">证件类型</td>
                    <td width="10%">身份证号码</td>
                    <td width="10%">手机号</td>
                    <td width="3%">操作</td>
				</tr>
                <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><form action="/salary/index.php/Admin/Staff/cha" method="post" enctype="multipart/form-data">
                  <input type="hidden" name="mem_number" value="<?php echo ($vo["mem_number"]); ?>" />
				<tr class="colunm-list-display" onmousemove="this.className='mouse-over'"  onmouseout="this.className='mouse-out'" >
					<td><?php echo ($vo["mem_name"]); ?>  </td>
                    <td>居民身份证</td>
                    <td><?php echo ($vo["mem_number"]); ?></td>
					<td><?php echo ($vo["mem_phone"]); ?></td>
                    <td>
                    <span style="height:37px;line-height:37px;float:left;width:100%;text-align:center;">
                    <a href="/salary/index.php/Admin/Staff/edt/mem_id/<?php echo ($vo["mem_id"]); ?>" target="right">
                    <img src="<?php echo ADMIN_PUC ?>/img/edit.png" alt="编辑" title="编辑" style="width:27px;vertical-align:middle"/>
                    </a>
                    </span>
                    </td>
				</tr>
                </form><?php endforeach; endif; else: echo "" ;endif; ?>
			</table>
            <div style="margin-top:10px;height:57px;background:#ffffff;line-height:57px;">
              <div class="page"><span><?php echo ($page); ?></span></div>
            </div>
		</div>
	</body>
</html>        
 <script>
//执行一个laydate实例
   laydate.render({
     elem: '#mon' //指定元素
	 ,type: 'month'
        });
 </script>