{if $i{$cat[catname]}{/if}
    {if $i>=count($subcat)/2}
  • {$cat[catname]}
  • {/if}