帝国CMS自定义列表调用当天发布的信息!
自定义列表调用当天发布的信息统计:select count(*) as total from [!db.pre!]ecms_news where date(FROM_UNIXTIME(newstime, '%Y%m%d' ))=curdate()查询:select * from [!db.pre!]ecms_news where date(FROM_UNIXTIME……
自定义列表调用当天发布的信息
统计:select count(*) as total from [!db.pre!]ecms_news where date(FROM_UNIXTIME(newstime, '%Y%m%d' ))=curdate()
查询:select * from [!db.pre!]ecms_news where date(FROM_UNIXTIME(newstime, '%Y%m%d' ))=curdate()
- 上一篇
帝国CMS灵动标签调用复选框字段怎么去除竖线“|”
模板内请使用这段代码:<?=esub(str_replace("|"," ",$bqr[test]),10)?>具体解析:$bqr[test] 代表灵动标签调用字段teststr_replace("|"," ",$bqr[test] 代表替换结果中的“|”为空esub(str_replace("|"," ",$
- 下一篇
帝国CMS评论自定义字段调用方法
在帝国CMS评论自定义了几个字段,比如 [!--kwpf--]字段,那么怎么在前台页面调用到帝国评论的自定义字段了。帝国CMS评论自定义字段调用教程修改/e/class/t_functions.php1、搜索:function sys_ShowPlInfo($line,$tem