帝國(guó)CMS添加騰訊圖片展示功能建站知識(shí)
導(dǎo)讀:1建站知識(shí)帝國(guó)CMS模板網(wǎng)下面的帝國(guó)CMS教程欄目為您提供了帝國(guó)CMS添加騰訊圖片展示功能個(gè)業(yè)網(wǎng)站建設(shè)公司seo網(wǎng)站優(yōu)化。
1.修改eclasst_functions.php 添加以下紅色代碼//圖庫(kù)模型分頁(yè)標(biāo)簽function sys_PhotoMorepage($tempid,$spicwidth=0,$spicheight=0){global $navinfor;$morepic=$navinfor['morepic'];if(empty($morepic)){ return "";}//取得標(biāo)簽$tempr=sys_ReturnBqTemp($tempid);if(empty($tempr['tempid'])){return "";}$rexp="rn";$fexp="::::::";$gs="";if($spicwidth){$gs=" width='".$spicwidth."'";}if($spicheight){$gs.=" height='".$spicheight."'";}$rstr="";$sdh="";$firstpic="";$optionstr="";$titleoption="";$listpage="";$nbsp="";$rr=explode($rexp,$morepic);$count=count($rr);//自加$pictitleabout="";$rstrb="";//for($i=0;$i<$count;$i++){ $j=$i+1; $fr=explode($fexp,$rr[$i]); $smallpic=$fr[0]; //小圖 $bigpic=$fr[1]; //大圖 if(empty($bigpic)) { $bigpic=$smallpic; } $picname=htmlspecialchars($fr[2]); //名稱(chēng) $showpic=ReplaceMorePagelistvar($tempr['listvar'],$picname,$bigpic); $sdh.=$nbsp."<a href='#ecms' onclick='GotoPhPage(".$j.");' title='".$pic|name."'><img src='".$smallpic."' alt='".$picname."' border=0".$gs."></a>"; if($i==0) { $firstpic=$showpic; } $rstr.="photosr[".$j."]="".addslashes($showpic).""; "; $optionstr.="<option value=".$j.">第 ".$j." 頁(yè)</option>"; $titleoption.="<option value=".$j.">".$j."、".$picname."</option>"; $listpage.=$nbsp."<a href='#ecms' onclick='GotoPhPage(".$j.");' title='".$picname."'>".$j."</a>"; $nbsp=" "; //自加 $pictitleabout.="arrUrlName[".$i."]="".addslashes($picname)."";"; $rstrb.="arrUrl[".$i."]="".addslashes($網(wǎng)站建設(shè)教程showpic)."";"; // }echo ReplaceMorePagetemp($tempr['temptext'],$rstr,$sdh,$optionstr,$titleoption,$firstpic,$listpage,$pictitleabout,$rstrb);}//替換圖片集分頁(yè)模板function ReplaceMorePagetemp($temp,$rstr,$sdh,$select,$titleselect,$showpic,
$listpage,$pictitleabout,$rstrb){$temp=str_replace("[!--photor--]",$rstr,$temp);$temp=str_replace("[!--smalldh--]",$sdh,$temp);$temp=str_replace("[!--select--]",$select,$temp);$temp=str_replace("[!--titleselect--]",$titleselect,$temp);$temp=str_replace("[!--listpage--]",$listpage,$temp);$temp=str_replace("<!--list.var1-->",$showpic,$temp);//自加$temp=str_replace("[!--pictitleabout--]",$pictitleabout,$temp);$temp=str_replace("[!--UrlName--]",$rstrb,$temp);//return $temp;}
2.到后臺(tái)模板管理-標(biāo)簽?zāi)0謇锾砑右粋€(gè)標(biāo)簽?zāi)0屙?yè)面模板內(nèi)容(*)<script language="javascript" type="text/javascript" src="/JS/Common.js"></script><style>img{ border:0; display:inline-block; }.float_left{float:left}.float_right{float:right}.showpic_ex{width:580px; background:#F4F4F4;}.photo_bar{padding:0 10px;height:35px;background:#EBEBEB}.photo_bar dd{float:left;margin:5px}.photo_bar dt{float:right;margin:5px}#imgBox{text-align:center;padding:15px 0}#photolist{height:80px;clear:both;background:#EBEBEB}#photolist .kz{margin:10px 0;}#photolist .list li{margin:5px 10px;float:left;height:70px;width:70px}</style><div class="showpic_ex"><dl class="photo_bar"> <dd><a href="javascript:SlidePlay();" id="play_pic"><img src="/Skin/Tag
關(guān)鍵詞標(biāo)簽: CMS 騰訊 帝國(guó)
聲明: 本文由我的SEOUC技術(shù)文章主頁(yè)發(fā)布于:2023-05-22 ,文章帝國(guó)CMS添加騰訊圖片展示功能建站知識(shí)主要講述騰訊,帝國(guó),CMS網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請(qǐng)保留鏈接: http://www.bifwcx.com/article/web_4958.html
為你推薦與帝國(guó)CMS添加騰訊圖片展示功能建站知識(shí)相關(guān)的文章
-
通王TWCMS 2.0.3網(wǎng)站模板程序下載
(126)人喜歡 2024-01-15 -
Windows官方原版在哪里下載
(175)人喜歡 2024-01-15 -
WordPress網(wǎng)站模板發(fā)帖標(biāo)題顏色設(shè)置
(131)人喜歡 2024-01-07 -
修改discuz論壇帖子標(biāo)題80字符的長(zhǎng)度限制
(249)人喜歡 2024-01-07 -
wordpress程序調(diào)用不帶超鏈接的Tag標(biāo)簽
(234)人喜歡 2024-01-05 -
網(wǎng)站在不同時(shí)期需調(diào)整內(nèi)容更新的方向
(112)人喜歡 2023-08-12

目錄導(dǎo)航
熱門(mén)搜索標(biāo)簽 TAG全部標(biāo)簽
最新熱門(mén)源碼技術(shù)文章
-
WordPress網(wǎng)站模板發(fā)帖標(biāo)題顏色設(shè)置
WordPress教程當(dāng)天發(fā)布的文章日期應(yīng)該以紅色標(biāo)記/其余日期將字體 -
wordpress程序調(diào)用不帶超鏈接的Ta
想實(shí)現(xiàn)調(diào)用文章的tags標(biāo)簽作為文章頁(yè)面的keywords,可由于標(biāo)簽調(diào) -
織夢(mèng)DedeCms網(wǎng)站模板必做SEO優(yōu)化
織夢(mèng)DedeCms 織夢(mèng)網(wǎng)站SEO優(yōu)化方法國(guó)內(nèi)最強(qiáng)悍的CMS,當(dāng)選織夢(mèng)CMS,