From b4e9313612dd341e43e5dc998469ec346adea8c6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 15 Apr 2014 20:03:48 +0200 Subject: Added failure page and fixed brutforce protection. --- www/failure.php | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 www/failure.php (limited to 'www/failure.php') diff --git a/www/failure.php b/www/failure.php new file mode 100644 index 0000000..976e414 --- /dev/null +++ b/www/failure.php @@ -0,0 +1,75 @@ + + + + Failure :: Junge Gemeinde Adlershof + + + + + + +

+
+

+ +

+

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;"); +?> +
+
+


+ Zitat Nummer #

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