Destoon调用当前模块分类及子分类
<dl>
{php $child = get_maincat(0, $CATEGORY, 1);}
{loop $child $i $c}
<dt><a href="{$MOD[linkurl]}{$c[linkurl]}">{set_style
($c[catname], $c[style])}</a></dt>
{if $c[child]}
{php $sub = get_maincat($c[catid], $CATEGORY, 2);}
<dd>{loop $sub $j $s}{if $j > 0} | {/if}<a href="{$MOD[linkurl]}
{$s[linkurl]}">{set_style($s[catname], $s[style])}</a>{/loop}</dd>
{/if}
{/loop}
</dl>
上一篇: SEO-网页内部链接优化相关
下一篇: Destoon 调用指定分类的子分类

Ah yes, nicely put, evyeonre.
I had no idea how to apoprach this before-now I’m locked and loaded.