Blame view
404.php
2.1 KB
2fe1e5ce8 Первый коммит на ... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
<? include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php'); CHTTP::SetStatus("404 Not Found"); @define("ERROR_404","Y"); define("HIDE_SIDEBAR", true); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetTitle("Страница не найдена");?> <div class="bx-404-container"> <div class="bx-404-block"><img src="<?=SITE_DIR?>images/404.png" alt=""></div> <div class="bx-404-text-block">Неправильно набран адрес, <br>или такой страницы на сайте больше не существует.</div> <div class="">Вернитесь на <a href="<?=SITE_DIR?>">главную</a> или воспользуйтесь картой сайта.</div> </div> <div class="map-columns row"> <div class="col-sm-10 col-sm-offset-1"> <div class="bx-maps-title">Карта сайта:</div> </div> </div> <div class="col-sm-offset-2 col-sm-4"> <div class="bx-map-title"><i class="fa fa-leanpub"></i> Каталог</div> <?$APPLICATION->IncludeComponent( "bitrix:catalog.section.list", "tree", array( "COMPONENT_TEMPLATE" => "tree", "IBLOCK_TYPE" => "catalog", "IBLOCK_ID" => "2", "SECTION_ID" => $_REQUEST["SECTION_ID"], "SECTION_CODE" => "", "COUNT_ELEMENTS" => "Y", "TOP_DEPTH" => "2", "SECTION_FIELDS" => array( 0 => "", 1 => "", ), "SECTION_USER_FIELDS" => array( 0 => "", 1 => "", ), "SECTION_URL" => "", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_GROUPS" => "Y", "ADD_SECTIONS_CHAIN" => "Y" ), false ); ?> </div> <div class="col-sm-offset-1 col-sm-4"> <div class="bx-map-title"><i class="fa fa-info-circle"></i> О магазине</div> <? $APPLICATION->IncludeComponent( "bitrix:main.map", ".default", array( "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "SET_TITLE" => "N", "LEVEL" => "3", "COL_NUM" => "2", "SHOW_DESCRIPTION" => "Y", "COMPONENT_TEMPLATE" => ".default" ), false );?> </div> <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?> |