Your IP : 3.19.240.129
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true){
die();
}
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
$REGIONAL = WebprofyRegional::getInstance();
$region = $REGIONAL->getCurrentRegion();
$phone = $REGIONAL->regions[WebprofyRegional::$DEFAULT_REGION]['UF_PHONE'];
if(isset($REGIONAL->regions[$region]['UF_PHONE'])){
$phone = $REGIONAL->regions[$region]['UF_PHONE'];
}
if($arParams['NUMBERS_ONLY'] == 'Y'){
$phone = preg_replace("/[^\d+]/", "", $phone);
}
$arResult["PHONE"] = $phone;
$arParams['HTML_BLOCK'] = ($arParams['HTML_BLOCK'])? $arParams['HTML_BLOCK']: 'regional-phone' ;
$this->IncludeComponentTemplate();