帝国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]
帝国CMS6.6以上版本可以用的语句:
[e:loop={'news',10,18,0,"title like '%我爱模板%'",''}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]