errorview
This commit is contained in:
@@ -12,7 +12,7 @@ $allposts = Blog::listAllOrderedDescending();
|
||||
<title>Mikescher.com - Blog</title>
|
||||
<meta name="google-site-verification" content="pZOhmjeJcQbRMNa8xRLam4dwJ2oYwMwISY1lRKreSSs"/>
|
||||
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
||||
<link rel="stylesheet" href="/data/css/styles.css"/>
|
||||
<link rel="stylesheet" href="<?php printCSS(); ?>"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mastercontainer">
|
||||
|
||||
@@ -10,7 +10,7 @@ $subview = $OPTIONS['subview'];
|
||||
|
||||
$post = Blog::getBlogpost($id);
|
||||
|
||||
if ($post === NULL) httpError(404, 'blogpost not found');
|
||||
if ($post === NULL) httpError(404, 'Blogpost not found');
|
||||
|
||||
?>
|
||||
<head>
|
||||
@@ -18,7 +18,7 @@ if ($post === NULL) httpError(404, 'blogpost not found');
|
||||
<title>Mikescher.com - Blog</title>
|
||||
<meta name="google-site-verification" content="pZOhmjeJcQbRMNa8xRLam4dwJ2oYwMwISY1lRKreSSs"/>
|
||||
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
||||
<link rel="stylesheet" href="/data/css/styles.css"/>
|
||||
<?php printCSS(); ?>
|
||||
<?php
|
||||
if ($post['type'] === 'euler' && $subview !== '')
|
||||
{
|
||||
|
||||
32
www/pages/errorview.php
Normal file
32
www/pages/errorview.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<?php
|
||||
require_once (__DIR__ . '/../internals/base.php');
|
||||
global $OPTIONS;
|
||||
|
||||
$errorcode = $OPTIONS['code'];
|
||||
$errormsg = $OPTIONS['message'];
|
||||
?>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mikescher.com - <?php echo $errormsg; ?></title>
|
||||
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
||||
<?php printCSS(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mastercontainer">
|
||||
|
||||
<?php $HEADER_ACTIVE='none'; include (__DIR__ . '/../fragments/header.php'); ?>
|
||||
|
||||
<div id="content" class="content-responsive content-fullheight">
|
||||
|
||||
<div class="ev_master">
|
||||
<div class="ev_code"><?php echo $errorcode; ?></div>
|
||||
<div class="ev_msg"><?php echo $errormsg; ?></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>Mikescher.com</title>
|
||||
<meta name="google-site-verification" content="pZOhmjeJcQbRMNa8xRLam4dwJ2oYwMwISY1lRKreSSs"/>
|
||||
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
||||
<link rel="stylesheet" href="/data/css/styles.css"/>
|
||||
<?php printCSS(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mastercontainer">
|
||||
|
||||
Reference in New Issue
Block a user