diff --git a/.gitignore b/.gitignore index a4ca838..86729e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ # ignore -admin/shape +admin/shape/ +images/ config.db.php diff --git a/index.php b/index.php index 7ae1a30..169dc11 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,9 @@ $strIntro .= nl2br2($strIntroText); - $strSQL="SELECT loc.*,f.filename FROM location loc LEFT JOIN files f ON loc.id=f.loc_id"; + $strSQL="SELECT loc.*,f.filename + FROM location loc LEFT JOIN files f ON loc.id=f.loc_id + WHERE loc.district='$strDistrict'"; /* Für die Auswertung nur bestimmte Kategorien anzeigen $numDefect="(6,8,21)";