帝国cms栏目自定义字段调用标签的方法
We'r VPS 发布于 2022-05-09
内容页和列表页调用当前栏目自定义字段的标签都是一样的,调用代码如下: <?=ReturnClassAddField(0,'自定义字段')?>
阅读(476)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
内容页和列表页调用当前栏目自定义字段的标签都是一样的,调用代码如下: <?=ReturnClassAddField(0,'自定义字段')?>
阅读(476)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
栏目别名:<?=$wapsr[classname]?> 栏目名称:<?=$class_r[$wapr[classid]][classname]?>
阅读(374)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
第一种: 1、在内容模板中获取一个播放地址可以用: 如:电影(单集) <?php $rr=explode(egetzy('rn'),$navinfor[onlinepath]); $fr=explode('::::::',$rr[0]); ?> 共<?=coun...
阅读(354)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
方法1、同时调用头条(1级、2级)、推荐(1级、2级) [e:loop={0,10,3,0,'isgood=1 or firsttitle=1 orisgood=2 or firsttitle=2'}] <a hr...
阅读(336)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
解决方法:调用当前栏目信息,栏目ID用:'selfinfo',排除当前信息标签附加sql条件参数用:"id<>'$navinfor[id]'" 举例: [e:loop={'selfinfo',10,0,0,"id<>'$navinfor[id]'"}] &...
阅读(295)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
1、调用会员发布文章数 <table> [e:loop={'SELECT userid, username, count(username) as total from [!db.pre!]ecms...
阅读(333)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
[e:loop={"select a.*,b.* from [!db.pre!]enewsfava a LEFT JOIN [!db.pre!]enewsmemberadd b ON...
阅读(355)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
当前专题页面地址 <?=$public_r[newsurl]?><?=$class_zr[$GLOBALS[navclassid]][ztpath]?> <?=$public_r[newsurl]?>网站地址 <?=$class_zr[$...
阅读(318)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
上一篇 <?php $wapsql=ewap_eloop($classid,1,0,0,'id<'.$id.'','id desc'); while($wapr=$empire->fetch($wapsql)) { ...
阅读(343)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
<?=str_replace("|"," ",$bqr[字段名])?>
阅读(396)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
调用会员头像php代码 <?php $muserid=(int)getcvar('mluserid'); $member=$empire->fetch1("select userpic from phome_enewsmemberadd&...
阅读(293)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
我们平常看到以下的样式,是怎么调用的呢 , 从图中我们看到 前面3个背景色不一样 ,后面7个颜色相同, 调用方式如下: [e:loop={1,10,0,0}] <?php if($bqno==1) { $ys=' class="on1"'; } el ...
阅读(310)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
1、在ememberloginloginjs.php中查找“ $mhavelogin=1; ”在其下面加上 $user=islogin(); 2、在“$mhavelogin=1;”下的 “//数据”下加上 $...
阅读(372)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
<? $info=$empire->fetch1("select * from phome_enewsinfovote where classid='$navinfor[classid]' and ...
阅读(330)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
1、调用所有 [e:loop={"select * from {$dbtbpre}ecms_news_doc order by id desc limit 20",0,24,0}] ...
阅读(342)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
专题标题: [!--pagetitle--] 专题简介: [!--class.intro--] 专题缩略图地址: [!--class.classimg--] 专题下文章数: <?=$empire->gettotal("select...
阅读(268)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
$fr=$empire->fetch1("select newstext from {$dbtbpre}ecms_news_data_{$r[stb]} where id='$r[id]'"); $listtemp='<...
阅读(264)评论(0)赞 (0)
We'r VPS 发布于 2022-05-09
<iframe frameborder="0" src="http://www.0djx.com/" class="iframe" frameborder="0" id="test" onload="this.height=100" width="762px" scroll...
阅读(384)评论(0)赞 (0)