Current Path : /home/bitrix/ext_www/dev.shuft.com.ua/ |
Current File : /home/bitrix/ext_www/dev.shuft.com.ua/404.php |
<? include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php'); CHTTP::SetStatus("404 Not Found"); @define("ERROR_404","Y"); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); // $APPLICATION->SetTitle("404 Not Found"); $APPLICATION->SetTitle("Ошибка 404."); $APPLICATION->AddChainItem("404", ""); $APPLICATION->SetPageProperty("main_section_classes", "main inner content_error-page"); ?> <h3>Извините, страница перемещена или не существует.</h3> <?$APPLICATION->IncludeComponent("bitrix:search.form", "error_search", Array( "COMPONENT_TEMPLATE" => ".default", "PAGE" => "#SITE_DIR#search/", // Страница выдачи результатов поиска (доступен макрос #SITE_DIR#) "USE_SUGGEST" => "N", // Показывать подсказку с поисковыми фразами ), false );?> <ul class="error_list"> <li class="error_li docs_i"><a href="/documentation/" class="error_link">Сборник документации на продукцию</a></li> <li class="error_li map_i"><a href="/search/map/" class="error_link">Карта сайта</a></li> <li class="error_li catalog_i"><a href="/catalog/" class="error_link">Каталог продукции</a></li> </ul> <?$APPLICATION->IncludeComponent( "bitrix:catalog.section.list", "sidebar", array( "IBLOCK_TYPE" => 'shuft', "IBLOCK_ID" => '9', "CACHE_TYPE" => 'A', "CACHE_TIME" => '36000000', "CACHE_GROUPS" => 'N', "COUNT_ELEMENTS" => 'Y', "TOP_DEPTH" => 5, "SECTION_URL" => '/catalog/#SECTION_CODE_PATH#/', "VIEW_MODE" => 'LIST', "SHOW_PARENT_NAME" => 'Y', "HIDE_SECTION_NAME" => 'N', "ADD_SECTIONS_CHAIN" => 'N', "AT_404" => 'Y', "ACTIVATE_ALL" => 'N', ), $component, array("HIDE_ICONS" => "Y") ); ?> <?$APPLICATION->IncludeComponent("bitrix:main.map", ".default", array( "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "SET_TITLE" => "N", "LEVEL" => "1", "COL_NUM" => "3", "SHOW_DESCRIPTION" => "N" ), false );?> <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>