帝国cms灵动标签显示全部所有的推荐/全部头条文章的方法
[e:loop={'selfinfo',2,0,1,'isgood>0','newstime DESC'}]
<a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a> <br>
[/e:loop]
说明:
‘isgood>0’ 即所有的推荐文章
‘firsttitle>0’ 即所有的头条文章

[e:loop={'selfinfo',2,0,1,'isgood>0','newstime DESC'}]
<a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a> <br>
[/e:loop]
说明:
‘isgood>0’ 即所有的推荐文章
‘firsttitle>0’ 即所有的头条文章

帝国制作的网站,windows系统服务器iis环境,上传大文件出现500错误怎么办?windows系统服务器中,上传大文件提示500怎么办? linux下改到iis+php后,上传大于2M就出500错,改了php.ini中的upload_max_filesize也不行,最后解决如下: 第一步:修改p...
帝国CMS记录信息发布者IP的实现,其实增加字段就可以实现. 增加“infoip”字段,infoip为记录IP的字段,只需将字段设置为录入项或投稿项,增加信息时自动存储发布者IP,字段类型用VARCHAR、长度15。是不是有点简单了呢。...
分享一种利用JS来实现支持栏目导航标签,万能标签,循环子栏目数据标签的方法。 第一步:在【模板】下面增加标签模板,标签模板内容如下: 页面模板内容(*): [!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.list...
帝国cms内容页正文附件下载的调用代码 [e:loop={"select * from phome_enewsfile_1 where classid='$navinfor[classid]' and id='$navinfor[id]' order by id desc",0,24,0,'','...
帝国cms内容页SQl方式调用当前TAG标签的方式 具体调用代码如下: <?php $fr=$empire->fetch1("select infotags from {$dbtbpre}ecms_news_data_{$navinfor[stb]} where id='$navinf...
帝国CMS默认的信息提示界面有点丑,想要修改怎么办?很简单,下面帝国cms模板网就来为大家分享: 修改文件: e/message/index.php 提示文字要改语言包 e/data/language/gb/pub/q_message.php OK!搞定!大家赶紧去试试吧!...