<div class="lists"><ul>{pc:content action="lists" catid="$catid" num="25" order="inputtime DESC" page="$page"}{if $data}{loop $data $r}<li class="f16 gery_ico height30 hidden"><span class="right cdgrey f12">{date('Y-m-d H:i:s',$r[inputtime])}</span><a href="{$r[url]}" title="{$r[title]}"{title_style($r[style])}target="_blank">{$r[title]}</a></li>{if $n%5==0}<li class="line"></li>{/if}{/loop}{else}<font class="cdgrey">暂无数据</font>{/if}</ul></div>{if $pages}<div class="clear f12 pages hidden">{$pages}</div>{else}{/if}{/pc}
<div class="left hidden"><h3>相关文章</h3><ul>{pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="8" keywords="$rs[keywords]"}{if $data}{loop $data $r}<li class="height25 hidden"><span class="right f12 cdgrey">({date('m-d',$r[inputtime])})</span><a href="{$r[url]}" title="{$r[title]}" target="_blank"{title_style($r[style])}>{$r[title]}</a></li>{/loop}{else}<font class="cdgrey">暂无数据</font>{/if}{/pc}</ul></div>
下一篇:列表页不显示某个推荐位文章的办法