帝国CMS灵动标签调用某个时间段的信息的代码写法!

免费资源网,https://freexyz.cn/

用如下方法可以实现了!

[e:loop={‘news’,10,18,0,’newstime>=’.to_time(‘2010-11-11 00:00:01′).’ and newstime<=’.to_time(‘2010-11-11 23:59:59’)}]
<a href=”<?=$bqsr[titleurl]?>” target=”_blank”><?=$bqr[title]?></a><br>
[/e:loop]

免费资源网,https://freexyz.cn/


灵动标签