Files
thinksaas_lmve/app/group/html/admin/cate_list.html
T
2023-06-22 13:33:25 +08:00

58 lines
2.0 KiB
HTML

{php include pubTemplate("header_admin")}
<!--main-->
<div class="midder">
{php include template("admin/menu");}
<table class="table table-hover">
<thead class="thead-light fs14">
<tr><th>分类ID</th><th>分类名字</th><th>操作</th></tr>
</thead>
<tbody class="fs12">
{loop $arrCatess $key $item}
<tr><td>{$item[cateid]}</td><td>I、{$item[catename]}</td>
<td>
<a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=add&referid={$item['cateid']}">[添加二级分类]</a>
<a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=edit&cateid={$item[cateid]}">[修改] <a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=del&cateid={$item['cateid']}" onclick="return confirm('确定删除?')">[删除]</a></a></td></tr>
{loop $item['two'] $tkey $titem}
<tr class="odd"><td>{$titem[cateid]}</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;II、{$titem[catename]}</td>
<td>
<a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=add&referid={$titem['cateid']}">[添加三级分类]</a>
<a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=edit&cateid={$titem[cateid]}&referid=1">[修改] <a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=del&cateid={$titem['cateid']}" onclick="return confirm('确定删除?')">[删除]</a></a></td></tr>
{loop $titem['three'] $ttkey $ttitem}
<tr class="odd"><td>{$ttitem[cateid]}</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;III、{$ttitem[catename]}</td>
<td>
<!-- <a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=add&referid={$ttitem['cateid']}">[添加下级分类]</a> -->
<a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=edit&cateid={$ttitem[cateid]}">[修改] <a href="{SITE_URL}index.php?app=group&ac=admin&mg=cate&ts=del&cateid={$ttitem['cateid']}" onclick="return confirm('确定删除?')">[删除]</a></a></td></tr>
{/loop}
{/loop}
{/loop}
</tbody>
</table>
</div>
{php include pubTemplate("footer_admin")}