|
@@ 3017-3027 (lines=11) @@
|
| 3014 |
|
} |
| 3015 |
|
|
| 3016 |
|
//getting the departure airport information |
| 3017 |
|
if ($departure_airport_icao != "") |
| 3018 |
|
{ |
| 3019 |
|
if (!is_string($departure_airport_icao)) |
| 3020 |
|
{ |
| 3021 |
|
return false; |
| 3022 |
|
} else { |
| 3023 |
|
$timeelapsed = microtime(true); |
| 3024 |
|
$departure_airport_array = $this->getAllAirportInfo($departure_airport_icao); |
| 3025 |
|
if ($globalDebugTimeElapsed) echo 'ADD SPOTTER DATA : Time elapsed for getAllAirportInfo : '.round(microtime(true)-$timeelapsed,2).'s'."\n"; |
| 3026 |
|
} |
| 3027 |
|
} |
| 3028 |
|
|
| 3029 |
|
//getting the arrival airport information |
| 3030 |
|
if ($arrival_airport_icao != "") |
|
@@ 3030-3040 (lines=11) @@
|
| 3027 |
|
} |
| 3028 |
|
|
| 3029 |
|
//getting the arrival airport information |
| 3030 |
|
if ($arrival_airport_icao != "") |
| 3031 |
|
{ |
| 3032 |
|
if (!is_string($arrival_airport_icao)) |
| 3033 |
|
{ |
| 3034 |
|
return false; |
| 3035 |
|
} else { |
| 3036 |
|
$timeelapsed = microtime(true); |
| 3037 |
|
$arrival_airport_array = $this->getAllAirportInfo($arrival_airport_icao); |
| 3038 |
|
if ($globalDebugTimeElapsed) echo 'ADD SPOTTER DATA : Time elapsed for getAllAirportInfo : '.round(microtime(true)-$timeelapsed,2).'s'."\n"; |
| 3039 |
|
} |
| 3040 |
|
} |
| 3041 |
|
|
| 3042 |
|
|
| 3043 |
|
if ($latitude != "") |