<!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=77"/>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/right.css?v=77"/>
        <style type="text/css">
            table td:nth-child(4){
		         text-align:center;
		         padding-left:5px;
		                         }

	    </style>
    <script language="javascript" src="<?php echo ADMIN_PUC ?>/js/jquery-1.4.2.min.js" ></script>
	</head>
	<body>
		<div class="content">
			<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 class="zengjia"  style="cursor:pointer" onmousemove="this.className='add-over'"  onmouseout="this.className='add-out'">
                  <a href="__MODULE__/Company/add" target="right" class="add-color">
                    <span class="icon-box">
                      <img src="<?php echo ADMIN_PUC ?>/img/add.png" alt="添加公司" title="添加公司" class="add-icon"/>
                    </span>
                    <span class="add-box">添加</span>
                  </a>
                </div>
                
           </div>
        <form method="POST" action="__CONTROLLER__/bdel" >
			<table border="0" cellspacing="0" cellpadding="0">
				<tr class="column-list-title">
					<td>ID</td>
					<td>公司名称</td>
                    <td>用工模式</td>
					<td>操作</td>
				</tr>
                <volist name="list" id="vo">
				<tr class="colunm-list-display" onmousemove="this.className='mouse-over'"  onmouseout="this.className='mouse-out'">
					<td>
                      <span style="float:left;height:37px;">
                         <input type="checkbox" name="bdel[]" id="" class="selall" value="{$vo.com_id} " style="height:37px;line-height:37px;margin:0;"/>
                      </span>
                      <span style="margin-left:5px;">{$vo.com_id} </span> 
                    </td>
					<td>{$vo.com_name}</td>
                    <td>{$vo.com_smode}</td>
					<td>
                    <span style="height:37px;line-height:37px;float:left;width:45%;text-align:right;">
                    <a href="__CONTROLLER__/edt/com_id/{$vo.com_id}" target="right">
                    <img src="<?php echo ADMIN_PUC ?>/img/edit.png" alt="编辑" title="编辑" style="width:27px;vertical-align:middle"/>
                    </a>
                    </span>
                    <span style="height:37px;line-height:37px;float:right;width:45%;text-align:left;">
                    <a href="__CONTROLLER__/del/com_id/{$vo.com_id}" onClick="return confirm('您确定要删除栏目吗')" target="right">
                    <img src="<?php echo ADMIN_PUC ?>/img/delete.png" alt="删除" title="删除" style="width:27px;vertical-align:middle"/>
                    </a>
                    </span> 
                    </td>
				</tr>
                </volist>
			</table>
            
           <div style="margin-top:10px;height:57px;background:#ffffff;line-height:57px;">
            <div class="bottom-list">
            <input type="checkbox"  name="" id="selall" value="" class="all-select" />
            <span class="select-title">全选</span>
            </div>
            <div style="float:left;">
            <input type="submit" value="批量删除" onClick="return confirm('您确定要删除这些栏目吗！')" onmousemove="this.className='delete-over'"  onmouseout="this.className='delete-out'"  class="dbdelete" style="cursor:pointer"/>
            </div>
            </form>
            <div class="page"><span>{$page}</span></div>
            </div>
		</div>
		</div>
	</body>
</html>
<script>
   $("#selall").click(function(){
	   if($(this).attr("checked")){
		   $(".selall").attr("checked","checked");
		   }else{
			$(".selall").removeAttr("checked");   
			   }
	   }
   
   );
</script>
