
-
帝国教程
随着PC互联网与移动互联网的不断融合、以及各类移动访问终端增加,网站移动互联越来越重要了,所以帝国CMS7.2版本在原来版本的多访问终端功能基础上,做出更多的改进,让网站多...
163

-
帝国教程
灵动索引标签调用的是附属信息表,比如tag的phome_enewstagsdata、专题的phome_enewsztinfo、碎片的phome_enewssp_2,这些表的字段有id,classid,但没有字段记录此信息是不是有标题图片。有时要用灵...
175

-
帝国教程
功能需求: 1、方向键左、右键实现打开上一篇、下一篇 2、回车键返回栏目目录。 解决方案: 将以下代码放置于内容页模板底部。 script type="text/javascript"document.onkeydown=pageEvent;var pre...
86

-
帝国教程
列表页调用tag的方法有两种,一种是切割副表的infotags字段,第二种种是从phome_enewstagsdata表中提取。如果采用tagid或tag静态化,则推荐使用第二种方法,效率更高。如果采用tagname的动态...
186

-
帝国教程
因现阶段技术限制和实际需求,有时会出现一个ftp里出现几个帝国后台的d文件夹。所以为了防止发生冲突,需要给部分d文件夹更改名字,但是这样就会出现新加文章无法上传图片的现...
100

-
帝国教程
注意,这个代码无须放在灵动标签中,直接写入模板相应的位置就行了。 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