{php $j=1;}{loop subcat(108) $v}{php if($v['type']!=0) continue;}<div class="Our-services left marginbottom20 hidden"><h2><a href="{$v[url]}" title="{$v[catname]}">{$v[catname]}</a></h2><div class="clear hidden"><ul><div class="marginbottom10 hidden"><span class="left"><a href="{$v[url]}" title="{$v[catname]}"><img src="{$CATEGORYS[$v[catid]][image]}" title="{$v[catname]}" alt="{$v[catname]}" width="70" height="60" /></a></span><span class="right">{pc:get sql="SELECT `title`,`url`,`description` FROM `v9_news` where `posids`<>0 AND `catid`=$v[catid] ORDER BY `inputtime` DESC" num="1" return="data"}{loop $data $r}<a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut(strip_tags($r[description]),100,"...")}</a>{/loop}{/pc}</span></div>{pc:content action="lists" catid="$v[catid]" num="7" start="2" order="inputtime DESC"}{loop $data $r}<li class="height30 hidden"><span class="right f12 cdgrey">{date('m-d',$r[inputtime])}</span><a href="{$r[url]}" title="{$r[title]}"{title_style($r[style])}target="_blank">{$r[title]}</a></li>{/loop}{/pc}</ul></div></div>{$j++}{/loop}
上一篇:列表页不显示某个推荐位文章的办法
下一篇:V9站点名称的调用方法