 <!-- include 'header' -->
 <script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/admin.js"></script>
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
				<!-- include 'menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<ul>
						<!-- include 'admin_menu' -->
					</ul>
				</div>
			</div>
			<div class="adminContent autoHeight">
				<div class="subNav">
					<!-- include 'adminReceiptMenu' -->
				</div>
					<legend>编辑执行人</legend><form method="post" action="/addCategory" name="group">
				<table class="table table-striped">
              <thead>
                <tr>
                  <th width="30%">执行人位置</th>
                  <th>成员</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
              
              
                <!-- loop execute -->
                <tr>
                  <td>{{execute' key}}</td>
                  <td>{{execute' value}}</td>
                  <td><a href="#add" id="execute_{{execute' key}}" data="{{execute' key}}" data-toggle="modal" >添加</a></td>
                </tr>
               <!-- endloop -->
              
              
			
              </tbody>
          	</table>
					</form>
			</div>
		</div>
	</div>
	<!--弹出（添加执行人）-->
	<div class="modal hide fade" id="add">
	<form method="post" action="/addExecute" name="group">
	
	 <input type="hidden" name="mold" id="mold" value="">
	
		<div class="modal-dialog">
			<div class="modal-content">
		<div class="modal-header">
			<h3>添加执行人</h3>
		</div>
		<div class="modal-body">

			<div class="control-group">
				<label class="control-label">成员</label>
				<div class="controls">
					<!-- loop staffList -->
			               <label style="display:inline">
			               <input type="checkbox" name="staff[]"  value="{{staffList' value.sid}}:{{staffList' value.username}}:{{staffList' value.avatar}}">{{staffList' value.username}}
			               </label>
			               <!-- endloop -->
				
					
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
			
			<button class="button" type="submit">确定添加</button>
			
		</div>
	</div>
	</div>
	</form>
	</div>
	<!--弹出-->
	<script type="text/javascript">autoFlashHeight();</script>
</body>