栏目内容 thumb缩略图 posid推荐位
{pc:content action="position" posid="15" order="listorder DESC" thumb="1" num="5"}
{loop $data $r}
{str_cut($r[‘title‘],400)}
{$r[thumb]}
{date(‘Y-m-d‘,$r[inputtime])}
{str_cut($r[‘description‘],400)}
栏目图片调用
<img src="{$CATEGORYS[$catid][image]}" width="480" height="300" />导航调用
{pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC"}
{loop $data $r}
原文地址:http://8818968.blog.51cto.com/8808968/1919701