{php $CATEGORY = cache_read('category-'.$mid.'.php');}
|
{set_style($c[catname], $c[style])} {if $c[child]} {php $sub = get_maincat($c[catid], $CATEGORY, 2);} {loop $sub $j $s}{if $j < 5} {set_style($s[catname], $s[style])}{/if}{/loop} {/if} {if $c[child]} {php $sub = get_maincat($c[catid], $CATEGORY, 1);}
|
{if $i%2==1}