帝国CMS灵动标签调用包含指定短语关键词关键字的文章写法!
2015-12-09 00:00:00
帝国CMS
人点赞
第一种:通过查询SQL语句的方法!
[e:loop={"select * from phome_ecms_news where title like '%墨鱼部落格%' order by newstime desc limit 10",10,24,0}]
<a href="<?=$bqs
[e:loop={"select * from phome_ecms_news where title like '%墨鱼部落格%' order by newstime desc limit 10",10,24,0}]
<a href="<?=$bqs
第一种:通过查询SQL语句的方法!
[e:loop={"select * from phome_ecms_news where title like '%墨鱼部落格%' order by newstime desc limit 10",10,24,0}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]
第二种:默认灵动标签的方法!
[e:loop={'news',10,18,0,"title like '%墨鱼部落格%'",''}]
<a href="<?=$bqsr[titleurl]?>" target="_blank"><?=$bqr[title]?></a><br>
[/e:loop]
很赞哦! (
)
相关文章
830*140广告