<{include file="index/header.html"}>
<div class="nav"><span>会员等级</span></div>
<div class="filter"> 
	<a href="?m=member&a=type_edit" class="add">添加等级</a> 
</div>
<div class="main"> 
	<table class="ltable">
		<thead>
			<tr> 
				<th width="150">分类名称</th>
				<th width="150">积分数</th>
				<th width="150">操作</th> 
				<th></th>
			</tr>
		</thead>
		<tbody>
		<{if $data}> 
			<{foreach item=i from=$data}>
			<tr>
				<td><{$i.name}></td> 
				<td><{$i.integral}></td> 
				<td>
					<a href="?m=member&a=type_edit&id=<{$i.id}>" class="edit">编辑</a> 
					<a href="javascript:;" data-id="<{$i.id}>" class="del">删除</a>
				</td> 
				<td></td>
			</tr>
			<{/foreach}>
		<{else}>
	  		<tr><td colspan="4">还没有数据，赶快添加吧！</td></tr>
		<{/if}>
	</tbody>
</table> 
</div>
<{include file="index/footer.html"}>
<script type="text/javascript">
_delete('?m=member&a=type_del');
</script>