?? navpath.php
字號:
<?php
/*
[插件名稱] 導航條信息- 替換模版導航條的{#modNavPath#}
[適用范圍] 分類檢索頁,分類內容詳情頁
[文 件 名] NavPath.php
[更新時間] 2006/7/30
*/
function NavPath(){
global $TotalCat,$ArrayPid,$ArrayCatid,$ArrayCat,$ArrayCatpath,$ClassCatch,$CatchOpen;
global $NowCatPath,$MenuInfo;
$PSET=PlusSet("modNavPath");
$target=PlusDef($PSET["target"],"_self");
$tempname=PlusDef($PSET["tempname"],"tpl_navpath.htm");
$tmpstr=LoadTemp(ROOTPATH."templates/".$MenuInfo["skin"]."/".$tempname);
if(isset($NowCatPath) && $NowCatPath!=""){
$array=explode(":",$NowCatPath);
$cpnums=sizeof($array)-1;
for($i=0;$i<$cpnums;$i++){
$arr=$array[$i]+0;
for($t=0;$t<$TotalCat;$t++){
if($ArrayCatid[$t]==$arr){
if($CatchOpen=="1" && file_exists("../class/".$ArrayCatid[$t].".html")){
$u="../class/".$ArrayCatid[$t].".html";
}else{
$u="../class/?".$ArrayCatid[$t].".html";
}
$nav.= $tmpstr." <a href='".$u."' class=nav target='".$target."'>".$ArrayCat[$t]."</a> ";
}
}
}
}
return $nav;
}
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -