{if $cat.model_id} {get model=category data=c_data fun=children(0,"$cat.model_id")} {else} {get model=category data=c_data fun=children(0,MODEL_ARTICLE_ID)} {/if}
栏目推荐
{foreach item=c key=k from=$c_data}
{$c.cname}
{if $c.child}
{foreach item=cc from=$c.child}
{$cc.cname}
{/foreach}
{/if} {/foreach}
{api data=t_c control=articleapi fun=recommend("$cat.catid",10)}

推荐文章
{foreach item=c from=$t_c}
{$c.title|cutstr:36:..}
{/foreach}