diff --git a/config.sample.php b/config.sample.php index 66152b9..592cf49 100644 --- a/config.sample.php +++ b/config.sample.php @@ -16,5 +16,5 @@ try { } catch (PDOException $e) {echo "Fehler: ".$e->getMessage(); die();} $numStartYear=2019; - $numLatestYear=2022; + $numLatestYear=2025; \ No newline at end of file diff --git a/index.php b/index.php index 055e792..790b024 100644 --- a/index.php +++ b/index.php @@ -116,6 +116,11 @@
| 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | ||
|---|---|---|---|---|---|---|---|
| 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | |
| = $arrCategory[1]?> | = get_row($resultVerlauf,1) ?>|||||||
| = $arrCategory[2]?> | = get_row($resultVerlauf,2) ?>|||||||
| = $arrCategory[3]?> | = get_row($resultVerlauf,3) ?>|||||||
| Gesamt | = get_row($resultVerlauf,0) ?>
| - | Fahrradunfälle | -Todesfälle | -Schwerverletzte | -Leichtverletzte | +Fahrradunfälle | +Todesfälle | +Schwerverletzte | +Leichtverletzte | Fäche | Einw. | Quote | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | -2024 | 2023 | 2022 | 2021 | 2020 | 2019 | -2024 | 2023 | 2022 | 2021 | 2020 | 2019 | -2024 | 2023 | 2022 | 2021 | 2020 | 2019 | -2024 | 2023 | 2022 | 2021 | 2020 | 2019 | +2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | +2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | +2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | +2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | in Tausend | |||
| ".$row['Gemeinde']." | "; - echo "".$row['Jahr_2024']." | "; + echo "".$row['Jahr_2025']." | "; + echo "".$row['Jahr_2024']." | "; echo "".$row['Jahr_2023']." | "; echo "".$row['Jahr_2022']." | "; echo "".$row['Jahr_2021']." | "; echo "".$row['Jahr_2020']." | "; echo "".$row['Jahr_2019']." | "; - echo "".$row['Tode_2024']." | "; + echo "".$row['Tode_2025']." | "; + echo "".$row['Tode_2024']." | "; echo "".$row['Tode_2023']." | "; echo "".$row['Tode_2022']." | "; echo "".$row['Tode_2021']." | "; echo "".$row['Tode_2020']." | "; echo "".$row['Tode_2019']." | "; - echo "".$row['Schwerverletzt_2024']." | "; + echo "".$row['Schwerverletzt_2025']." | "; + echo "".$row['Schwerverletzt_2024']." | "; echo "".$row['Schwerverletzt_2023']." | "; echo "".$row['Schwerverletzt_2022']." | "; echo "".$row['Schwerverletzt_2021']." | "; echo "".$row['Schwerverletzt_2020']." | "; echo "".$row['Schwerverletzt_2019']." | "; - echo "".$row['Leichtverletzt_2024']." | "; + echo "".$row['Leichtverletzt_2025']." | "; + echo "".$row['Leichtverletzt_2024']." | "; echo "".$row['Leichtverletzt_2023']." | "; echo "".$row['Leichtverletzt_2022']." | "; echo "".$row['Leichtverletzt_2021']." | "; @@ -131,7 +139,7 @@ while ($row = $result->fetch(PDO::FETCH_ASSOC)) { echo "".$row['Leichtverletzt_2019']." | "; echo "".$row['Flaeche']." | "; echo "".round($row['Einwohner']/1000,1)." | "; - echo "".round($row['Quote_2024'],2)." | "; + echo "".round($row['Quote_2025'],2)." | "; echo "|||||||||||||||||||||
| 2023 | 2022 | 2021 | 2020 | 2019 | |||
|---|---|---|---|---|---|---|---|
| 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | |
| = $arrCategory[1]?> | = get_row($resultVerlauf,1) ?>|||||||
| = $arrCategory[2]?> | = get_row($resultVerlauf,2) ?>|||||||
| = $arrCategory[3]?> | = get_row($resultVerlauf,3) ?>|||||||
| Gesamt | = get_row($resultVerlauf,0) ?>
| 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | ||
|---|---|---|---|---|---|---|---|
| 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | |
| = $arrCategory[1]?> | = get_row($resultVerlauf,1) ?>|||||||
| = $arrCategory[2]?> | = get_row($resultVerlauf,2) ?>|||||||
| = $arrCategory[3]?> | = get_row($resultVerlauf,3) ?>