$value){ if(in_array($geo, $value['countries'])){ $possible_groups[] = $dg; } } $german_groups = array( '1041' => 8930, '1023' => 8853, '1059' => 8842, '986' => 8931, '100608' => 8844 ); if(count($possible_groups) == 1){ $selected_group_id = $deployment_groups[$possible_groups[0]]['id']; }elseif(array_key_exists($_GET['location'], $german_groups)){ $selected_group_id = $german_groups[$_GET['location']]; } } }else{ if(!isset($_SESSION['user_region'])){ $location_id = ""; }else { if (array_key_exists('id', $_SESSION['user_region']['location']) && array_key_exists($_SESSION['user_region']['location']['id'],$locations)) { $location_id = $_SESSION['user_region']['location']['id']; }else{ $location_id = ""; } } if($selected_group_id && array_key_exists('location', $deployment_groups[$selected_group_id])){ $location_id = $deployment_groups[$selected_group_id]['location']; } } if (isset($_GET["sessdebug"]) ) { echo "
-------------------BEGIN SESSION DUMP------------------------------\r\n";
		echo "Ermittlung der Variablen\r\n";
		echo "$geo\r\n";
		var_dump($geo);
		echo "$pref_lang\r\n";
		var_dump($pref_lang);
		echo "$location_id\r\n";
		var_dump($location_id);
		echo "$selected_group_id\r\n";
		var_dump($selected_group_id);	
		echo "CookieParams\r\n";
		var_dump(session_get_cookie_params());	
		echo "-------------------END SESSION DUMP--------------------------------\r\n";
		echo "
"; } //Feststellung, ob Session gesetzt werden muss if(!isset($_SESSION['user_region'])) { if (isset($_GET["sessdebug"]) ) { echo "
-------------------BEGIN SESSION DUMP------------------------------\r\n";
			echo "keine Session\r\n";
			echo "-------------------END SESSION DUMP--------------------------------\r\n";
			echo "
"; } //sofern die Session noch nicht gesetzt wurde $setSession = true; } else { //sofern sich die Sprache geändert hat if ($pref_lang !== $_SESSION['user_region']['pref_lang']) { $setSession = true; } //sofern die Session gesetzt wurde, aber der Code nicht übereinstimmt if (isset($geo) && $geo !== $_SESSION['user_region']['country']) { $setSession = true; $_SESSION['user_region']['selected_group'] = array(); } //sofern die Session gesetzt wurde, aber die Location nicht übereinstimmt if (array_key_exists('id', $_SESSION['user_region']['location'])) { if ($location_id !== $_SESSION['user_region']['location']['id']) { $setSession = true; } } elseif ($location_id !== "") { $setSession = true; } //sofern die Session gesetzt wurde, aber die DeploymentGroup nicht übereinstimmt if (array_key_exists('id', $_SESSION['user_region']['selected_group'])) { if ($selected_group_id !== $_SESSION['user_region']['selected_group']['id']) { $setSession = true; } } elseif ($selected_group_id !== "") { $setSession = true; } } if($setSession == true){ $location = array(); $selected_group = array(); if ($location_id !== "" && array_key_exists($location_id, $locations)) { $location= $locations[$location_id]; }elseif(!empty($_SESSION['user_region']['location']) && $location_id == $_SESSION['user_region']['location']['id']){ $location = $_SESSION['user_region']['location']; } if ($selected_group_id !== "" && array_key_exists($selected_group_id, $deployment_groups)) { $selected_group = $deployment_groups[$selected_group_id]; }elseif(!empty($_SESSION['user_region']['selected_group']) && $selected_group_id == $_SESSION['user_region']['selected_group']['id']){ $selected_group = $_SESSION['user_region']['selected_group']; } $_SESSION['user_region'] = array('selected_group' => $selected_group, 'country' => $geo, 'location' => $location, 'pref_lang' => $pref_lang); } if (isset($_GET["sessdebug"]) ) { echo "
-------------------BEGIN SESSION DUMP------------------------------\r\n";
		var_dump($_SESSION['user_region']);
		echo "-------------------END SESSION DUMP--------------------------------\r\n";
		echo "
"; } $deployment_groups['188408']['links'] = array(); $deployment_groups['188408']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['AR'] = '/ar/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['FR'] = '/fr/de-serie/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['TR'] = '/tr/ueruenler/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['RU'] = '/ru/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['UK'] = '/uk/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['RO'] = '/ro/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['HU'] = '/hu/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['ES'] = '/es/productos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188408']['links']['PT'] = '/pt/produtos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188152']['links'] = array(); $deployment_groups['188152']['links']['ES'] = '/es/productos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188152']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188152']['links']['NL'] = '/nl/producten/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188152']['links']['FR'] = '/fr/de-serie/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188152']['links']['PT'] = '/pt/produtos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links'] = array(); $deployment_groups['188472']['links']['DE'] = '/de/produkte/gebrauchtmaschinen/angebotsanfrage-dankeseite.html'; $deployment_groups['188472']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['IT'] = '/it/prodotti/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['SV'] = '/sv/produkter/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['ES'] = '/es/productos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['PT'] = '/pt/produtos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['NO'] = '/no/produkter/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['NL'] = '/nl/producten/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['FR'] = '/fr/de-serie/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['DA'] = '/da/produkter/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['FI'] = '/fi/tuotteet/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['HU'] = '/hu/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['AR'] = '/ar/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['SK'] = '/sk/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['SR'] = '/sr/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['RO'] = '/ro/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['PL'] = '/pl/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['UK'] = '/uk/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['TR'] = '/tr/ueruenler/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['SQ'] = '/sq/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['LT'] = '/lt/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['LV'] = '/lv/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['ET'] = '/et/tooted/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['CS'] = '/cs/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['BG'] = '/bg/produkte/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['RU'] = '/ru/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188472']['links']['JA'] = '/ja/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188024']['links'] = array(); $deployment_groups['188024']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188088']['links'] = array(); $deployment_groups['188088']['links']['EN-US'] = '/en-us/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188088']['links']['ES'] = '/es/productos/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188088']['links']['FR'] = '/fr/de-serie/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188344']['links'] = array(); $deployment_groups['188344']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188344']['links']['FR'] = '/fr/de-serie/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links'] = array(); $deployment_groups['188280']['links']['UZ'] = '/uz/products/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['TH'] = '/th/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['RU'] = '/ru/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['ZH-TW'] = '/zh-tw/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['ZH'] = '/zh/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['KK'] = '/kk/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['TR'] = '/tr/ueruenler/gebrauchtmaschinen/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['188280']['links']['FA'] = '/fa/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['187960']['links'] = array(); $deployment_groups['187960']['links']['ZH'] = '/zh/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; $deployment_groups['187960']['links']['EN'] = '/en/products/used-equipment/gebrauchtmaschinen-angebot-danke.html'; ?> Gebrauchtmaschinen Angebotsanfrage - HAMM AG
DE EN
'Ihr Standort', 'headline' => 'Sie sind aus {{country}}?', 'text' => 'Dann klicken Sie hier um das lokale Produktprogramm zu öffnen.', 'alt_productprogramme' => 'Alternatives Produktprogramm öffnen.', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Wir freuen uns auf den Dialog mit Ihnen!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Ihr Standort', 'sasww_headline' => 'Ihr Standort konnte leider nicht ermittelt werden.', 'sasww_text' => 'Klicken Sie hier, um Ihren zuständigen Ansprechpartner zu finden:', 'sasww_linktext' => 'Alternatives Produktprogramm öffnen', 'sasww_ref' => '/de/produkte~1/alternatives-produktprogramm.php', ); $teaser['EN'] = array( 'region_tab' => 'Your location', 'headline' => 'Your location is in {{country}}?', 'text' => 'Click here to open the line of products of our sales and service company for your relevant region:', 'alt_productprogramme' => 'Open the line of products of another location.', 'contact_tab' => 'Contact', 'contact_headline' => 'We look forward to talking to you!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Your location', 'sasww_headline' => 'Your location is in {{country}}?', 'sasww_text' => 'Click here to find your contact person:', 'sasww_linktext' => 'Sales and Service worldwide', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['FR'] = array( 'region_tab' => 'Vous trouvez', 'headline' => 'Vous vous trouvez en/au {{country}} ?', 'text' => 'Veuillez cliquer ici pour ouvrir la gamme de produits de la succursale de vente et de service de votre région.', 'alt_productprogramme' => 'Ouvrir une autre gamme de produits', 'contact_tab' => 'Nous contacter', 'contact_headline' => 'Nous nous réjouissons par avance de vous rencontrer!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Vous trouvez', 'sasww_headline' => 'Vous vous trouvez en/au {{country}} ?', 'sasww_text' => 'Cliquez ici pour trouver votre interlocuteur : Vente et service dans le monde', 'sasww_linktext' => 'L’organisation commerciale et l’offre de service', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['IT'] = array( 'region_tab' => 'La vostra sede', 'headline' => 'La vostra sede è in {{country}}?', 'text' => 'Cliccare qui per aprire la gamma di prodotti della nostra società di vendita e assistenza competente per la Vostra zona.', 'alt_productprogramme' => 'Aprire una gamma di prodotti alternativa.', 'contact_tab' => 'Contatti', 'contact_headline' => 'Non esitate a contattarci!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'La vostra sede', 'sasww_headline' => 'La vostra sede è in {{country}}?', 'sasww_text' => 'Cliccare qui per trovare il referente competente: vendita e assistenza in tutto il mondo', 'sasww_linktext' => 'Organizzazione di vendita e assistenza', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['ES'] = array( 'region_tab' => 'Reside', 'headline' => '¿Reside en {{country}}?', 'text' => 'Oprima aquí para abrir la gama de productos de la empresa relevante en ventas y servicios.', 'alt_productprogramme' => 'Abrir gama alternativa de productos.', 'contact_tab' => 'Contacto', 'contact_headline' => '¡Esperamos conversar con usted!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'La vostra sede è in <Paese>?', 'sasww_headline' => '¿Reside en {{country}}?', 'sasww_text' => 'Prima aquí para encontrar el contacto relevante: ventas y servicio en todo el mundo.', 'sasww_linktext' => 'Ventas y servicio en todo el mundo', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['PT'] = array( 'region_tab' => 'Você', 'headline' => 'Você está em {{country}}?', 'text' => 'Clique aqui para abrir a linha de produtos da nossa empresa de vendas e assistência responsável.', 'alt_productprogramme' => 'Abrir linha de produtos alternativa.', 'contact_tab' => 'Contato', 'contact_headline' => 'Estamos ansiosos para falar com você!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Você', 'sasww_headline' => 'Você está em{{country}}?', 'sasww_text' => 'Clique aqui para encontrar a pessoa para contato responsável: Vendas e assistência em todo o mundo', 'sasww_linktext' => 'Vendas e Assistência Técnica em todo o mundo', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['EN-US'] = array( 'region_tab' => 'Your location', 'headline' => 'Your location is in {{country}}?', 'text' => 'Click here to open the line of products of our sales and service company for your relevant region:', 'alt_productprogramme' => 'Open the line of products of another location.', 'contact_tab' => 'Contact', 'contact_headline' => 'We look forward to talking to you!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Your location', 'sasww_headline' => 'Your location is in {{country}}?', 'sasww_text' => 'Click here to find the relevant contact: sales and service worldwide', 'sasww_linktext' => 'Sales and Service worldwide', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['RU'] = array( 'region_tab' => 'Вы находитесь', 'headline' => 'Вы находитесь в {{country}}?', 'text' => 'Щелкните здесь, чтобы открыть прогрумму поставок нашего представительства по сбыту и сервису.', 'alt_productprogramme' => 'Открыть альтернативную программу поставок.', 'contact_tab' => 'Контакты', 'contact_headline' => 'Мы рады переговорить с Вами!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Вы находитесь', 'sasww_headline' => 'Вы находитесь в {{country}}?', 'sasww_text' => 'Щелкните здесь, чтобы найти компетентное контактное лицо: сбыт и сервис по всему миру', 'sasww_linktext' => 'От продажи машины до ее сервисного обслуживания', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['ZH'] = array( 'region_tab' => '您的所在地', 'headline' => '您的所在地 {{country}}?', 'text' => '请点击这里打开我们销售及服务公司的产品目录。', 'alt_productprogramme' => '打开其它产品信息', 'contact_tab' => '联系方式', 'contact_headline' => '我们期待着与您对话!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => '您的所在地', 'sasww_headline' => '您的所在地 {{country}}?', 'sasww_text' => '请点击这里查找相关联系人:全球销售及服务', 'sasww_linktext' => '我们的销售及服务组织架构', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['BG'] = array( 'region_tab' => 'Вашата локация', 'headline' => 'Вашата локация е в {{country}}?', 'text' => 'Кликнете тук, за да отворите продуктовата програма на съответното ни дружество за продажби и сервиз', 'alt_productprogramme' => 'Отвори алтернативна продуктова програма', 'contact_tab' => 'Контакт', 'contact_headline' => 'Ще се радваме да разговаряме с Вас!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Вашата локация', 'sasww_headline' => 'Вашата локация е в {{country}}?', 'sasww_text' => 'Кликнете тук, за да намерите лице за контакт: продажби и сервиз в цял свят', 'sasww_linktext' => 'Нашият пласмент и сервиз', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['CS'] = array( 'region_tab' => 'Vaše sídlo', 'headline' => 'Vaše sídlo je v {{country}}?', 'text' => 'Klikněte sem pro otevření produktového programu naší kompetentní společnosti pro prodej a servis.', 'alt_productprogramme' => 'Otevřít alternativní produktový program.', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Těšíme se na rozhovor s Vámi!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Vaše sídlo', 'sasww_headline' => 'Vaše sídlo je v {{country}}?', 'sasww_text' => 'Klikněte sem pro nalezení kompetentní kontaktní osoby: Celosvětový prodej a servis', 'sasww_linktext' => 'Náš prodej a servis', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['DA'] = array( 'region_tab' => 'Deres placering', 'headline' => 'Deres placering er i {{country}}?', 'text' => 'Klik her for at åbne vores produktprogram.', 'alt_productprogramme' => 'Åben alternativt produktprogram', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Vi er glade for dialogen med Dem!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Deres placering', 'sasww_headline' => 'Deres placering er i {{country}}?', 'sasww_text' => 'Klik her for at finde den rette person: global salg og service', 'sasww_linktext' => 'Vor salgs- og service organisation', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['ET'] = array( 'region_tab' => 'Teie asukoht', 'headline' => 'Teie asukoht on {{country}}?', 'text' => 'Klikkige siia, et avada asjakohase müügi- ja teenindusettevõtte tooteprogramm.', 'alt_productprogramme' => 'Avage alternatiivne tooteprogramm.', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Võtke meiega ühendust!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Teie asukoht', 'sasww_headline' => 'Teie asukoht on {{country}}?', 'sasww_text' => 'Klikkige siia, et leida asjakohane kontakt: Müük ja teenindus üle kogu maailma', 'sasww_linktext' => 'Meie müük', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['FI'] = array( 'region_tab' => 'Sinun kotipaikkasi', 'headline' => 'Sinun sinun kotipaikkasi {{country}}?', 'text' => 'Klikkaamalla tästä löydät toimivat myynti- ja huoltoyhtiöt.', 'alt_productprogramme' => 'Avaa vaihtoehtoinen tuoteryhmä', 'contact_tab' => 'Ota yhteyttä', 'contact_headline' => 'Odotamme yhteydenottoasi!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Sinun kotipaikkasi', 'sasww_headline' => 'Sinun sinun kotipaikkasi {{country}}?', 'sasww_text' => 'Klikkaamalla tästä löydät toimivat myynti- ja huoltoyhtiöt.', 'sasww_linktext' => 'Myynti- ja huolto-organisaatiomme', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['HU'] = array( 'region_tab' => 'Az Ön elhelyezkedés', 'headline' => 'Az Ön tartozkodási helye {{country}}?', 'text' => 'Kattintson ide, hogy értékesítési- és szervizrészlegünk termékprogramját megnyissa.', 'alt_productprogramme' => 'Alternatív termékprogram megnyitása', 'contact_tab' => 'Elérhetőség', 'contact_headline' => 'Várjuk az Önnel folytatandó beszélgetést!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Az Ön elhelyezkedés', 'sasww_headline' => 'Az Ön tartozkodási helye {{country}}?', 'sasww_text' => 'Kattintson ide, hogy értékesítési- és szervizrészlegünk illetékes kollégáját elérje', 'sasww_linktext' => 'Értékesítés és szerviz', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['JA'] = array( 'region_tab' => 'にお住まいですか', 'headline' => '{{country}} にお住まいですか?', 'text' => '関連する販売およびサービス会社の製品範囲を開くには、ここをクリックしてください。', 'alt_productprogramme' => '別の製品範囲を開きます。', 'contact_tab' => '連絡先', 'contact_headline' => 'ご連絡お待ちしております!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'にお住まいですか', 'sasww_headline' => '{{country}} にお住まいですか?', 'sasww_text' => '世界中の販売およびサービスについて関連する連絡先を探すには、ここをクリックしてください。', 'sasww_linktext' => '販売・サービス組織', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['KK'] = array( 'region_tab' => 'Сіз қай', 'headline' => 'Сіз қай {{country}}?', 'text' => 'Біздің өкілдігіміздің өткізу және сервис бойынша жеткізілімдер бағдарламамызды ашу үшін осында шертіңіз.', 'alt_productprogramme' => 'Жеткізілімдердің альтернативті бағдарламасын ашу.', 'contact_tab' => 'Контакттер', 'contact_headline' => 'Сізбен хабарласқанымызға қуаныштымыз!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Сіз қай', 'sasww_headline' => 'Сіз қай {{country}}?', 'sasww_text' => 'Құзыретті қатынау тұлғасын табу үшін осында шертіңіз: күллі әлем бойынша өткізу және сервис', 'sasww_linktext' => 'Машиналарды сатудан оған сервистік қызмет көрсетуге дейін', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['LT'] = array( 'region_tab' => 'Jūsų vieta', 'headline' => 'Jūsų vieta yra {{country}}?', 'text' => 'Spauskite čia norėdami rasti susijusių kompanijų pasiūlymus', 'alt_productprogramme' => 'Pradėti papildomą produkto paieška', 'contact_tab' => 'Kontaktai', 'contact_headline' => 'Mus džiugina su jumis užsimezgęs dialogas!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Jūsų vieta', 'sasww_headline' => 'Jūsų vieta yra {{country}}?', 'sasww_text' => 'Spauskite čia norėdami sužinoti kontaktinę informaciją: pardavimų ir paslaugų vietos pasauliniu mąstu.', 'sasww_linktext' => 'Mūsų pardavimo ir serviso tarnybos', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['LV'] = array( 'region_tab' => 'Jūsu atrašanās vieta', 'headline' => 'Jūsu atrašanās vieta ir {{country}}?', 'text' => 'Leklikšķiniet šeit, lai atvērtu kompotentu mūsu ražošanas un servisa produktu programmu.', 'alt_productprogramme' => 'Atvērt alternatīvo produktu programmu', 'contact_tab' => 'Kontakti', 'contact_headline' => 'Esam atvērti dialogam!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Jūsu atrašanās vieta', 'sasww_headline' => 'Jūsu atrašanās vieta ir {{country}}?', 'sasww_text' => 'Leklikšķiniet šeit, lai atrastu kompotentu sarunu partneri: servisa un ražošanas jautājumos pasaulē', 'sasww_linktext' => 'Mūsu pārdošanas un servisa organizācija', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['NL'] = array( 'region_tab' => 'Uw locatie', 'headline' => 'Uw locatie is in {{country}}?', 'text' => 'Klik hier om het leveringsprogramma van het betreffende verkoop- en servicebedrijf te openen.', 'alt_productprogramme' => 'Open alternatieve leveringsprogramma', 'contact_tab' => 'Contact', 'contact_headline' => 'Wij zouden u graag eens willen spreken!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Uw locatie', 'sasww_headline' => 'Uw locatie is in {{country}}?', 'sasww_text' => 'Klik hier om de relevante contactgegevens te vinden: verkoop en service wereldwijd', 'sasww_linktext' => 'Onze verkoop en onze service', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['NO'] = array( 'region_tab' => 'Deres plassering', 'headline' => 'Deres plassering {{country}}?', 'text' => 'Klikk her for å åpne produktprogrammet for det aktuelle salgs og servicefirmaet.', 'alt_productprogramme' => 'Åpne alternative produktprogram', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Vi gleder oss over dialogen med deg!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Deres plassering', 'sasww_headline' => 'Deres plassering {{country}}?', 'sasww_text' => 'Klihh her for å finne den ansvarlige kontakten: salg og service worldwide', 'sasww_linktext' => 'Vårt salg og vår service', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['PL'] = array( 'region_tab' => 'Państwa zakład', 'headline' => 'Państwa zakład znajduje się w {{country}}?', 'text' => 'Kliknąć tutaj, aby otworzyć paletę produktów oferowanych przez naszą spółkę handlową lub serwisową.', 'alt_productprogramme' => 'Otwórz alternatywny program produkcji', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Czekamy na Ciebie!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Państwa zakład', 'sasww_headline' => 'Państwa zakład znajduje się w {{country}}?', 'sasww_text' => 'Kliknąć tutaj, aby znaleźć kompetentą osobę do kontaktu: sprzedaż i serwis na całym świecie', 'sasww_linktext' => 'Nasza sprzedaż i serwis', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['RO'] = array( 'region_tab' => 'Your location', 'headline' => 'Locaţia Dvs. este în <ţara>', 'text' => 'Apăsaţi aici pentru gama de produse a filialelor proprii Wirtgen Group.', 'alt_productprogramme' => 'Deschideţi gama de produse alternative', 'contact_tab' => 'Contact', 'contact_headline' => 'Aşteptăm cu plăcere dialogul cu dumneavoastră!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Your location', 'sasww_headline' => 'Locaţia Dvs. este în <ţara>', 'sasww_text' => 'Apăsaţi aici pentru persoana de contact responsabilă:', 'sasww_linktext' => 'vânzări şi service la nivel mondial', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['SK'] = array( 'region_tab' => 'Vaše sídlo', 'headline' => 'Vaše sídlo je v {{country}}?', 'text' => 'Kliknite sem pre otvorenie produktového programu našej príslušnej spoločnosti pre predaj a servis.', 'alt_productprogramme' => 'Otvoriť alternatívny produktový program.', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Tešíme sa na rozhovor s Vami!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Vaše sídlo', 'sasww_headline' => 'Vaše sídlo je v {{country}}?', 'sasww_text' => 'Kliknite sem pre vyhľadanie kompetentnej kontaktnej osoby: Celosvetový predaj a servis', 'sasww_linktext' => 'Náš predaj a náš servis', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['SQ'] = array( 'region_tab' => 'Lokacioni', 'headline' => 'Lokacioni i jonë është në {{country}}?', 'text' => 'Kliko këtu për të hapë gamën e produkteve të kompanisë shitëse dhe servisuese relevante.', 'alt_productprogramme' => 'Hap gamën alternative të produktit', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Me padurim presim të bisedojmë me ju!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Lokacioni', 'sasww_headline' => 'Lokacioni i jonë është në {{country}}?', 'sasww_text' => 'Kliko këtu për të gjetë kontaktin relevant: shitjet dhe servisimin në botë', 'sasww_linktext' => 'Organizimi ynë i shitjes dhe servisimit', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['SR'] = array( 'region_tab' => 'Vaše odredište', 'headline' => 'Vaše odredište je {{country}}?', 'text' => 'Kliknite ovde, da bi otvorili program proizvoda naših ovlašćenih preduzeća za prdaju i servis.', 'alt_productprogramme' => 'Otvori alternativni program proizvoda', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Radujemo se razgovoru sa Vama!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Vaše odredište', 'sasww_headline' => 'Vaše odredište je {{country}}?', 'sasww_text' => 'Klikni ovde za pronalaženje kontakt osobe: prodaja i servis širom sveta', 'sasww_linktext' => 'Organozacija prodaje i servisa', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['SV'] = array( 'region_tab' => 'Ditt', 'headline' => 'Ditt {{country}}?', 'text' => 'Klicka här för att öppna produktprogrammet för relevant försäljnings- och servicekontor.', 'alt_productprogramme' => 'Öppna alternativt produktprogram', 'contact_tab' => 'Kontakt', 'contact_headline' => 'Vi ser fram emot att få kontakt med dig!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Ditt', 'sasww_headline' => 'Ditt {{country}}?', 'sasww_text' => 'Klicka här för att hitta kontaktperson: försäljning och service över hela världen', 'sasww_linktext' => 'Vår försäljning och service', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['TH'] = array( 'region_tab' => 'คุณอาศัยอยู่ประเท', 'headline' => 'คุณอาศัยอยู่ประเท {{country}}?', 'text' => 'เปิดตรงนี้เพื่อดูข้อมูลสินค้าทั้งหมดที่เกี่ยวกับราคาและการบริการ', 'alt_productprogramme' => 'เปิดตรงนี้เพื่อดูข้อมูลสินค้า เพื่อเป็นทางเลือก', 'contact_tab' => 'ติดต่อเรา', 'contact_headline' => 'เรากำลังรอแลกเปลี่ยนความคิดเห็นกับคุณ!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'คุณอาศัยอยู่ประเท', 'sasww_headline' => 'คุณอาศัยอยู่ประเท {{country}}?', 'sasww_text' => 'เปิดตรงนี้เพื่อติดต่อฝ่ายขายและแผนกบริการ', 'sasww_linktext' => 'เราคือบริษัทขายสินค้าและผู้ให้บริการ', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['TR'] = array( 'region_tab' => 'Konumunuz', 'headline' => 'Konumunuz {{country}}?', 'text' => 'Yetkili pazarlama ve servis kurumumuzun ürün programını açmak için buraya tıklayınız.', 'alt_productprogramme' => 'Alternatif ürün programı açınız.', 'contact_tab' => 'İrtibat', 'contact_headline' => 'Sizinle görüşmeyi ümid ediyoruz!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => 'Sizin konumunuz', 'sasww_headline' => 'Sizin konumunuz {{country}}?', 'sasww_text' => 'İlgili muhatabı bulabilmeniz için buraya tıklayınız: Dünya çapında pazarlama ve servis', 'sasww_linktext' => 'Satış ve servis teşkilatımız', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); $teaser['ZH-TW'] = array( 'region_tab' => '您的所在地', 'headline' => '您的所在地 {{country}}?', 'text' => '請點擊這裡打開我們銷售及服務公司的產品目錄。', 'alt_productprogramme' => '打開其它產品資訊', 'contact_tab' => '聯繫方式', 'contact_headline' => '我們期待著與您對話!', 'contact_button_website_caption' => '', 'contact_button_request_caption' => '', 'contact_button_request_cc' => '', 'sasww_tab' => '您的所在地', 'sasww_headline' => '您的所在地 {{country}}?', 'sasww_text' => '請點擊這裡查找相關連絡人:全球銷售及服務', 'sasww_linktext' => '我們的銷售及服務組織架構', 'sasww_ref' => '/en/products~1/alternative-programme.php', ); if(isset($_GET['debug'])){ echo "
";
			echo "-------------------BEGIN TEASER LANGUAGES------------------------------";
			var_dump($teaser);
			echo "-------------------END TEASER LANGUAGES--------------------------------";
			echo "
"; } function get_lang_text($arr, $field, $lang, $fallback){ if(array_key_exists($lang, $arr) && array_key_exists($field, $arr[$lang]) && $arr[$lang][$field] != ""){ return $arr[$lang][$field]; } return $arr[$fallback][$field]; } function get_lang_text_by_langkey($arr, $field, $lang, $fallback){ if(array_key_exists($field.'_'.$lang, $arr) && $arr[$field.'_'.$lang] != "" && $arr[$field.'_'.$lang] != 'null') { return $arr[$field.'_'.$lang]; }elseif(array_key_exists($field.'_'.$fallback, $arr) && $arr[$field.'_'.$fallback] != "" && $arr[$field.'_'.$fallback] != 'null'){ return $arr[$field.'_'.$fallback]; } return $arr[$field]; } function get_lang_link($id, $deployment_groups, $lang=null){ if($lang){ $pref = $lang; }else{ $pref = $_SESSION['user_region']['pref_lang']; } $fallback = $deployment_groups[$id]['primary_language']; if(array_key_exists($pref, $deployment_groups[$id]['links'])){ return $deployment_groups[$id]['links'][$pref]; }else{ return $deployment_groups[$id]['links'][$fallback]; } } $possible_groups = array(); foreach($deployment_groups as $dg){ if(in_array($_SESSION['user_region']['country'], $dg['countries'])){ $possible_groups[] = $dg; } } /*** Sortierung der Möglichen Gruppen alphabetisch */ usort($possible_groups, function($a, $b) { return strcmp($a["name"], $b["name"]); }); ?> 0){ ?>

$name) { ?>

:
:
:
0 )){ $niederlassungen = array(); $haendler = array(); $stammwerke = array(); foreach($countries[$_SESSION['user_region']['country']]['locationList'] as $location_id) { foreach($locations[$location_id]['type'] as $type) { switch($type) { case "Produktmarke": if($locations[$location_id]['name'] != "" && strpos(strtolower($locations[$location_id]['name']),'hamm ag') !== false) array_push($stammwerke, $location_id); break; case "Niederlassung": if($locations[$location_id]['name'] != "") array_push($niederlassungen, $location_id); break; default: if($locations[$location_id]['name'] != "") array_push($haendler, $location_id); } } } if(count($niederlassungen) > 0) printLocation($niederlassungen); else if(count($haendler) > 0) printLocation($haendler); else if(count($stammwerke) > 0) printLocation($stammwerke); } ?>