GetSettingsGroupsByTitle('Routenplaner'); $strRPURL = "http://www.learnconsult.com/cms100/routing2/route.php?TITLE=$strTitle&DESCRIPTION=$strDescription&STREET=$strStreet&CITY=$strCity&ZIP=$strZip&COUNTRY=$strCountry&COUNTRYPLAIN=$strCountryPlain&WIDTH=$strWidth&HEIGHT=$strHeight&PHONE=$strPhone&USEPHONE=$strUsePhone&FAX=$strFax&USEFAX=$strUseFax&EMAIL=$strEmail&USEEMAIL=$strUseEmail&TEMPLATE_URL=$strTemplateURL&DISPLAYMENU=$strRealLanguageOcmsDefault&googleMapsKey=" . trim($objPSRPGroup[0]->GetSettingByTitle('Google Maps API key')->GetText()) . "&autoloadmap=false"; $strResponse = openhttp($strRPURL); $arMatches = array(); if(preg_match('/(.*)<\\/html>/is', $strResponse, $arMatches)) { echo($arMatches[1]); } ?>