|
@@ -14,7 +14,7 @@ discard block |
|
|
block discarded – undo |
|
14
|
14
|
} else { |
|
15
|
15
|
print '<option value="all">All</option>'; |
|
16
|
16
|
} |
|
17
|
|
- foreach($airlines as $airline) { |
|
|
17
|
+ foreach ($airlines as $airline) { |
|
18
|
18
|
if (isset($airline_icao) && $airline_icao == $airline['airline_icao']) { |
|
19
|
19
|
print '<option value="'.$airline['airline_icao'].'" selected>'.$airline['airline_name'].'</option>'; |
|
20
|
20
|
} else { |
|
@@ -29,7 +29,7 @@ discard block |
|
|
block discarded – undo |
|
29
|
29
|
<div class="sub-menu sub-menu-container"> |
|
30
|
30
|
<ul class="nav"> |
|
31
|
31
|
<li class="dropdown"> |
|
32
|
|
- <a class="dropdown-toggle <?php if(strtolower($current_page) == "statistics-aircraft" || strtolower($current_page) == "statistics-registration" || strtolower($current_page) == "statistics-manufacturer"){ print 'active'; } ?>" data-toggle="dropdown" href="#" > |
|
|
32
|
+ <a class="dropdown-toggle <?php if (strtolower($current_page) == "statistics-aircraft" || strtolower($current_page) == "statistics-registration" || strtolower($current_page) == "statistics-manufacturer") { print 'active'; } ?>" data-toggle="dropdown" href="#" > |
|
33
|
33
|
<?php echo _("Aircraft"); ?> <span class="caret"></span> |
|
34
|
34
|
</a> |
|
35
|
35
|
<ul class="dropdown-menu"> |
|
@@ -40,7 +40,7 @@ discard block |
|
|
block discarded – undo |
|
40
|
40
|
</ul> |
|
41
|
41
|
</li> |
|
42
|
42
|
<li class="dropdown"> |
|
43
|
|
- <a class="dropdown-toggle <?php if(strtolower($current_page) == "statistics-airline" || strtolower($current_page) == "statistics-airline-country" || strtolower($current_page) == "statistics-callsign"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
|
43
|
+ <a class="dropdown-toggle <?php if (strtolower($current_page) == "statistics-airline" || strtolower($current_page) == "statistics-airline-country" || strtolower($current_page) == "statistics-callsign") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
44
|
44
|
<?php echo _("Airline"); ?> <span class="caret"></span> |
|
45
|
45
|
</a> |
|
46
|
46
|
<ul class="dropdown-menu" role="menu"> |
|
@@ -50,7 +50,7 @@ discard block |
|
|
block discarded – undo |
|
50
|
50
|
</ul> |
|
51
|
51
|
</li> |
|
52
|
52
|
<li class="dropdown"> |
|
53
|
|
- <a class="dropdown-toggle <?php if(strtolower($current_page) == "statistics-airport-departure" || strtolower($current_page) == "statistics-airport-departure-country" || strtolower($current_page) == "statistics-airport-arrival" || strtolower($current_page) == "statistics-airport-arrival-country"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
|
53
|
+ <a class="dropdown-toggle <?php if (strtolower($current_page) == "statistics-airport-departure" || strtolower($current_page) == "statistics-airport-departure-country" || strtolower($current_page) == "statistics-airport-arrival" || strtolower($current_page) == "statistics-airport-arrival-country") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
54
|
54
|
<?php echo _("Airport"); ?> <span class="caret"></span> |
|
55
|
55
|
</a> |
|
56
|
56
|
<ul class="dropdown-menu" role="menu"> |
|
@@ -61,7 +61,7 @@ discard block |
|
|
block discarded – undo |
|
61
|
61
|
</ul> |
|
62
|
62
|
</li> |
|
63
|
63
|
<li class="dropdown"> |
|
64
|
|
- <a class="dropdown-toggle <?php if(strtolower($current_page) == "statistics-route-airport" || strtolower($current_page) == "statistics-route-waypoint"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
|
64
|
+ <a class="dropdown-toggle <?php if (strtolower($current_page) == "statistics-route-airport" || strtolower($current_page) == "statistics-route-waypoint") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
65
|
65
|
<?php echo _("Route"); ?> <span class="caret"></span> |
|
66
|
66
|
</a> |
|
67
|
67
|
<ul class="dropdown-menu" role="menu"> |
|
@@ -70,7 +70,7 @@ discard block |
|
|
block discarded – undo |
|
70
|
70
|
</ul> |
|
71
|
71
|
</li> |
|
72
|
72
|
<li class="dropdown"> |
|
73
|
|
- <a class="dropdown-toggle <?php if(strtolower($current_page) == "statistics-date" || strtolower($current_page) == "statistics-time"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
|
73
|
+ <a class="dropdown-toggle <?php if (strtolower($current_page) == "statistics-date" || strtolower($current_page) == "statistics-time") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
74
|
74
|
<?php echo _("Date & Time"); ?> <span class="caret"></span> |
|
75
|
75
|
</a> |
|
76
|
76
|
<ul class="dropdown-menu" role="menu"> |
|
@@ -82,7 +82,7 @@ discard block |
|
|
block discarded – undo |
|
82
|
82
|
if (isset($globalAccidents) && $globalAccidents) { |
|
83
|
83
|
?> |
|
84
|
84
|
<li class="dropdown"> |
|
85
|
|
- <a class="dropdown-toggle <?php if(strtolower($current_page) == "statistics-fatalities-year" || strtolower($current_page) == "statistics-fatalities-month"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
|
85
|
+ <a class="dropdown-toggle <?php if (strtolower($current_page) == "statistics-fatalities-year" || strtolower($current_page) == "statistics-fatalities-month") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
86
|
86
|
<?php echo _("Fatalities"); ?> <span class="caret"></span> |
|
87
|
87
|
</a> |
|
88
|
88
|
<ul class="dropdown-menu" role="menu"> |