Merge pull request #456 from Struart88/patch-2
[FlightAirMap.git] / ident-sub-menu.php
blob39180fa35e669eb342df5d6590d633994ecc0391
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; ?>/ident/<?php print $ident; ?>" <?php if (strtolower($current_page) == "ident-detailed"){ print 'class="active"'; } ?>><?php echo _("Detailed"); ?></a></li>
7 <li class="dropdown">
8 <a class="dropdown-toggle <?php if(strtolower($current_page) == "ident-statistics-aircraft" || strtolower($current_page) == "ident-statistics-registration" || strtolower($current_page) == "ident-statistics-manufacturer"){ print 'active'; } ?>" data-toggle="dropdown" href="#">
9 <?php echo _("Aircraft"); ?> <span class="caret"></span>
10 </a>
11 <ul class="dropdown-menu" role="menu">
12 <li><a href="<?php print $globalURL; ?>/ident/statistics/aircraft/<?php print $ident; ?>"><?php echo _("Aircraft Type"); ?></a></li>
13 <li><a href="<?php print $globalURL; ?>/ident/statistics/registration/<?php print $ident; ?>"><?php echo _("Registration"); ?></a></li>
14 <li><a href="<?php print $globalURL; ?>/ident/statistics/manufacturer/<?php print $ident; ?>"><?php echo _("Manufacturer"); ?></a></li>
15 </ul>
16 </li>
17 <li class="dropdown">
18 <a class="dropdown-toggle <?php if(strtolower($current_page) == "ident-statistics-departure-airport" || strtolower($current_page) == "ident-statistics-departure-airport-country" || strtolower($current_page) == "ident-statistics-arrival-airport" || strtolower($current_page) == "ident-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; ?>/ident/statistics/departure-airport/<?php print $ident; ?>"><?php echo _("Departure Airport"); ?></a></li>
23 <li><a href="<?php print $globalURL; ?>/ident/statistics/departure-airport-country/<?php print $ident; ?>"><?php echo _("Departure Airport by Country"); ?></a></li>
24 <li><a href="<?php print $globalURL; ?>/ident/statistics/arrival-airport/<?php print $ident; ?>"><?php echo _("Arrival Airport"); ?></a></li>
25 <li><a href="<?php print $globalURL; ?>/ident/statistics/arrival-airport-country/<?php print $ident; ?>"><?php echo _("Arrival Airport by Country"); ?></a></li>
26 </ul>
27 </li>
28 <li><a href="<?php print $globalURL; ?>/ident/statistics/route/<?php print $ident; ?>" <?php if (strtolower($current_page) == "ident-statistics-route"){ print 'class="active"'; } ?>><?php echo _("Route"); ?></a></li>
29 <li><a href="<?php print $globalURL; ?>/ident/statistics/time/<?php print $ident; ?>" <?php if (strtolower($current_page) == "ident-statistics-time"){ print 'class="active"'; } ?>><?php echo _("Time"); ?></a></li>
30 </ul>
31 </div>