- {php $cateTree = getCateTree(3,1);}
{foreach $cateTree $k $v}
- {$v['catname']}
{php $soncateTree = getCateTree($v['id'],1);}
-
{foreach $soncateTree $sonk $sonv}
- {$sonv['catname']}
{php $ssoncateTree = getCateTree($sonv['id'],1)}
-
{foreach $ssoncateTree $ssonk $ssonv}
- {$ssonv['catname']} {/foreach}
{/foreach}
{/foreach} - {$sonv['catname']}
{php $ssoncateTree = getCateTree($sonv['id'],1)}
- {mo:articlelist cid='10' type='all' row='10' return='data'}
{foreach $data $k $v}
- [{date('Y-m-d',$v['publishtime'])}] · {csubstr($v['title'],'16')} {/foreach} {/mo:articlelist}
-
{mo:articlelist pagesize='10' cid='$cid' type='all' pagenum='5' order='publishtime desc' return='data'}
{foreach $data $k $v}
- [{date('Y-m-d',$v['publishtime'])}] · {$v['title']} {/foreach} {/mo:articlelist}