# Technical Support Forum: http://forum.zhuk.cc/ -------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); $scripttext = ''; $credits = ''; $document = JFactory::getDocument(); $compatiblemodersf = modZhYandexMapHelper::getCompatibleModeRSF(); $compatiblemode = modZhYandexMapHelper::getCompatibleMode(); $id = $params->get('mapid', ''); $placemarkListId = $params->get('placemarklistid', ''); $cssClassSuffix = $params->get('moduleclass_sfx', ''); $map = modZhYandexMapHelper::getMap((int) $id); if (isset($map) && (int) $map->id != 0) { $markergroups = modZhYandexMapHelper::getMarkerGroups($map->id, $placemarkListId); $markers = modZhYandexMapHelper::getMarkers($map->id, $placemarkListId, $map->usermarkers, $map->usermarkersfilter, $map->usercontact); $routers = modZhYandexMapHelper::getRouters($map->id); $paths = modZhYandexMapHelper::getPaths($map->id); $mapapikey = modZhYandexMapHelper::getAPIKey(); $licenseinfo = modZhYandexMapHelper::getMapLicenseInfo(); $maptypes = modZhYandexMapHelper::getMapTypes(); if ($licenseinfo == "") { $licenseinfo = 102; } $urlProtocol = "http"; $curHTTPProtocol = modZhYandexMapHelper::getHttpsProtocol(); if ($curHTTPProtocol != "") { if ((int) $curHTTPProtocol == 1) { $urlProtocol = 'https'; } }