Merge pull request #456 from Struart88/patch-2
[FlightAirMap.git] / aircraft-sub-menu.php
blob64d31982012c2173409348d80a3de9e2139a9584
1 <span class="sub-menu-statistic column mobile">
2 <a href="#" onclick="showSubMenu(); return false;"><?php echo _("Statistics"); ?> <i class="fa fa-plus"></i></a>
3 </span>
4 <div class="sub-menu sub-menu-container">
5 <ul class="nav nav-pills">
6 <li><a href="<?php print $globalURL; ?>/aircraft/<?php print $aircraft_type; ?>" <?php if (strtolower($current_page) == "aircraft-detailed"){ print 'class="active"'; } ?>><?php echo _("Detailed"); ?></a></li>
7 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/registration/<?php print $aircraft_type; ?>" <?php if (strtolower($current_page) == "aircraft-statistics-registration"){ print 'class="active"'; } ?>><?php echo _("Registration"); ?></a></li>
8 <li class="dropdown">
9 <a class="dropdown-toggle <?php if(strtolower($current_page) == "aircraft-statistics-airline" || strtolower($current_page) == "aircraft-statistics-airline-country"){ print 'active'; } ?>" data-toggle="dropdown" href="#">
10 <?php echo _("Airline"); ?> <span class="caret"></span>
11 </a>
12 <ul class="dropdown-menu" role="menu">
13 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/airline/<?php print $aircraft_type; ?>"><?php echo _("Airline"); ?></a></li>
14 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/airline-country/<?php print $aircraft_type; ?>"><?php echo _("Airline by Country"); ?></a></li>
15 </ul>
16 </li>
17 <li class="dropdown">
18 <a class="dropdown-toggle <?php if(strtolower($current_page) == "aircraft-statistics-departure-airport" || strtolower($current_page) == "aircraft-statistics-departure-airport-country" || strtolower($current_page) == "aircraft-statistics-arrival-airport" || strtolower($current_page) == "aircraft-statistics-arrival-airport-country"){ print 'active'; } ?>" data-toggle="dropdown" href="#">
19 <?php echo _("Airport"); ?> <span class="caret"></span>
20 </a>
21 <ul class="dropdown-menu" role="menu">
22 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/departure-airport/<?php print $aircraft_type; ?>"><?php echo _("Departure Airport"); ?></a></li>
23 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/departure-airport-country/<?php print $aircraft_type; ?>"><?php echo _("Departure Airport by Country"); ?></a></li>
24 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/arrival-airport/<?php print $aircraft_type; ?>"><?php echo _("Arrival Airport"); ?></a></li>
25 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/arrival-airport-country/<?php print $aircraft_type; ?>"><?php echo _("Arrival Airport by Country"); ?></a></li>
26 </ul>
27 </li>
28 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/route/<?php print $aircraft_type; ?>" <?php if (strtolower($current_page) == "aircraft-statistics-route"){ print 'class="active"'; } ?>><?php echo _("Route"); ?></a></li>
29 <li><a href="<?php print $globalURL; ?>/aircraft/statistics/time/<?php print $aircraft_type; ?>" <?php if (strtolower($current_page) == "aircraft-statistics-time"){ print 'class="active"'; } ?>><?php echo ("Time"); ?></a></li>
30 </ul>
31 </div>