1
0
www.mikescher.com/www/pages/error_notfound.php

25 lines
685 B
PHP
Raw Permalink Normal View History

2018-01-03 17:28:08 +01:00
<?php
2020-01-16 10:50:18 +01:00
require_once (__DIR__ . '/../internals/website.php');
2018-01-03 17:28:08 +01:00
2020-01-16 10:50:18 +01:00
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
/** @var URLRoute $ROUTE */ global $ROUTE;
/** @var Website $SITE */ global $SITE;
2018-01-03 17:28:08 +01:00
?>
2020-01-16 10:50:18 +01:00
<?php
$message = isset($ROUTE->parameter['message']) ? $ROUTE->parameter['message'] : '';
2018-01-03 17:28:08 +01:00
2020-01-16 10:56:12 +01:00
$FRAME_OPTIONS->title = $message;
2020-01-20 18:09:35 +01:00
$FRAME_OPTIONS->statuscode = 404;
2020-01-16 10:50:18 +01:00
$FRAME_OPTIONS->canonical_url = null;
$FRAME_OPTIONS->activeHeader = null;
$FRAME_OPTIONS->contentCSSClasses []= 'content-fullheight';
?>
2018-01-03 17:28:08 +01:00
2020-01-16 10:50:18 +01:00
<div class="ev_master">
<div class="ev_code">404</div>
<?php if ($message !== ''): ?>
<div class="ev_msg"><?php echo $message; ?></div>
<?php endif; ?>
</div>