Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/components/bitrix/search.form/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/components/bitrix/search.form/component.php |
<? if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die(); /** @global CMain $APPLICATION */ /** @global CUser $USER */ /** @global CDatabase $DB */ /** @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 */ if(!IsModuleInstalled("search")) { ShowError(GetMessage("BSF_C_MODULE_NOT_INSTALLED")); return; } //variables from component if(!isset($arParams["PAGE"]) || $arParams["PAGE"] == '') $arParams["PAGE"] = "#SITE_DIR#search/index.php"; $arResult["FORM_ACTION"] = htmlspecialcharsbx(str_replace("#SITE_DIR#", SITE_DIR, $arParams["PAGE"])); $this->IncludeComponentTemplate(); ?>