1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-31 04:13:49 +01:00

Create 404.php

This commit is contained in:
anonfagola 2014-09-24 16:41:23 -07:00
parent 416a48838c
commit c291952477

20
404.php Normal file
View File

@ -0,0 +1,20 @@
<?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" => ""));