帝国CMS灵动标签调用某个时间段的信息的代码写法!
用如下方法可以实现了![e:loop={&#39;news&#39;,10,18,0,&#39;newstime>=&#39;.to_time(&#39;2010-11-11 00:00:01&#39;).&#39; and newstime<=&#39;.to_time(&#39;2010-11-11 23:59:59&#39;)}]<a href="<?=$bqsr[titl……
用如下方法可以实现了!
[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]
- 上一篇
帝国下载不采用弹出窗口式的修改方法
如果不采用弹出式下载的话,可依以下步骤完成:1.修改下载地址模板("公共模板" -> "修改下载地址模板"):将:[ <a href=#edown onclick="window.open('[!--down.url--]','','width=300,height=300');">[!--down.name--]</a
- 下一篇
备份数据库出现问题的解决方法
错误内容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1 解决方法:到参数设置那,把支持sql查询方式去掉