From 2441480079f68bd4bc15a12d7b9b47c18ce0bd52 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 Apr 2014 13:31:02 +0200 Subject: Added stuff. --- www/failure.php | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 79 insertions(+), 11 deletions(-) (limited to 'www/failure.php') diff --git a/www/failure.php b/www/failure.php index 976e414..7461a28 100644 --- a/www/failure.php +++ b/www/failure.php @@ -1,15 +1,28 @@ - Failure :: Junge Gemeinde Adlershof + <?php if($_GET["e"] != "401"){ echo "Failure ".$_GET["e"]; } else { echo "You are banned! "; } ?> :: Junge Gemeinde Adlershof - +
-

+

". $message ."

+ "; + echo "

Upps, it seems to be something went wrong, sorry.

Have a random quote to bridge the time. Try to reload the site or check for typos in the URL.

-query("SELECT count(*) as count FROM sprueche;"); $row = $rows->fetchArray(); $numRows = $row["count"]; $zufall = mt_rand(1,$numRows); $ergebnis = $db->query("SELECT * FROM sprueche where id=$zufall;"); -?> + + echo "



Zitat Nummer #

-fetchArray()){ echo $row["spruch"]; } -?>
-
+ + echo "
+ + "; +} else { + echo " + + "; + echo " +

+
+

". $message ."

+ "; + + if($_GET["e"] != "401"){ + echo " +

+

Upps, it seems to be something went wrong, sorry.

+

Have a random quote to bridge the time. Try to reload the site or check for typos in the URL.

+
+ Zurück zur Startseite oder Passwort vergessen? + "; + + $rows = $db->query("SELECT count(*) as count FROM sprueche;"); + $row = $rows->fetchArray(); + $numRows = $row["count"]; + + $zufall = mt_rand(1,$numRows); + $ergebnis = $db->query("SELECT * FROM sprueche where id=$zufall;"); + + echo " +
+
+


+ Zitat Nummer #". $zufall ."

+ "; + + while($row=$ergebnis->fetchArray()){ + echo $row["spruch"]; + } + + echo "
+
+ "; + } +} -- cgit v1.2.3