1、调用最新文章,带所在版块; {pc:get sql="SELECT a.title, a.catid, b.catid, b.catname, a.url as turl ,b.url as curl,a.id FROM `v9_news` a, `v9_category` b WHERE a.catid = b.catid ORDER BY `a`.`id` DESC "num="15" cache="300"} {loop $data $r} [{$r[catname]}] {str_cut($r['title'],26)} {/loop} ...
PHPCMS v9最实用的的标签调用方法
- 0