Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php');
- CHTTP::SetStatus("404 Not Found");
- @define("ERROR_404", "Y");
- if ($APPLICATION) {
- $APPLICATION->RestartBuffer();
- }
- require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
- include($_SERVER['DOCUMENT_ROOT'].'/local/templates/404/header.php');
- $APPLICATION->SetTitle("Страница не найдена"); ?>
- <div class="page">
- <main class="forbidden">
- <div class="container">
- <div class="forbidden__wrap"><img class="forbidden__img"
- src="/local/templates/404/images/404.png" alt="404">
- <div class="forbidden__title">Извините, данной страницы<br>не существует.</div>
- <a class="forbidden__link btn btn_r" href="/">Вернуться на главную</a>
- </div>
- </div>
- </main>
- </div>
- <?
- include($_SERVER['DOCUMENT_ROOT'].'/local/templates/404/footer.php');
- require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/epilog_after.php');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement