diff --git a/index.php b/index.php index b5bb70f..c5d0412 100644 --- a/index.php +++ b/index.php @@ -14,7 +14,12 @@ } */ - $strDistrict = (isset($_GET['d'])) ? $_GET['d'] : "hamm"; + if (isset($_GET['d'])) { + $strDistrict=$_GET['d']; + } else { + header("Location: start.php"); + } + require("config.db.php"); require("config.php"); diff --git a/liste.php b/liste.php index c4d7cba..6e6e60d 100644 --- a/liste.php +++ b/liste.php @@ -96,7 +96,7 @@

 

-

Liste der Einträge für

+

Liste der Einträge für

diff --git a/start.php b/start.php new file mode 100644 index 0000000..0741b1f --- /dev/null +++ b/start.php @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + <?=$strTitle?> + + + + + + + + + +

+
+
+
+ + +
+

+

Kreise und kreisfreie Städte

+
+ $strTitle):?> + ">
+ +
+ +
+ + + \ No newline at end of file