Version 2021
This commit is contained in:
parent
e958343004
commit
bda225d465
@ -9,10 +9,6 @@ $db_server = "mariadb";
|
|||||||
$db_user = "unfallstatistik";
|
$db_user = "unfallstatistik";
|
||||||
$db_passwd = "BCJloVozJbdDHQTS";
|
$db_passwd = "BCJloVozJbdDHQTS";
|
||||||
|
|
||||||
$db_server = "localhost";
|
|
||||||
$db_user = "root";
|
|
||||||
$db_passwd = "g0r@w@";
|
|
||||||
|
|
||||||
$db = "unfallstatistik";
|
$db = "unfallstatistik";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
BIN
db/unfallorte
BIN
db/unfallorte
Binary file not shown.
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
require("config.php");
|
require("config.php");
|
||||||
require_once("lib/functions.php");
|
require_once("lib/functions.php");
|
||||||
|
|
||||||
$numYear="2020";
|
$numYear="2021";
|
||||||
|
|
||||||
$strDistrict = (isset($_GET['d'])) ? $_GET['d'] : "Hamm";
|
$strDistrict = (isset($_GET['d'])) ? $_GET['d'] : "Hamm";
|
||||||
$numVehicle = (isset($_GET['v'])) ? (int) $_GET['v'] : 1;
|
$numVehicle = (isset($_GET['v'])) ? (int) $_GET['v'] : 1;
|
||||||
@ -148,8 +148,10 @@
|
|||||||
<!-- Navbar -->
|
<!-- Navbar -->
|
||||||
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
||||||
<a class="navbar-brand" href="#"><?= $strTitle ?></a>
|
<a class="navbar-brand" href="#"><?= $strTitle ?></a>
|
||||||
<a class="navbar-brand" href="index.php?year=2019&v=<?=$numVehicle?>&d=<?=$strDistrict?>">2019</a>
|
<a class="navbar-brand" href="index.php?year=2021&v=<?=$numVehicle?>&d=<?=$strDistrict?>">2021</a>
|
||||||
<a class="navbar-brand" href="index.php?year=2020&v=<?=$numVehicle?>&d=<?=$strDistrict?>">2020</a>
|
<a class="navbar-brand" href="index.php?year=2020&v=<?=$numVehicle?>&d=<?=$strDistrict?>">2020</a>
|
||||||
|
<a class="navbar-brand" href="index.php?year=2019&v=<?=$numVehicle?>&d=<?=$strDistrict?>">2019</a>
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -19,7 +19,7 @@ function generate_tooltip_description($row) {
|
|||||||
$description .= "<strong>Unfallart:</strong> ".$arrUnfallart[$row['UART']]."<br>";
|
$description .= "<strong>Unfallart:</strong> ".$arrUnfallart[$row['UART']]."<br>";
|
||||||
$description .= "<strong>Unfalltyp:</strong> ".$arrUnfalltyp[$row['UTYP1']]."<br>";
|
$description .= "<strong>Unfalltyp:</strong> ".$arrUnfalltyp[$row['UTYP1']]."<br>";
|
||||||
$description .= "<strong>Lichtverhältnisse:</strong> ".$arrLicht[$row['ULICHTVERH']]."<br>";
|
$description .= "<strong>Lichtverhältnisse:</strong> ".$arrLicht[$row['ULICHTVERH']]."<br>";
|
||||||
$description .= "<strong>Straßenzustand:</strong> ".$arrStrassenzustand[$row['STRZUSTAND']]."<br>";
|
$description .= "<strong>Straßenzustand:</strong> ".$arrStrassenzustand[$row['USTRZUSTAND']]."<br>";
|
||||||
$description .= "<strong>Unfallbeteiligte:</strong> ";
|
$description .= "<strong>Unfallbeteiligte:</strong> ";
|
||||||
if ($row['IstRad']) $description .="mit Fahrradbeteiligung, ";
|
if ($row['IstRad']) $description .="mit Fahrradbeteiligung, ";
|
||||||
if ($row['IstPKW']) $description .="mit PKW-Beteiligung, ";
|
if ($row['IstPKW']) $description .="mit PKW-Beteiligung, ";
|
||||||
|
Loading…
Reference in New Issue
Block a user