|
@@ 621-627 (lines=7) @@
|
| 618 |
|
} |
| 619 |
|
} |
| 620 |
|
} |
| 621 |
|
if (isset($globalAirlineIgnore) && is_array($globalAirlineIgnore)) { |
| 622 |
|
foreach($globalAirlineIgnore as $airlineIgnore) { |
| 623 |
|
if ((is_numeric(substr(substr($this->all_flights[$id]['ident'],0,4),-1,1)) && substr($this->all_flights[$id]['ident'],0,3) == $airlineIgnore) || (is_numeric(substr(substr($this->all_flights[$id]['ident'],0,3),-1,1)) && substr($this->all_flights[$id]['ident'],0,2) == $airlineIgnore)) { |
| 624 |
|
$ignoreImport = true; |
| 625 |
|
} |
| 626 |
|
} |
| 627 |
|
} |
| 628 |
|
if (isset($globalAirlineAccept) && count($globalAirlineAccept) > 0) { |
| 629 |
|
$ignoreImport = true; |
| 630 |
|
foreach($globalAirlineAccept as $airlineAccept) { |
|
@@ 628-635 (lines=8) @@
|
| 625 |
|
} |
| 626 |
|
} |
| 627 |
|
} |
| 628 |
|
if (isset($globalAirlineAccept) && count($globalAirlineAccept) > 0) { |
| 629 |
|
$ignoreImport = true; |
| 630 |
|
foreach($globalAirlineAccept as $airlineAccept) { |
| 631 |
|
if ((is_numeric(substr(substr($this->all_flights[$id]['ident'],0,4),-1,1)) && substr($this->all_flights[$id]['ident'],0,3) == $airlineAccept) || (is_numeric(substr(substr($this->all_flights[$id]['ident'],0,3),-1,1)) && substr($this->all_flights[$id]['ident'],0,2) == $airlineAccept)) { |
| 632 |
|
$ignoreImport = false; |
| 633 |
|
} |
| 634 |
|
} |
| 635 |
|
} |
| 636 |
|
if (isset($globalPilotIdAccept) && count($globalPilotIdAccept) > 0) { |
| 637 |
|
$ignoreImport = true; |
| 638 |
|
foreach($globalPilotIdAccept as $pilotIdAccept) { |
|
@@ 754-760 (lines=7) @@
|
| 751 |
|
} |
| 752 |
|
} |
| 753 |
|
} |
| 754 |
|
if (isset($globalAirlineIgnore) && is_array($globalAirlineIgnore)) { |
| 755 |
|
foreach($globalAirlineIgnore as $airlineIgnore) { |
| 756 |
|
if ((is_numeric(substr(substr($this->all_flights[$id]['ident'],0,4),-1,1)) && substr($this->all_flights[$id]['ident'],0,3) == $airlineIgnore) || (is_numeric(substr(substr($this->all_flights[$id]['ident'],0,3),-1,1)) && substr($this->all_flights[$id]['ident'],0,2) == $airlineIgnore)) { |
| 757 |
|
$ignoreImport = true; |
| 758 |
|
} |
| 759 |
|
} |
| 760 |
|
} |
| 761 |
|
if (isset($globalAirlineAccept) && count($globalAirlineAccept) > 0) { |
| 762 |
|
$ignoreImport = true; |
| 763 |
|
foreach($globalAirlineAccept as $airlineAccept) { |
|
@@ 761-768 (lines=8) @@
|
| 758 |
|
} |
| 759 |
|
} |
| 760 |
|
} |
| 761 |
|
if (isset($globalAirlineAccept) && count($globalAirlineAccept) > 0) { |
| 762 |
|
$ignoreImport = true; |
| 763 |
|
foreach($globalAirlineAccept as $airlineAccept) { |
| 764 |
|
if ((is_numeric(substr(substr($this->all_flights[$id]['ident'],0,4),-1,1)) && substr($this->all_flights[$id]['ident'],0,3) == $airlineAccept) || (is_numeric(substr(substr($this->all_flights[$id]['ident'],0,3),-1,1)) && substr($this->all_flights[$id]['ident'],0,2) == $airlineAccept)) { |
| 765 |
|
$ignoreImport = false; |
| 766 |
|
} |
| 767 |
|
} |
| 768 |
|
} |
| 769 |
|
if (isset($globalPilotIdAccept) && count($globalPilotIdAccept) > 0) { |
| 770 |
|
$ignoreImport = true; |
| 771 |
|
foreach($globalPilotIdAccept as $pilotIdAccept) { |