{section name=h1 loop=$big_categories_tree} {if $big_categories_tree[h1].categoryID != 1 && $big_categories_tree[h1].parent == 1}
  • {$big_categories_tree[h1].name} {if $big_categories_tree[h1].subcount > 0}
      {section name=h2 loop=$big_categories_tree} {if $big_categories_tree[h2].parent == $big_categories_tree[h1].categoryID}
    • {$big_categories_tree[h2].name} {if $big_categories_tree[h2].subcount > 0}
        {section name=h3 loop=$big_categories_tree} {if $big_categories_tree[h3].parent == $big_categories_tree[h2].categoryID}
      • {$big_categories_tree[h3].name}
      • {/if} {/section}
      {/if}
    • {/if} {/section}
    {/if}
  • {/if} {/section}