1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 02:27:24 +01:00
vichan/404.php

21 lines
534 B
PHP
Raw Normal View History

2014-09-25 01:41:23 +02:00
<?php
include "inc/functions.php";
$errorimages = array("http://www.submitawebsite.com/blog/wp-content/uploads/2010/06/404.png",
"http://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Georgia_404.svg/750px-Georgia_404.svg.png");
$errorimage = $errorimages[array_rand($errorimages)];
$page = <<<EOT
<center>
<div class="ban">
<h2>404 Not Found</h2>
<img src="{$errorimage}" style="width: 700px;">
</div>
</center>
EOT;
echo Element("page.html", array("config" => $config, "body" => $page, "title" => ""));