summaryrefslogtreecommitdiff
path: root/linkshorter/view/templ-notfound.php
diff options
context:
space:
mode:
authorroot2014-11-27 15:55:25 +0100
committerroot2014-11-27 15:55:25 +0100
commit4f923b809b4e38e0639e253f428fb6c4df03ee67 (patch)
tree20d9d9ad9dae0316dad27358b4239b6f18f80e87 /linkshorter/view/templ-notfound.php
parent311ad398e06cd2eba270ea70ca5a326d03b490f9 (diff)
downloadtools.iamfabulous.de-4f923b809b4e38e0639e253f428fb6c4df03ee67.tar.gz
More structured + better UI
Diffstat (limited to 'linkshorter/view/templ-notfound.php')
-rw-r--r--linkshorter/view/templ-notfound.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/linkshorter/view/templ-notfound.php b/linkshorter/view/templ-notfound.php
new file mode 100644
index 0000000..66d654b
--- /dev/null
+++ b/linkshorter/view/templ-notfound.php
@@ -0,0 +1,14 @@
+<?php
+ header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
+ header("X-Request-Id: " . $_REQUEST["short"]);
+ $title= "404 Not Found";
+ require 'view/templ-head.php';
+?>
+<div class="container text-center pagination-centered">
+ <div class="row">
+ <h1>Failure - Not Found</h1>
+ <hr>
+ <h4>The requested URL ('<?php echo htmlentities($_SERVER["REQUEST_URI"]); ?>') wasn't found on this server.</h4>
+ </div>
+</div>
+ <?php require("../tools/footer.php"); ?>