<{include file="index/header.html"}>
<div class="nav"><span>主题模版</span></div>
<div class="filter">
	<a href="?m=template&a=theme_edit" class="add">添加主题模板</a>
</div>
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr>
				<th width="60">编号</th>  
				<th width="200">主题名称</th>
				<th width="300">访问地址</th>
				<th width="120">操作</th>
				<th width="120">添加时间</td> 
				<th></th>
		  	</tr>
	  	</thead> 
		<tbody>
		<{if $data.list}>
			<{foreach item=i from=$data.list}>	
				<tr>
					<td><{$i.id}></td>  
					<td><{$i.name}></td>
					<td>index.php?m=goods&a=theme&id=<{$i.id}></td>
					<td>
						<a href="?m=template&a=theme_edit&id=<{$i.id}>" class="edit">编辑</a> 
						<a href="?m=template&a=theme_del&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> 
	<{if $data.page}><div class="page"><{$data.page}></div><{/if}>
</div>
<{include file="index/footer.html"}> 