{$menu}
{block_decorator name="box" iconClass="ow_ic_add" langLabel="helpcenter+add_category_heading"} {form name='add_category'}

{label name='name'}

{input name='name'}{error name='name'}

{desc name='name'}

{label name='description'}

{input name='description'}{error name='description'}

{desc name='description'}

{label name='parent'}

{input name='parent'}{error name='parent'}

{desc name='parent'}

{submit name='addCat'}
{/form} {/block_decorator}
{foreach from=$categories item='category'} {foreach from=$category->children item='child'} {foreach from=$child->children item='grandChild'} {/foreach} {/foreach} {/foreach}
{text key="helpcenter+admin_category_name_th"} {text key="helpcenter+admin_category_desc_th"} {text key="helpcenter+admin_category_count_th"}

{$category->name}

{$category->desc} {$category->count}

— {$child->name}

{$child->desc} {$child->count}

—— {$grandChild->name}

{$grandChild->desc} {$grandChild->count}