|
@@ 8784-8788 (lines=5) @@
|
| 8781 |
|
|
| 8782 |
|
|
| 8783 |
|
//if there was no aircraft with the same callsign within the last hour and go post it into the archive |
| 8784 |
|
if($last_hour_ident == "") |
| 8785 |
|
{ |
| 8786 |
|
//adds the spotter data for the archive |
| 8787 |
|
$Spotter->addSpotterData($flightaware_id, $ident, $aircraft_type, $departure_airport, $arrival_airport, $latitude, $longitude, $waypoints, $altitude, $heading, $groundspeed); |
| 8788 |
|
} |
| 8789 |
|
|
| 8790 |
|
//adds the spotter LIVE data |
| 8791 |
|
$SpotterLive->addLiveSpotterData($flightaware_id, $ident, $aircraft_type, $departure_airport, $arrival_airport, $latitude, $longitude, $waypoints, $altitude, $heading, $groundspeed); |
|
@@ 8832-8836 (lines=5) @@
|
| 8829 |
|
if ($arrival_airport == "" || $arrival_airport == "---" || $arrival_airport == "ZZZ" || $arrival_airport == "ZZZZ") { $arrival_airport = "NA"; } |
| 8830 |
|
|
| 8831 |
|
//if there was no aircraft with the same callsign within the last hour and go post it into the archive |
| 8832 |
|
if($last_hour_ident == "") |
| 8833 |
|
{ |
| 8834 |
|
//adds the spotter data for the archive |
| 8835 |
|
$Spotter->addSpotterData($flightaware_id, $ident, $aircraft_type, $departure_airport, $arrival_airport, $latitude, $longitude, $waypoints, $altitude, $heading, $groundspeed); |
| 8836 |
|
} |
| 8837 |
|
|
| 8838 |
|
//adds the spotter LIVE data |
| 8839 |
|
$SpotterLive->addLiveSpotterData($flightaware_id, $ident, $aircraft_type, $departure_airport, $arrival_airport, $latitude, $longitude, $waypoints, $altitude, $heading, $groundspeed); |