"0") { $F_ID = $Row["p_formular"]; $PageID = $_GET["PageID"]; $File = "templates/_fman.inc.php"; OB_Start(); Include ($File); $CONTENT .= OB_Get_Contents (); OB_End_Clean (); } ElseIf ($Row["p_status"] == 4) { $CONTENT .= ShowTree (0); } } } $IDS = ""; If ($MENU_IDS) { ForEach ($MENU_IDS AS $Ind => $Val) { $IDS .= 'document.getElementById ("'.$Val.'").onmouseover = openMenu2;'; } } If ($IDS) { $IDS = ''; } $HOME = $CFG["url"]; $Pattern = Array (); $Replace = Array (); ForEach ($Macro As $Num => $Value) { Array_Push ($Pattern, "/\[".$Value."\]/"); Array_Push ($Replace, $$Value); } $Contents = Preg_Replace ($Pattern, $Replace, $mainTemplate); // MOD_REWRITE If (Preg_Match_All ("/index\.php\?PageID=([0-9]+)([\"\'\?\#\s])/", $Contents, $findPages, PREG_SET_ORDER)) ForEach ($findPages AS $fInd => $fVal) $Contents = Str_Replace ($fVal[0], $refLinksB[$fVal[1]].$fVal[2], $Contents); // MOD_REWRITE Print $Contents; ?>