MINI_SHL
Current Path : D:/wwwroot/wangmei148/wwwroot/module/
Upload File :
Current File : D:/wwwroot/wangmei148/wwwroot/module/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"){
						$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;
}

?>