Your IP : 18.191.144.73


Current Path : /home/bitrix/ext_www/dev.home-comfort.in.ua/local/components/webprofy/search.b2b/
Upload File :
Current File : /home/bitrix/ext_www/dev.home-comfort.in.ua/local/components/webprofy/search.b2b/component.php

<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true){
	die();
}
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @var CBitrixComponent $this */
/** @var array $arParams */
/** @var array $arResult */
/** @var string $componentName */
/** @var string $componentPath */
/** @var string $componentTemplate */
/** @var string $parentComponentName */
/** @var string $parentComponentPath */
/** @var string $parentComponentTemplate */
$this->setFrameMode(false);

$templatePage = "";
if($this->initComponentTemplate($templatePage)){
	$template = &$this->getTemplate();
	$arResult["FOLDER_PATH"] = $folderPath = $template->GetFolder();
	if(strlen($folderPath) > 0){
		$this->showComponentTemplate();
	}
}else{
	$this->__showError(str_replace("#PAGE#", $templatePage, str_replace("#NAME#", $this->__templateName, "Can not find '#NAME#' template with page '#PAGE#'")));
}