several vehicles

This commit is contained in:
Walter Hupfeld
2020-08-02 20:08:48 +02:00
parent 558d336fa0
commit 2ff7124f6f
4 changed files with 97 additions and 63 deletions

View File

@@ -8,18 +8,16 @@ function generate_tooltip_description($row) {
global $arrLicht;
global $arrRad;
global $arrStrassenzustand;
global $arrWochentage;
global $db;
//$description = $row['description'];
//$id = $row['id'];
//$topic = $row['topic'];
//$numDatum= strtotime($row['created_at']);
//$datum= date("d.m.Y",$numDatum);
$strDescription = "<h3>Daten zum Unfall</h3>";
$description = "<strong>Unfallkategorie:</strong> ".$arrCategory[$row['UKATEGORIE']]."<br>";
$description .= "<strong>Unfallmonat/Jahr:</strong> ".$row['UMONAT']."/".$row['UJAHR']."<br>";
$description .= "<strong>Tag/Stunde:</strong> ".$arrWochentage[$row['UWOCHENTAG']]." ".$row['USTUNDE']." Uhr<br>";
$description .= "<strong>Unfallart:</strong> ".$arrUnfallart[$row['UART']]."<br>";
$description .= "<strong>Unfalltyp:</strong> ".$arrUnfalltyp[$row['UTYP1']]."<br>";
$description .= "<strong>Lichtverhältnisse:</strong> ".$arrLicht[$row['ULICHTVERH']]."<br>";