| @@ 592-601 (lines=10) @@ | ||
| 589 | } |
|
| 590 | } |
|
| 591 | ||
| 592 | if ($airport != "") |
|
| 593 | { |
|
| 594 | $airport = filter_var($airport,FILTER_SANITIZE_STRING); |
|
| 595 | if (!is_string($airport)) |
|
| 596 | { |
|
| 597 | return false; |
|
| 598 | } else { |
|
| 599 | $additional_query .= " AND ((spotter_archive_output.departure_airport_icao = '".$airport."') OR (spotter_archive_output.arrival_airport_icao = '".$airport."'))"; |
|
| 600 | } |
|
| 601 | } |
|
| 602 | ||
| 603 | if ($airport_country != "") |
|
| 604 | { |
|
| @@ 603-612 (lines=10) @@ | ||
| 600 | } |
|
| 601 | } |
|
| 602 | ||
| 603 | if ($airport_country != "") |
|
| 604 | { |
|
| 605 | $airport_country = filter_var($airport_country,FILTER_SANITIZE_STRING); |
|
| 606 | if (!is_string($airport_country)) |
|
| 607 | { |
|
| 608 | return false; |
|
| 609 | } else { |
|
| 610 | $additional_query .= " AND ((spotter_archive_output.departure_airport_country = '".$airport_country."') OR (spotter_archive_output.arrival_airport_country = '".$airport_country."'))"; |
|
| 611 | } |
|
| 612 | } |
|
| 613 | ||
| 614 | if ($callsign != "") |
|
| 615 | { |
|