{template gongqiu:admin/style}
{if $edit}

## {$_lang['edit']} {$_lang['return']}

{eval showformheader($form_url); }
{$_lang['cat_title']} |
{$_lang['mark']} |
{$_lang['status']} |
{lang gongqiu:admin_cat_htm_1} |
{$_lang['sort']} |
| {$_lang['return']}
{eval showformfooter(); }

{else}

## 1. {$_lang['admin_cat']}

ID | {$_lang['cat_title']} {if $cat_pid=='0'}({$_lang['chakan_zileibei']}){else}({$_lang['dangqian_mulu']}: $pid_cat_array[cat_title]){/if} | {$_lang['mark']} | {$_lang['status']} | {lang gongqiu:admin_cat_htm_3} | {$_lang['sort']} |
--- | --- | --- | --- | --- | --- | ---
{if $cat_array} {loop $cat_array $cat} {if $cat['cat_pid'] ==$cat_pid}
{$cat['cat_id']} | {if empty($cat['cat_pid'])}{$cat['cat_title']}{else}{$cat['cat_title']}{/if} | {$cat['cat_remarks']} | {if $cat['cat_status']}{$_lang['show']}{else}{$_lang['hide']}{/if} | {if $cat['cat_pid'] ==0}{lang gongqiu:admin_cat_htm_2}{else}{lang gongqiu:admin_cat_htm_5}{/if} | {$cat['cat_sort']} | {$_lang['edit']} | {$_lang['del']}
{/if} {/loop} {else}
{lang gongqiu:admin_cat_htm_6}
{/if}
{eval showformheader($form_url); } |  |  |  |  |  | {eval showformfooter(); }

{/if}