From 4d12345d963c2373cc7479ce7576bc8683a5f61b Mon Sep 17 00:00:00 2001 From: Walter Hupfeld Date: Wed, 11 Oct 2023 13:13:53 +0200 Subject: [PATCH] nrw und kreis detail --- ...meinde_detail.php => gemeinde_details.php} | 32 +- statistics/gemeinden.php | 32 +- statistics/gemeinden_c.php | 4 - statistics/index.php | 33 +- statistics/kreis_detail.php | 0 statistics/kreis_details.php | 356 ++++++++++++++++++ statistics/kreise.php | 37 +- statistics/navbar.php | 38 ++ statistics/nrw_details.php | 343 +++++++++++++++++ 9 files changed, 754 insertions(+), 121 deletions(-) rename statistics/{gemeinde_detail.php => gemeinde_details.php} (88%) delete mode 100644 statistics/kreis_detail.php create mode 100644 statistics/kreis_details.php create mode 100644 statistics/navbar.php create mode 100644 statistics/nrw_details.php diff --git a/statistics/gemeinde_detail.php b/statistics/gemeinde_details.php similarity index 88% rename from statistics/gemeinde_detail.php rename to statistics/gemeinde_details.php index 13befe7..3cfe6c1 100644 --- a/statistics/gemeinde_detail.php +++ b/statistics/gemeinde_details.php @@ -42,6 +42,7 @@ Fahrrad-Unfallstatistik NRW + + + + + + + +
+

Fahrradunfälle in

+

Einwohnerzahl:    Fläche: km2

+

Zur Unfallkarte

+ +
+
+

Unfallverlauf von bis

+ + + + + + +
2022202120202019
Gesamt
+
+
+
+
+
+ + +
+
+

Unfallzahlen

+ + "; print_r($resultUnfallzahlen);echo ""; + $numGesamt=0; + foreach ($resultUnfallzahlen as $row) { + echo "\n"; + $numGesamt+=$row['anz']; + } + ?> + +
".$arrCategory[$row['UKATEGORIE']]."".$row['anz']."
Gesamt
+ + + +
Quote pro Tausend Einwohner
Quote pro Fläche /km2
+
+
+
+
+
+ + +
+
+

Unfallbeteiligte

+ + "; print_r($resultBeteiligte);echo ""; + foreach ($resultBeteiligte as $key => $numCount) { + echo "\n"; + } + ?> +
".$arrBeteiligte[$key]."".$numCount."
+
+
+
+
+
+ + +
+
+

Unfalltyp

+ + \n"; + } + ?> +
".$arrUnfalltyp[$row['UTYP1']]."".$row['anz']."
+
+
+
+
+
+ + +
+
+

Unfallart

+ + \n"; + } + ?> +
".$arrUnfallart[$row['UART']]."".$row['anz']."
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/statistics/kreise.php b/statistics/kreise.php index 3393963..5e1085f 100644 --- a/statistics/kreise.php +++ b/statistics/kreise.php @@ -9,6 +9,7 @@ + + + + + + +
+

Fahrradunfälle in

+

Einwohnerzahl:    Fläche: km2

+ + +
+
+

Unfallverlauf von bis

+ + + + + + +
2022202120202019
Gesamt
+
+
+
+
+
+ + +
+
+

Unfallzahlen

+ + "; print_r($resultUnfallzahlen);echo ""; + $numGesamt=0; + foreach ($resultUnfallzahlen as $row) { + echo "\n"; + $numGesamt+=$row['anz']; + } + ?> + +
".$arrCategory[$row['UKATEGORIE']]."".$row['anz']."
Gesamt
+ + + +
Quote pro Tausend Einwohner
Quote pro Fläche /km2
+
+
+
+
+
+ + +
+
+

Unfallbeteiligte

+ + "; print_r($resultBeteiligte);echo ""; + foreach ($resultBeteiligte as $key => $numCount) { + echo "\n"; + } + ?> +
".$arrBeteiligte[$key]."".$numCount."
+
+
+
+
+
+ + +
+
+

Unfalltyp

+ + \n"; + } + ?> +
".$arrUnfalltyp[$row['UTYP1']]."".$row['anz']."
+
+
+
+
+
+ + +
+
+

Unfallart

+ + \n"; + } + ?> +
".$arrUnfallart[$row['UART']]."".$row['anz']."
+
+
+
+
+
+
+ + + \ No newline at end of file