{foreach from=$category.0 item="item_category"}{if $item_category->is_visible == 1} id} class="selected"{/if}>{$item_category->name}{/if} {/foreach}
{foreach from=$category.$selected_root_category_id item="item_category"} {if $item_category->is_visible == 1} {/if} {/foreach}
is_child > 0}onclick="show_menu('child_category_{$item_category->id}','{$url}show_menu/{$item_category->id}/')"{/if}>{if $item_category->is_child > 0}{/if}{$item_category->name}{if $item_category->is_child > 0}{/if} {if $item_category->is_child > 0}
 
{/if}