/***************************************\ Navigationsgenerator: HANDLE WITH CARE! \***************************************/ foreach($nav_tree as $v1) { if (!$skip_home) { $nav_str = "".$v1["name"]."\n"; switch($v1["level"]){ case "5": $glwv_NavLevel5 .= $nav_str; $glwv_NavLevel0Plus .= $nav_str; $glwv_NavLevel1Plus .= $nav_str; $glwv_NavLevel2Plus .= $nav_str; $glwv_NavLevel3Plus .= $nav_str; $glwv_NavLevel4Plus .= $nav_str; $glwv_NavLevel5Plus .= $nav_str; break; case "4": $glwv_NavLevel4 .= $nav_str; $glwv_NavLevel0Plus .= $nav_str; $glwv_NavLevel1Plus .= $nav_str; $glwv_NavLevel2Plus .= $nav_str; $glwv_NavLevel3Plus .= $nav_str; $glwv_NavLevel4Plus .= $nav_str; break; case "3": $glwv_NavLevel3 .= $nav_str; $glwv_NavLevel0Plus .= $nav_str; $glwv_NavLevel1Plus .= $nav_str; $glwv_NavLevel2Plus .= $nav_str; $glwv_NavLevel3Plus .= $nav_str; break; case "2": $glwv_NavLevel2 .= $nav_str; $glwv_NavLevel0Plus .= $nav_str; $glwv_NavLevel1Plus .= $nav_str; $glwv_NavLevel2Plus .= $nav_str; break; case "1": $glwv_NavLevel1 .= $nav_str; $glwv_NavLevel0Plus .= $nav_str; $glwv_NavLevel1Plus .= $nav_str; break; case "0": $glwv_NavLevel0 .= $nav_str; $glwv_NavLevel0Plus .= $nav_str; break; default: $glwv_NavLevel0Plus .= $nav_str; $glwv_NavLevel1Plus .= $nav_str; $glwv_NavLevel2Plus .= $nav_str; $glwv_NavLevel3Plus .= $nav_str; $glwv_NavLevel4Plus .= $nav_str; $glwv_NavLevel5Plus .= $nav_str; break; } } $skip_home = false; } $glwc_Smarty->assign("glwp_NavLevel0", $glwv_NavLevel0); $glwc_Smarty->assign("glwp_NavLevel0Plus", $glwv_NavLevel0Plus); $glwc_Smarty->assign("glwp_NavLevel1", $glwv_NavLevel1); $glwc_Smarty->assign("glwp_NavLevel1Plus", $glwv_NavLevel1Plus); $glwc_Smarty->assign("glwp_NavLevel2", $glwv_NavLevel2); $glwc_Smarty->assign("glwp_NavLevel2Plus", $glwv_NavLevel2Plus); $glwc_Smarty->assign("glwp_NavLevel3", $glwv_NavLevel3); $glwc_Smarty->assign("glwp_NavLevel3Plus", $glwv_NavLevel3Plus); $glwc_Smarty->assign("glwp_NavLevel4", $glwv_NavLevel4); $glwc_Smarty->assign("glwp_NavLevel4Plus", $glwv_NavLevel4Plus); $glwc_Smarty->assign("glwp_NavLevel5", $glwv_NavLevel5); $glwc_Smarty->assign("glwp_NavLevel5Plus", $glwv_NavLevel5Plus); ?> /****************************************************************************************\ For your personal PHP Code. ENJOY! \****************************************************************************************/ // echo "CUSTOM PHP"; ?>
Berufsamt der grafischen Industrie | ||
Laenggassstrasse 65 fon: +41 31 371 61 43 |
Remarque: toujours remplir les champs marqués d'un *.
© 2024 MEDIAparx AG | drucken schliessen |