
-
帝国教程
注意,这个代码无须放在灵动标签中,直接写入模板相应的位置就行了。 1、调用栏目名称: ?=$class_r[栏目ID]['classname']? 示例:?=$class_r[1]['classname']? ,在这种情况下,就可以正常显示栏...
80

-
帝国教程
eadminecmseditorinfoeditoreditordialog/fck_link.html 查找 input id="txtTargetFrame" style="width:100%" type="text" onkeyup="OnTargetNameChange();" onchange="OnTargetNameChange();" 改为 input id="txtTargetFrame" style="width:100%" type="...
200

-
帝国教程
?$info=$empire-fetch1("select*fromphome_enewsinfovotewhereclassid='$navinfor[classid]'andid='$navinfor[id]'");echodate("Y-m-dH:i:s",$info[infodowntime]);?...
148

-
帝国教程
[e:loop={"selecta.*,b.*from[!db.pre!]enewsfavaaLEFTJOIN[!db.pre!]enewsmemberaddbONa.userid=b.useridwhereclassid='$navinfor[classid]'andid='$navinfor[id]'",0,24,0}]liahref="!--news.url--]e/space/?userid=?=$bqr[userid]?"target="_blank"imgsrc=...
97

-
帝国教程
增加自定义字段empireselfurl,设置为增加,修改,采集,录入。 模板要调用titleurl得地方,直接调用!--empireselfurl--] 重新采集入库,解决。...
122

-
帝国教程
帝国CMS安装时出现以下错误代码 YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMariaDBserverversionfortherightsyntaxtousenear'TYPE=MYISAM' 解决方法:安装时mysql版本没有选择对,mariadb要选择mys...
121

-
帝国教程
因为!--onlinepath--]字段在副表所以先得调用出来,即下面第一行 $fr=$empire-fetch1("selectonlinepathfrom{$dbtbpre}ecms_movie_data_{$r[stb]}whereid='$r[id]'");$rr=explode(egetzy('rn'),$fr[onlinepath]);$rcount=count($rr);fo...
144

-
帝国教程
帝国CMS使用[showtags]随机颜色大小显示tags标签 在要显示TAGS的地方粘贴下列代码: div id="tags"[showtags]'',10,10,'num desc',0,'s,r','',1,''[/showtags]/divscriptvar bcolor = document.getElementById("tags").getElemen...
62

-
帝国教程
帝国CMS后台有水印功能,可以在后台参数设置中设置水印图片,但不支持前台。前台编辑器不支持水印功能。使用以下方法即可实现: 以最新版帝国CMS 7.2 utf-8 为例: 1、打开 e/class/q...
118

-
帝国教程
$fr=$empire-fetch1("selectnewstextfrom{$dbtbpre}ecms_news_data_{$r[stb]}whereid='$r[id]'");$listtemp='ahref="!--titleurl--]"!--title--]/abr副表内容字段:'.$fr[newstext].'brbr';...
180