pc调用另外系统pc标签:
记得要添加数据源。
最新栏目文章
{pc:get sql="SELECT * FROM qybi_news WHERE catid IN (11,12) order by id DESC" cache="3600" dbsource="qybi" num="6" return="data" }
{loop $data $n $r}
<LI><A href="{$r[url]}" target=_blank>{str_cut($r[title],20,'')}</A></LI>
{/loop} {/pc}
还没有评论,来说两句吧...