'/cs/', 'en'=>'/en/', 'de'=>'/de/']; require_once __DIR__ . '/content.php'; $t = az_content('header/' . (in_array($lang, ['cs','de','en','hu'], true) ? $lang : 'cs') . '.json'); $anchors = ['#hero','#sluzby','#skladovani','#tym']; if ($branch === 'hu') { $anchors[] = '#carrier'; $t['nav'][] = $t['careers'] ?? 'Careers'; } $czBase = $SITES['cz']['base'] ?? 'https://www.alba-zochling.cz'; $huBase = $SITES['hu']['base'] ?? 'https://www.alba-zochling.hu'; if ($branch === 'cz') { $branchHome = ['cs'=>'/cs/','de'=>'/de/','en'=>'/en/']; $otherUrlMap = ['cs'=>$huBase.'/hu/','de'=>$huBase.'/de/','en'=>$huBase.'/en/']; $activeCountry = $t['cz']; $otherCountry = $t['hu']; $otherSub = 'Alba-Zöchling Kft.'; $langOrder = ['cs','en','de']; $langLabels = ['cs'=>'CS','en'=>'EN','de'=>'DE']; } else { $branchHome = ['hu'=>'/hu/','de'=>'/de/','en'=>'/en/']; $otherUrlMap = ['hu'=>$czBase.'/cs/','de'=>$czBase.'/de/','en'=>$czBase.'/en/']; $activeCountry = $t['hu']; $otherCountry = $t['cz']; $otherSub = 'Alba-Zöchling s.r.o.'; $langOrder = ['hu','en','de']; $langLabels = ['hu'=>'HU','en'=>'EN','de'=>'DE']; } $homeUrl = $branchHome[$lang]; $otherUrl = $otherUrlMap[$lang]; $logoHref = ($navPrefix === '') ? '#hero' : $homeUrl; ?>