- {pc:get sql="SELECT * from v9_news where status=99 and catid in(1,2,3,4,5,6,7,8) order by inputtime DESC" return="data"} {php $i==1} {loop $data $r} {if $r[thumb]!=""}
- {$n}{str_cut($r['title'],44)} {php $i++} {/if} {php if($i==5)break;} {/loop} {/pc}