亲测,帝国CMS任意版本可以通用!属于SQL查询直接输出!
话不多说,下面直接贴实例代码:
[e:loop={"select * from phome_ecms_news where title like '%免费资源网%' and checked=1 order by newstime desc limit 10",10,24,0}] <a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br> [/e:loop]