<{include file="admin:common/header.html"}>

| <{$MOD.title}> | <{link ctl="product/cate:create" load="mini:添加分类" class="button" title="添加"}> |

ID | 分类 | 排序 | 操作
--- | --- | --- | ---
<{foreach $items as $item}> <{if $item.parent_id == 0}>
<{$item.cat_id}> | <{$item.cat_name}> |  | <{link ctl="product/cate:create" arg0=$item.cat_id load="mini:添加分类" class="button" title="添加二级分类"}> <{link ctl="product/cate:edit" args=$item.cat_id load="mini:修改分类" title="编辑" class="button"}> <{link ctl="product/cate:delete" args=$item.cat_id act="mini:删除" confirm="mini:确定要删除吗？" title="删除" class="button"}>
<{foreach $items as $item2}> <{if $item2.parent_id == $item.cat_id}>
<{$item2.cat_id}> | <{$item2.cat_name}> |  | <{link ctl="product/brand:bind" args=$item2.cat_id load="mini:绑定品牌" title="绑定品牌" class="button"}> <{link ctl="product/cate:edit" args=$item2.cat_id load="mini:修改分类" title="编辑" class="button"}> <{link ctl="product/cate:delete" args=$item2.cat_id act="mini:删除" confirm="mini:确定要删除吗？" title="删除" class="button"}>
<{/if}> <{/foreach}> <{/if}> <{foreachelse}>
没有数据
<{/foreach}>

全选 | <{link ctl="product/cate:update" type="button" submit="mini:#items-form" priv="hide" value="批量更新"}>

<{include file="admin:common/footer.html"}>