<{include file="index/header.html"}>  
<div class="nav"><span>权限模板</span></div> 
<div class="filter">  
	<a href="?m=admin&a=power_edit" class="add">添加权限模板</a> 
</div>
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr> 
				<th width="100">名称</th>
				<th width="500">描述</th>
				<th width="80">状态</th> 
				<th width="130">操作</th>
				<th width="110">添加时间</th>
				<th></th>
		  	</tr>
	  	</thead>
		<tbody>
		<{if $data}>
			<{foreach item=i from=$data}>
				<tr> 
					<td><{$i.name}></td> 
					<td><{$i.desc}></td> 
					<td><{if $i.status == '1'}>正常<{else}>停用<{/if}></td>
					<td>
						<a href="?m=admin&a=power_edit&id=<{$i.id}>" class="edit">编辑</a>
					 	<a href="javascript:;" data-id="<{$i.id}>" class="del">删除</a> 
					</td>
					<td><{$i.addtime}></td>
					<td></td>
				</tr>
			<{/foreach}>
		<{else}>
			<tr><td colspan="6">还没有数据</td></tr>
		<{/if}>
		</tbody> 
	</table>
</div>
<{include file="index/footer.html"}> 
<script type="text/javascript">
_delete('?m=admin&a=power_del');
</script>