Merge branch 'anim-plane-reverse' of DTux/avion-poeme into master

This commit is contained in:
DTux authored and Gogs committed 2021-11-03 08:22:58 +00:00
commit 4da327413c
3 files changed
+58 -23

No files matched your search

+1 -4
View File
@@ -170,7 +170,7 @@ class db
function getCurrentPlanes()
{
$query = "SELECT idAvion as uid, UNIX_TIMESTAMP(deliveryTime) as deliveryTime, deliveryTZ, destLat, destLon, destName, UNIX_TIMESTAMP(startTime) as startTime, startTZ, startLon, startLat, startName, color FROM avionpoeme WHERE deliveryTimeServer>NOW()";
$query = "SELECT idAvion as uid, UNIX_TIMESTAMP(deliveryTime) as deliveryTime, deliveryTZ, destLat, destLon, destName, message, UNIX_TIMESTAMP(startTime) as startTime, startTZ, startLon, startLat, startName, color, message FROM avionpoeme WHERE deliveryTimeServer>NOW()";
$this->query($query);
$planes = $this->result->fetch_all(MYSQLI_ASSOC);
print json_encode($planes);
@@ -239,6 +239,3 @@ class db
return $this->avionJournalier;
}
}
?>