@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | </ul> |
| 80 | 80 | </li> |
| 81 | 81 | <?php |
| 82 | - if (isset($globalAccidents) && $globalAccidents) { |
|
| 82 | + if (isset($globalAccidents) && $globalAccidents) { |
|
| 83 | 83 | ?> |
| 84 | 84 | <li class="dropdown"> |
| 85 | 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="#"> |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | </ul> |
| 92 | 92 | </li> |
| 93 | 93 | <?php |
| 94 | - } |
|
| 94 | + } |
|
| 95 | 95 | ?> |
| 96 | 96 | </ul> |
| 97 | 97 | </div> |
| 98 | 98 | \ No newline at end of file |
@@ -14,7 +14,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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"> |