<{include file="index/header.html"}> 
<div class="nav"><span>广告位列表</span></div>  
<div class="filter">
	<a href="javascript:;" onClick="edit_pst('广告位添加','?m=ad&a=postion_edit')" class="add">添加广告位</a>
</div>
<div class="main">  
	<table class="ltable">
	  	<thead>
		  	<tr>
				<th width="150">广告位标签</td> 
				<th width="300">广告位名称</td> 
				<th width="60">操作</td> 
				<th width="150">操作</td> 
				<th></th>
		  	</tr>
	  	</thead>
		<tbody>
		<{if $data.list}>
			<{foreach item=i from=$data.list}>
				<tr>
					<td><{$i.alias}></td> 
					<td><{$i.name}></td> 
					<td><{$i.px}></td>
					<td>
						<a href="javascript:;" onclick="edit_pst('广告位修改','?m=ad&a=postion_edit&id=<{$i.id}>')" class="edit">修改</a> 
						<a href="?m=ad&a=postion_del&id=<{$i.id}>" class="del">删除</a>
					</td> 
					<td></td>
				</tr>
			<{/foreach}>
		<{else}>
	  		<tr><td colspan="5">还没有数据，赶快添加吧！</td></tr>
		<{/if}>
		</tbody> 
	</table> 
	<div class="page"><{$data.page}></div>
</div>
<{include file="index/footer.html"}> 
<script type="text/javascript">
function edit_pst(name,url){  
	parent.dialog(name,url,500,150); 
} 
</script> 