summaryrefslogtreecommitdiff
path: root/www/httperror.php
diff options
context:
space:
mode:
authorHorus32014-04-21 23:25:40 +0200
committerHorus32014-04-21 23:25:40 +0200
commit11ed3a4c720d9379beaf7f5770f297677da5d9a7 (patch)
tree59a51f5d040a53d9f990e218baef08065563a59a /www/httperror.php
parent1301304d2ea739f550738e0fafc56d74a65905f4 (diff)
downloadfiles.iamfabulous.de-11ed3a4c720d9379beaf7f5770f297677da5d9a7.tar.gz
Added 2 more failure pages.
Diffstat (limited to 'www/httperror.php')
-rwxr-xr-xwww/httperror.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/httperror.php b/www/httperror.php
index 423f0fa..69a5122 100755
--- a/www/httperror.php
+++ b/www/httperror.php
@@ -54,7 +54,12 @@
}elseif($_GET['e']=='ban'){
echo '<h1 id="Error-Page-head" >You are banned!</h1>';
- echo '<h2 id="Error-Page-description" >Too many authentication failures.</br>It&#39s not my fault. I swear.</h2>';
+ echo '<h2 id="Error-Page-description" >Too many authentication failures.</h2>';
+ }elseif($_GET['e']=='user'){
+ echo '<h2 id="Error-Page-description" >Could not find the user <u><i>'.htmlentities($_GET["name"]).'</i></u>. <br>Please make sure you typed their name correctly.</h2>';
+ }elseif($_GET['e']=='database'){
+ echo '<h1 id="Error-Page-head" >Database!</h1>';
+ echo '<h2 id="Error-Page-description" >Oh, there is something wrong with the backend. Refresh the page and if this doesn&#39;t help, we will fix this soon.</h2>';
}?>
</div>
<?php include("static/footer.html");?>