欧美国产另类久热|951超碰伊人久久|伊人影视久久久久|色婷婷亚洲小电影|色东京热69XX|婷婷玖玖深爱网|加勒比东京热网站|无码A级毛片在线观看|一级a毛一级a看|中文字幕人妻欧美

帝國cms讓控制面板模板頭尾也支持標(biāo)簽調(diào)用的教程方法
來源:易賢網(wǎng) 閱讀:1694 次 日期:2014-10-20 09:39:38
溫馨提示:易賢網(wǎng)小編為您整理了“帝國cms讓控制面板模板頭尾也支持標(biāo)簽調(diào)用的教程方法”,方便廣大網(wǎng)友查閱!

找到

=============================

//解析代碼

function RepExeCode($string)

=============================

在這之前添加

//標(biāo)簽替換4

function CustomNewsBq($name,$indextext){

global $empire,$dbtbpre,$public_r,$emod_r,$class_r,$class_zr,$fun_r,$navclassid,$navinfor,$class_tr,$level_r,$etable_r;

$file=ECMS_PATH.'e/data/tmp/dt_temp'.$name.'.php';

$indextext=stripSlashes($indextext);

$indextext=ReplaceTempvar($indextext);//替換全局模板變量

//替換標(biāo)簽

$indextext=DoRepEcmsLoopBq($indextext);

$indextext=RepBq($indextext);

//寫文件

WriteFiletext($file,AddCheckViewTempCode().$indextext);

//讀取文件內(nèi)容

ob_start();

include($file);

$string=ob_get_contents();

ob_end_clean();

$string=RepExeCode($string);//解析代碼

return $string;

}

找到

WriteFiletext($file1,AddCheckViewTempCode().$r[0]);

改為

1

2

$tmplist= CustomNewsBq ("cp0",$r[0]);

WriteFiletext($file1,$tmplist);

找到

WriteFiletext($file2,AddCheckViewTempCode().$r[1]);

改為

1

2

$tmplist= CustomNewsBq ("cp1",$r[1]);

WriteFiletext($file2,$tmplist);

更多信息請查看IT技術(shù)專欄

更多信息請查看CMS教程
由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇?zhǔn)!
相關(guān)閱讀CMS教程
關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點

版權(quán)所有:易賢網(wǎng)