帝国CMS调用包含指定短语关键词关键字文章列表方法
2015-05-26 00:00:00
帝国CMS
人点赞
帝国CMS任意版本可以用!属于SQL直接输出!
[e:loop={"select * from phome_ecms_news where title like '%墨鱼部落%' and checked=1 order by newstime desc limit 10",10,2
[e:loop={"select * from phome_ecms_news where title like '%墨鱼部落%' and checked=1 order by newstime desc limit 10",10,2
帝国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]
很赞哦! (
)
相关文章
-
无相关信息
830*140广告