帝国模板首页调用最新10条附件信息
在帝国cms模板首页里面调用最新10条附件信息包括包含附件名和附件大小的方法如下:[e:loop={'select * from phome_enewsfile_1 order by fileid desc limit 10',10,24,0……
在帝国cms模板首页里面调用最新10条附件信息包括包含附件名和附件大小的方法如下:
[e:loop={'select * from phome_enewsfile_1 order by fileid desc limit 10',10,24,0}]文件名:<?=$bqr['filename']?><br>文件大小:<?=$bqr['filesize']?><br>[/e:loop]
- 上一篇
帝国WAP模板二级域名伪静态规则
帝国wap模板绑定了二级域名之后,实现伪静态规则的方法如下:Options +FollowSymLinksRewriteEngine on RewriteRule ^(.*)index.html$ $1index.php RewriteRule ^(.*)list-([0-9]+)-
- 下一篇
帝国cms使用灵动标签标题属性加粗颜色失效的解决方法
把标题的灵动标签改成如下代码就可以<?=DoTitleFont($bqr[titlefont],$bqr[title])?>如果加上截取字符就是如下代码<?=DoTitleFont($bqr[titlefont],esub($bqr[title],24))?>