-
帝国cms自动刷新内容页代码
暂无
2016-11-10站长站长日志1341
-
帝国cms内容页调用正文附件下载的代码
[e:loop={"select * from phome_enewsfile_1 where classid='$navinfor[classid]' and id='$navinfor[id]' order by id desc",0,24,0,'',''}]
2016-11-04站长站长日志1359
-
帝国cms内容页SQl方式调用当前TAG标签
本文是介绍的帝国cms内容页SQl方式调用当前TAG标签的方式 具体调用代码如下:<?php $fr=$empire->fetch1("select infotags from {$dbtbpre}ecms_news_data_{$navinfor[stb]} where id='$navinfo
2016-10-27站长站长日志1630
-
帝国cms在内容页模板里添加错误报告链接
内容模板加错误报告
2016-09-27站长站长日志1255
-
帝国cms采集排除重复链接重复标题、内容为空的文章
1、后台--栏目--采集管理2、增加采集节点,选定栏目进入后(或 管理采集节点,点击修改后),进入的页面--有一项一项的蓝色标题卡,3、①其中有一个为"附加选项"的选项是否重复采集同一链接: □重复采集(不
2016-09-25站长站长日志1685
-
在帝国cms列表页调用内容页内容字段newstext
$fr=$empire->fetch1("select newstext from {$dbtbpre}ecms_news_data_{$r[stb]} where id='$r[id]'"); $listtemp='!--title--] 副表内容字
2016-08-30站长站长日志1473
-
帝国cms 电影在内容页和列表页调用真实地址的方法
第一种:1、在内容模板中获取一个播放地址可以用:如:电影(单集)<?php $rr=explode(egetzy('rn'),$navinfor[onlinepath]); $fr=explode('::::::',$rr[0]); ?> 共<?=count($rr)?>集 第<?=$fr[0]?>集
2016-08-28站长站长日志1301
-
帝国cms内容页模板点击量数值过万时,换成万为单位
比如:点击量的数值过万时怎样变成 如: 10009变成1.09万可以用:<?=$navinfor[onclick]>=10000?($navinfor[onclick]/10000)."万":$navinfor[onclick]?>
2016-08-25站长站长日志1351
-
帝国cms wap模板内容页调用上一篇 下一篇连接
上一篇<?php $wapsql=ewap_eloop($classid,1,0,0,'id
2016-08-22站长站长日志1320
-
帝国cms内容页文章字数统计
1、<?=strlen($navinfor[newstext])?>统计:8022 个字2、<?=strlen(strip_tags($navinfor[newstext]))?>加上过滤后统计:1559 个字3、<?=strlen(htmlspecialchars(strip_tags(str_replace(' '
2016-08-15站长站长日志1157
-
帝国cms内容页模板显示作者
作者为空,则不输出任何内容<? if($navinfor['writer']=="") { echo ''; } else{ echo '作者:'.$navinfor[writer].''; } ?>或者输出其他<? if($navinfor['writer']=="") { echo '占
2016-08-12站长站长日志1316
-
帝国cms 打开内容页显示 There was a problem with the request
我们浏览内容的时候 弹出一个对话框,显示 There was a problem with the request,是因为我们用了帝国官方提供的内容页评论AJAX分页显示插件,后台系统设置 设置的域名与我们浏览内容页显示的域名不
2016-08-06站长站长日志1250
-
帝国cms内容页调用下线时间代码
<? $info=$empire->fetch1("select * from phome_enewsinfovote where classid='$navinfor[classid]' and id='$navinfor[id]'"); echo date("Y-m-d H:i:s",$info[infodown
2016-07-30站长站长日志1614
-
在帝国cms内容页里调用收藏该内容的会员信息
[e:loop={"select a.*,b.* from [!db.pre!]enewsfava a LEFT JOIN [!db.pre!]enewsmemberadd b ON a.userid=b.userid where classid='$navinfor[classid]' and id='$navin
2016-07-02站长站长日志1329
-
在帝国cms内容页模板显示该信息的下线时间
<? $info=$empire->fetch1("select * from phome_enewsinfovote where classid='$navinfor[classid]' and id='$navinfor[id]'"); echo date("Y-m-d H:i:s",$info[infodownt
2016-07-02站长站长日志1279
-
帝国CMS二次开发列表页、内容页只调用年份
帝国cms列表页只调用年份:问题已解决,带入如下,list.var中记得勾选使用程序代码.date(Y,strtotime($r[up_date])).帝国cms内容页只调用年份:试了多种方法,最终成功了<?php echo date(Y,strtotime($nav
2015-05-19站长站长日志1255
-
帝国CMS内容页实现键盘翻页的方法
功能需求:1、方向键左、右键实现打开上一篇、下一篇2、回车键返回栏目目录。解决方案:将以下代码放置于内容页模板底部。document.onkeydown=pageEvent;var prevpage="!--news.url--]e/public/Got
2015-03-10站长站长日志1569
-
帝国CMS内容页获取图集图片数量代码
<?php$sl=empty($navinfor[morepic])?0:count(explode(chr(13),$navinfor[morepic]));echo $sl;?>
2015-02-03站长站长日志1286
-
帝国CMS7.0多值字段在内容页模板的调用方法
<?php $daxiao=explode('||||||',$navinfor[daixiao360]); foreach($daxiao as $k=>$v) {$daxiao2=explode('::::::',$v); echo ''.$daxiao2[0].' '.$daxiao2[1].'
2014-11-13站长站长日志1590
-
帝国cms7.0内容页模板实现多背景tag标签
调用代码 加到内容页模板里<?php$ecms_bq_sql=sys_ReturnEcmsLoopBq("select * from [!db.pre!]enewstagsdata where classid='$navinfor[classid]' and id='$navinfor[id]' order by t
2014-11-11站长站长日志1236
-
帝国CMS在内容模板里控制内容简介smalltext显示字数
帝国CMS的内容简介通常都是自动截取200个字符的。但有时我们希望在内容模板中不需要显示这么多,只要显示几十个字,那么可以使用以下代码截取显示:<?=esub($navinfor[smalltext],字数)?>
2014-09-21站长站长日志1660
-
帝国CMS 批量修改字段内容
update phome_ecms_download set titleurl=replace(titleurl,'http://www.daixiao360.cn','http://127.0.0.1');update phome_ecms_download set titlepic=replace(titlepi
2014-09-21站长站长日志1536
-
内容页或灵动标签支持标题属性
内容页:<?=DoTitleFont($navinfor[titlefont],$navinfor[title])?>灵动标签:<?=DoTitleFont($bqr[titlefont],$bqr[title])?>标题截取字数+标题属性:<?=DoTitleFont($bqr[titlefont],esub($bq
2014-09-21站长站长日志1129
-
帝国cms会员中心根据会员组显示不同内容
会员组ID获取用:$tmgetgroupid=(int)getcvar('mlgroupid');例子:<?php$tmgetgroupid=(int)getcvar('mlgroupid');if($tmgetgroupid==1){?>会员组ID=1时显示<?php}elseif($tmgetgroupid==2)
2014-08-26站长站长日志1638
-
帝国CMS二次开发调用另一个数据库内容方法
测试且已成功,代码如下。e:loop={"select * from 另一个数据库名.phome_ecms_news where classid=58 and isgood=1 order by id desc limit 6",0,24,0}]多栏目ID要用:classid in (1,2,3)
2014-08-14站长站长日志1292
您现在的位置是:首页 > TAG信息列表 > 内容