|
|
发表于 2011-8-29 14:54:53
|
显示全部楼层
仪器设备库
{loop $child $i $c}
{if in_array($c[catid], array(18,40,61,78,27,37))}
[I][url=]{set_style($c[catname], $c[style])}[/url][/I]
{if $c[child]}{php $sub = get_maincat($c[catid], $CATEGORY, 2);}
{loop $sub $j $s}{if $j {if $c[child]}{php $sub = get_maincat($c[catid], $CATEGORY, 3);}
{loop $sub $j $s}[url=]{set_style($s[catname], $s[style])}[/url]{/loop}
{/if}
{/if}{/loop}
是不是这段代码啊,修改哪里? |
|