摘要: PhpCms V9调用指定栏目子栏目文章的方法第一种,直接写父类id{pc:content action="lists" catid="父类id" num="10" order="id desc"}{loop $data $r}{/loop}{/pc}第二种、直接写子栏目id ,用cat in{pc:getsql="SELECT * from v9_news where status=99and catid in(21,22,23,24,25)order by id DESC" num=&quo 阅读全文
posted @ 2014-02-10 14:01 失忆王子 阅读(468) 评论(0) 推荐(0) 编辑