%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.138.137.143 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/components/bitrix/catalog.store.list/templates/.default/ |
Upload File : |
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); /** @var array $arParams */ /** @var array $arResult */ /** @global CMain $APPLICATION */ /** @global CUser $USER */ /** @global CDatabase $DB */ /** @var CBitrixComponentTemplate $this */ /** @var string $templateName */ /** @var string $templateFile */ /** @var string $templateFolder */ /** @var string $componentPath */ /** @var CBitrixComponent $component */ if($arResult["ERROR_MESSAGE"] <> '') ShowError($arResult["ERROR_MESSAGE"]); $arPlacemarks = array(); $gpsN = ''; $gpsS = ''; ?> <div class="catalog-detail-properties"> <?if(is_array($arResult["STORES"]) && !empty($arResult["STORES"])): foreach($arResult["STORES"] as $pid=>$arProperty):?> <div class="catalog-detail-property"> <p class="catalog-detail-properties-title"><a href="<?=$arProperty["URL"]?>"><?=$arProperty["TITLE"]?></a></p><? if (!empty($arProperty['DETAIL_IMG'])) { ?><img class="catalog-detail-image" src="<?=$arProperty['DETAIL_IMG']['SRC']; ?>"><? } if ($arProperty["DESCRIPTION"] != '') { ?><p><?=$arProperty["DESCRIPTION"]; ?></p><? } if(isset($arProperty["PHONE"])):?> <span> <?=GetMessage('S_PHONE')?></span> <span><?=$arProperty["PHONE"]?></span> <?endif; if(isset($arProperty["SCHEDULE"])):?> <span> <?=GetMessage('S_SCHEDULE')?></span> <span><?=$arProperty["SCHEDULE"]?></span> <?endif; if($arProperty["GPS_S"]!=0 && $arProperty["GPS_N"]!=0) { $gpsN = mb_substr(doubleval($arProperty["GPS_N"]), 0, 15); $gpsS = mb_substr(doubleval($arProperty["GPS_S"]), 0, 15); $arPlacemarks[]=array("LON"=>$gpsS,"LAT"=>$gpsN,"TEXT"=>$arProperty["TITLE"]); } ?> </div> <br> <?endforeach; endif;?> </div><br><br> <? if ($arResult['VIEW_MAP']) { if($arResult["MAP"]==0) { $APPLICATION->IncludeComponent("bitrix:map.yandex.view", ".default", array( "INIT_MAP_TYPE" => "MAP", "MAP_DATA" => serialize(array("yandex_lat"=>$gpsN,"yandex_lon"=>$gpsS,"yandex_scale"=>10,"PLACEMARKS" => $arPlacemarks)), "MAP_WIDTH" => "720", "MAP_HEIGHT" => "500", "CONTROLS" => array( 0 => "ZOOM", ), "OPTIONS" => array( 0 => "ENABLE_SCROLL_ZOOM", 1 => "ENABLE_DBLCLICK_ZOOM", 2 => "ENABLE_DRAGGING", ), "MAP_ID" => "" ), $component, array("HIDE_ICONS" => "Y") ); } else { $APPLICATION->IncludeComponent("bitrix:map.google.view", ".default", array( "INIT_MAP_TYPE" => "MAP", "MAP_DATA" => serialize(array("google_lat"=>$gpsN,"google_lon"=>$gpsS,"google_scale"=>10,"PLACEMARKS" => $arPlacemarks)), "MAP_WIDTH" => "720", "MAP_HEIGHT" => "500", "CONTROLS" => array( 0 => "ZOOM", ), "OPTIONS" => array( 0 => "ENABLE_SCROLL_ZOOM", 1 => "ENABLE_DBLCLICK_ZOOM", 2 => "ENABLE_DRAGGING", ), "MAP_ID" => "" ), $component, array("HIDE_ICONS" => "Y") ); } }