|
@@ 21-25 (lines=5) @@
|
| 18 |
|
if(isset($spotter_array[0]['flightaware_id'])) { |
| 19 |
|
$flightaware_id = $spotter_array[0]['flightaware_id']; |
| 20 |
|
} |
| 21 |
|
if(isset($spotter_array[0]['last_latitude']) && $spotter_array[0]['last_latitude'] != '') { |
| 22 |
|
$latitude = $spotter_array[0]['last_latitude']; |
| 23 |
|
} elseif(isset($spotter_array[0]['latitude'])) { |
| 24 |
|
$latitude = $spotter_array[0]['latitude']; |
| 25 |
|
} |
| 26 |
|
if(isset($spotter_array[0]['last_longitude']) && $spotter_array[0]['last_longitude'] != '') { |
| 27 |
|
$longitude = $spotter_array[0]['last_longitude']; |
| 28 |
|
} elseif(isset($spotter_array[0]['longitude'])) { |
|
@@ 26-30 (lines=5) @@
|
| 23 |
|
} elseif(isset($spotter_array[0]['latitude'])) { |
| 24 |
|
$latitude = $spotter_array[0]['latitude']; |
| 25 |
|
} |
| 26 |
|
if(isset($spotter_array[0]['last_longitude']) && $spotter_array[0]['last_longitude'] != '') { |
| 27 |
|
$longitude = $spotter_array[0]['last_longitude']; |
| 28 |
|
} elseif(isset($spotter_array[0]['longitude'])) { |
| 29 |
|
$longitude = $spotter_array[0]['longitude']; |
| 30 |
|
} |
| 31 |
|
$title = ''; |
| 32 |
|
if(isset($spotter_array[0]['ident'])) { |
| 33 |
|
$title .= $spotter_array[0]['ident']; |