@@ -7,14 +7,14 @@ discard block |
||
7 | 7 | header('Location: '.$globalURL.'/aircraft'); |
8 | 8 | die(); |
9 | 9 | } |
10 | -$aircraft_type = filter_input(INPUT_GET,'aircraft_type',FILTER_SANITIZE_STRING); |
|
10 | +$aircraft_type = filter_input(INPUT_GET, 'aircraft_type', FILTER_SANITIZE_STRING); |
|
11 | 11 | $Spotter = new Spotter(); |
12 | -$spotter_array = $Spotter->getSpotterDataByAircraft($aircraft_type,"0,1",""); |
|
12 | +$spotter_array = $Spotter->getSpotterDataByAircraft($aircraft_type, "0,1", ""); |
|
13 | 13 | |
14 | 14 | |
15 | 15 | if (!empty($spotter_array)) |
16 | 16 | { |
17 | - $title = sprintf(_("Most Common Departure Airports by Country for %s (%s)"),$spotter_array[0]['aircraft_name'],$spotter_array[0]['aircraft_type']); |
|
17 | + $title = sprintf(_("Most Common Departure Airports by Country for %s (%s)"), $spotter_array[0]['aircraft_name'], $spotter_array[0]['aircraft_type']); |
|
18 | 18 | require_once('header.php'); |
19 | 19 | print '<div class="select-item">'; |
20 | 20 | print '<form action="'.$globalURL.'/aircraft" method="get">'; |
@@ -23,9 +23,9 @@ discard block |
||
23 | 23 | $Stats = new Stats(); |
24 | 24 | $aircraft_types = $Stats->getAllAircraftTypes(); |
25 | 25 | if (empty($aircraft_types)) $aircraft_types = $Spotter->getAllAircraftTypes(); |
26 | - foreach($aircraft_types as $aircrafttype) |
|
26 | + foreach ($aircraft_types as $aircrafttype) |
|
27 | 27 | { |
28 | - if($aircraft_type == $aircrafttype['aircraft_icao']) |
|
28 | + if ($aircraft_type == $aircrafttype['aircraft_icao']) |
|
29 | 29 | { |
30 | 30 | print '<option value="'.$aircrafttype['aircraft_icao'].'" selected="selected">'.$aircrafttype['aircraft_name'].' ('.$aircrafttype['aircraft_icao'].')</option>'; |
31 | 31 | } else { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | include('aircraft-sub-menu.php'); |
52 | 52 | print '<div class="column">'; |
53 | 53 | print '<h2>'._("Most Common Departure Airports by Country").'</h2>'; |
54 | - print '<p>'.sprintf(_("The statistic below shows all departure airports by Country of origin of flights from <strong>%s (%s)</strong>."),$spotter_array[0]['aircraft_name'],$spotter_array[0]['aircraft_type']).'</p>'; |
|
54 | + print '<p>'.sprintf(_("The statistic below shows all departure airports by Country of origin of flights from <strong>%s (%s)</strong>."), $spotter_array[0]['aircraft_name'], $spotter_array[0]['aircraft_type']).'</p>'; |
|
55 | 55 | $airport_country_array = $Spotter->countAllDepartureAirportCountriesByAircraft($aircraft_type); |
56 | 56 | print '<script type="text/javascript" src="'.$globalURL.'/js/d3.min.js"></script>'; |
57 | 57 | print '<script type="text/javascript" src="'.$globalURL.'/js/topojson.v2.min.js"></script>'; |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | print '<div id="chartCountry" class="chart" width="100%"></div><script>'; |
60 | 60 | print 'var series = ['; |
61 | 61 | $country_data = ''; |
62 | - foreach($airport_country_array as $airport_item) |
|
62 | + foreach ($airport_country_array as $airport_item) |
|
63 | 63 | { |
64 | 64 | $country_data .= '[ "'.$airport_item['departure_airport_country_iso3'].'",'.$airport_item['airport_departure_country_count'].'],'; |
65 | 65 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | print '</thead>'; |
108 | 108 | print '<tbody>'; |
109 | 109 | $i = 1; |
110 | - foreach($airport_country_array as $airport_item) |
|
110 | + foreach ($airport_country_array as $airport_item) |
|
111 | 111 | { |
112 | 112 | print '<tr>'; |
113 | 113 | print '<td><strong>'.$i.'</strong></td>'; |
@@ -5,11 +5,11 @@ |
||
5 | 5 | |
6 | 6 | if (isset($_POST['aircraft_manufacturer']) && $_POST['aircraft_manufacturer'] != '') |
7 | 7 | { |
8 | - $aircraft_manufacturer = filter_input(INPUT_POST,'aircraft_manufacturer',FILTER_SANITIZE_STRING); |
|
8 | + $aircraft_manufacturer = filter_input(INPUT_POST, 'aircraft_manufacturer', FILTER_SANITIZE_STRING); |
|
9 | 9 | header('Location: '.$globalURL.'/manufacturer/'.$aircraft_manufacturer); |
10 | 10 | } elseif (isset($_GET['aircraft_manufacturer']) && $_GET['aircraft_manufacturer'] != '') |
11 | 11 | { |
12 | - $aircraft_manufacturer = filter_input(INPUT_GET,'aircraft_manufacturer',FILTER_SANITIZE_STRING); |
|
12 | + $aircraft_manufacturer = filter_input(INPUT_GET, 'aircraft_manufacturer', FILTER_SANITIZE_STRING); |
|
13 | 13 | header('Location: '.$globalURL.'/manufacturer/'.$aircraft_manufacturer); |
14 | 14 | } else { |
15 | 15 | if ($globalURL == '') { |
@@ -5,14 +5,14 @@ |
||
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | |
7 | 7 | header('Content-Type: text/javascript'); |
8 | -$q = filter_input(INPUT_GET,'q',FILTER_SANITIZE_STRING); |
|
8 | +$q = filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING); |
|
9 | 9 | $SpotterLive = new SpotterLive(); |
10 | 10 | $spotter_array = $SpotterLive->getRealTimeData($q); |
11 | 11 | |
12 | 12 | $output = '{'; |
13 | 13 | $output .= '"flights": ['; |
14 | 14 | if (!empty($spotter_array)) { |
15 | - foreach($spotter_array as $spotter_item) |
|
15 | + foreach ($spotter_array as $spotter_item) |
|
16 | 16 | { |
17 | 17 | $output .= '{'; |
18 | 18 | $output .= '"flight_id": "'.$spotter_item['spotter_id'].'",'; |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | <?php |
30 | 30 | if (isset($_GET['q'])) |
31 | 31 | { |
32 | - $q = filter_input(INPUT_GET,'q',FILTER_SANITIZE_STRING); |
|
32 | + $q = filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING); |
|
33 | 33 | $spotter_array = $Spotter->searchSpotterData($q, "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "0,10", "", ""); |
34 | 34 | } else { |
35 | 35 | $spotter_array = $Spotter->getLatestSpotterData("0,10", ""); |
@@ -148,18 +148,18 @@ discard block |
||
148 | 148 | |
149 | 149 | <?php |
150 | 150 | if (isset($_GET['image']) && isset($_GET['q'])) { |
151 | - $image = filter_input(INPUT_GET,'image',FILTER_SANITIZE_STRING); |
|
152 | - $q = filter_input(INPUT_GET,'q',FILTER_SANITIZE_STRING); |
|
151 | + $image = filter_input(INPUT_GET, 'image', FILTER_SANITIZE_STRING); |
|
152 | + $q = filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING); |
|
153 | 153 | ?> |
154 | 154 | $.getJSON( "<?php print $globalURL; ?>/getLatestData-tv.php?other_i="+other_i+"&image=<?php print $image; ?>&q=<?php print $q; ?>", function( data ) { |
155 | 155 | <?php |
156 | 156 | } elseif (isset($_GET['image'])) { |
157 | - $image = filter_input(INPUT_GET,'image',FILTER_SANITIZE_STRING); |
|
157 | + $image = filter_input(INPUT_GET, 'image', FILTER_SANITIZE_STRING); |
|
158 | 158 | ?> |
159 | 159 | $.getJSON( "<?php print $globalURL; ?>/getLatestData-tv.php?other_i="+other_i+"&image=<?php print $image; ?>", function( data ) { |
160 | 160 | <?php |
161 | 161 | } elseif (isset($_GET['q'])) { |
162 | - $q = filter_input(INPUT_GET,'q',FILTER_SANITIZE_STRING); |
|
162 | + $q = filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING); |
|
163 | 163 | ?> |
164 | 164 | $.getJSON( "<?php print $globalURL; ?>/getLatestData-tv.php?other_i="+other_i+"&q=<?php print $q; ?>", function( data ) { |
165 | 165 | <?php |
@@ -10,24 +10,24 @@ discard block |
||
10 | 10 | |
11 | 11 | if (isset($_GET['coord'])) |
12 | 12 | { |
13 | - $coords = explode(',',$_GET['coord']); |
|
13 | + $coords = explode(',', $_GET['coord']); |
|
14 | 14 | if (isset($_COOKIE['notamscope']) && $_COOKIE['notamscope'] != '' && $_COOKIE['notamscope'] != 'All') { |
15 | - $scope = filter_var($_COOKIE['notamscope'],FILTER_SANITIZE_STRING); |
|
16 | - $spotter_array = $NOTAM->getAllNOTAMbyCoordScope($coords,$scope); |
|
15 | + $scope = filter_var($_COOKIE['notamscope'], FILTER_SANITIZE_STRING); |
|
16 | + $spotter_array = $NOTAM->getAllNOTAMbyCoordScope($coords, $scope); |
|
17 | 17 | } elseif (isset($_GET['scope']) && $_GET['scope'] != '' && $_GET['scope'] != 'All') { |
18 | - $scope = filter_input(INPUT_GET,'scope',FILTER_SANITIZE_STRING); |
|
19 | - $spotter_array = $NOTAM->getAllNOTAMbyCoordScope($coords,$scope); |
|
18 | + $scope = filter_input(INPUT_GET, 'scope', FILTER_SANITIZE_STRING); |
|
19 | + $spotter_array = $NOTAM->getAllNOTAMbyCoordScope($coords, $scope); |
|
20 | 20 | } else { |
21 | 21 | $spotter_array = $NOTAM->getAllNOTAMbyCoord($coords); |
22 | 22 | } |
23 | 23 | // $spotter_array = $NOTAM->getAllNOTAM(); |
24 | 24 | } else { |
25 | 25 | if (isset($_COOKIE['notamscope']) && $_COOKIE['notamscope'] != '' && $_COOKIE['notamscope'] != 'All') { |
26 | - $scope = filter_var($_COOKIE['notamscope'],FILTER_SANITIZE_STRING); |
|
26 | + $scope = filter_var($_COOKIE['notamscope'], FILTER_SANITIZE_STRING); |
|
27 | 27 | $spotter_array = $NOTAM->getAllNOTAMbyScope($scope); |
28 | 28 | } elseif (isset($_GET['scope']) && $_GET['scope'] != '' && $_GET['scope'] != 'All') { |
29 | - $scope = filter_input(INPUT_GET,'scope',FILTER_SANITIZE_STRING); |
|
30 | - $spotter_array = $NOTAM->getAllNOTAMbyCoordScope($coords,$scope); |
|
29 | + $scope = filter_input(INPUT_GET, 'scope', FILTER_SANITIZE_STRING); |
|
30 | + $spotter_array = $NOTAM->getAllNOTAMbyCoordScope($coords, $scope); |
|
31 | 31 | } else { |
32 | 32 | $spotter_array = $NOTAM->getAllNOTAM(); |
33 | 33 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | if (!empty($spotter_array)) |
39 | 39 | { |
40 | - foreach($spotter_array as $spotter_item) |
|
40 | + foreach ($spotter_array as $spotter_item) |
|
41 | 41 | { |
42 | 42 | date_default_timezone_set('UTC'); |
43 | 43 | //waypoint plotting |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $output .= '"ref": "'.$spotter_item['ref'].'",'; |
47 | 47 | $output .= '"title": "'.$spotter_item['title'].'",'; |
48 | 48 | $output .= '"fir": "'.$spotter_item['fir'].'",'; |
49 | - $output .= '"text": "'.str_replace(array("\r\n", "\r", "\n"),'<br />',str_replace(array('"',"\t"), '',$spotter_item['notam_text'])).'",'; |
|
49 | + $output .= '"text": "'.str_replace(array("\r\n", "\r", "\n"), '<br />', str_replace(array('"', "\t"), '', $spotter_item['notam_text'])).'",'; |
|
50 | 50 | $output .= '"latitude": '.$spotter_item['center_latitude'].','; |
51 | 51 | $output .= '"longitude": '.$spotter_item['center_longitude'].','; |
52 | 52 | $output .= '"lower_limit": '.$spotter_item['lower_limit'].','; |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $output .= '}'; |
86 | 86 | $output .= '},'; |
87 | 87 | } |
88 | - $output = substr($output, 0, -1); |
|
88 | + $output = substr($output, 0, -1); |
|
89 | 89 | } |
90 | 90 | $output .= ']}'; |
91 | 91 |
@@ -5,16 +5,16 @@ discard block |
||
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | $Marine = new Marine(); |
7 | 7 | $type = 'marine'; |
8 | -if (!isset($_GET['type'])){ |
|
8 | +if (!isset($_GET['type'])) { |
|
9 | 9 | header('Location: '.$globalURL.'/'); |
10 | 10 | } else { |
11 | 11 | //calculuation for the pagination |
12 | - if(!isset($_GET['limit']) || count(explode(",", $_GET['limit'])) < 2) |
|
12 | + if (!isset($_GET['limit']) || count(explode(",", $_GET['limit'])) < 2) |
|
13 | 13 | { |
14 | 14 | $limit_start = 0; |
15 | 15 | $limit_end = 25; |
16 | 16 | $absolute_difference = 25; |
17 | - } else { |
|
17 | + } else { |
|
18 | 18 | $limit_explode = explode(",", $_GET['limit']); |
19 | 19 | $limit_start = $limit_explode[0]; |
20 | 20 | $limit_end = $limit_explode[1]; |
@@ -28,14 +28,14 @@ discard block |
||
28 | 28 | $limit_previous_1 = $limit_start - $absolute_difference; |
29 | 29 | $limit_previous_2 = $limit_end - $absolute_difference; |
30 | 30 | |
31 | - $marine_type = filter_input(INPUT_GET,'type',FILTER_SANITIZE_STRING); |
|
31 | + $marine_type = filter_input(INPUT_GET, 'type', FILTER_SANITIZE_STRING); |
|
32 | 32 | $page_url = $globalURL.'/marine/type/'.$marine_type; |
33 | - $sort = htmlspecialchars(filter_input(INPUT_GET,'sort',FILTER_SANITIZE_STRING)); |
|
34 | - $spotter_array = $Marine->getMarineDataByType($marine_type,$limit_start.",".$absolute_difference, $sort); |
|
33 | + $sort = htmlspecialchars(filter_input(INPUT_GET, 'sort', FILTER_SANITIZE_STRING)); |
|
34 | + $spotter_array = $Marine->getMarineDataByType($marine_type, $limit_start.",".$absolute_difference, $sort); |
|
35 | 35 | |
36 | 36 | if (!empty($spotter_array)) |
37 | 37 | { |
38 | - $title = sprintf(_("Detailed View for %s"),$spotter_array[0]['type']); |
|
38 | + $title = sprintf(_("Detailed View for %s"), $spotter_array[0]['type']); |
|
39 | 39 | require_once('header.php'); |
40 | 40 | |
41 | 41 | print '<div class="info column">'; |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | //include('aircraft-sub-menu.php'); |
46 | 46 | print '<div class="table column">'; |
47 | - print '<p>'.sprintf(_("The table below shows the detailed information of all marine of type <strong>%s</strong>."),$spotter_array[0]['type']).'</p>'; |
|
47 | + print '<p>'.sprintf(_("The table below shows the detailed information of all marine of type <strong>%s</strong>."), $spotter_array[0]['type']).'</p>'; |
|
48 | 48 | |
49 | 49 | include('table-output.php'); |
50 | 50 |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | |
7 | 7 | if (isset($_POST['category'])) |
8 | 8 | { |
9 | - $category = filter_input(INPUT_POST,'category',FILTER_SANITIZE_STRING); |
|
9 | + $category = filter_input(INPUT_POST, 'category', FILTER_SANITIZE_STRING); |
|
10 | 10 | header('Location: '.$globalURL.'/newest/'.$category); |
11 | 11 | } |
12 | 12 | |
@@ -14,18 +14,18 @@ discard block |
||
14 | 14 | require_once('header.php'); |
15 | 15 | |
16 | 16 | //calculuation for the pagination |
17 | -if(!isset($_GET['limit'])) |
|
17 | +if (!isset($_GET['limit'])) |
|
18 | 18 | { |
19 | 19 | $limit_start = 0; |
20 | 20 | $limit_end = 25; |
21 | 21 | $absolute_difference = 25; |
22 | -} else { |
|
22 | +} else { |
|
23 | 23 | $limit_explode = explode(",", $_GET['limit']); |
24 | 24 | $limit_start = $limit_explode[0]; |
25 | 25 | $limit_end = $limit_explode[1]; |
26 | 26 | } |
27 | 27 | |
28 | -$sort = filter_input(INPUT_GET,'sort',FILTER_SANITIZE_STRING); |
|
28 | +$sort = filter_input(INPUT_GET, 'sort', FILTER_SANITIZE_STRING); |
|
29 | 29 | |
30 | 30 | $absolute_difference = abs($limit_start - $limit_end); |
31 | 31 | $limit_next = $limit_end + $absolute_difference; |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | { |
37 | 37 | $category = "aircraft"; |
38 | 38 | } else { |
39 | - $category = filter_input(INPUT_GET,'category',FILTER_SANITIZE_STRING); |
|
39 | + $category = filter_input(INPUT_GET, 'category', FILTER_SANITIZE_STRING); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $page_url = $globalURL.'/newest/'.$category; |
@@ -14,18 +14,18 @@ discard block |
||
14 | 14 | else $type = 'global'; |
15 | 15 | |
16 | 16 | //calculuation for the pagination |
17 | -if(!isset($_GET['limit'])) |
|
17 | +if (!isset($_GET['limit'])) |
|
18 | 18 | { |
19 | 19 | $limit_start = 0; |
20 | 20 | $limit_end = 25; |
21 | 21 | $absolute_difference = 25; |
22 | -} else { |
|
22 | +} else { |
|
23 | 23 | $limit_explode = explode(",", $_GET['limit']); |
24 | 24 | $limit_start = $limit_explode[0]; |
25 | 25 | $limit_end = $limit_explode[1]; |
26 | 26 | } |
27 | 27 | |
28 | -$sort = filter_input(INPUT_GET,'sort',FILTER_SANITIZE_STRING); |
|
28 | +$sort = filter_input(INPUT_GET, 'sort', FILTER_SANITIZE_STRING); |
|
29 | 29 | |
30 | 30 | $absolute_difference = abs($limit_start - $limit_end); |
31 | 31 | $limit_next = $limit_end + $absolute_difference; |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | if (!empty($anews)) |
60 | 60 | { |
61 | 61 | $j = 0; |
62 | - foreach($anews as $news) { |
|
62 | + foreach ($anews as $news) { |
|
63 | 63 | if ($j > 10) break; |
64 | 64 | $j++; |
65 | 65 | print '<div class="news">'; |
@@ -11,9 +11,9 @@ discard block |
||
11 | 11 | ?> |
12 | 12 | <div class="sub-menu sub-menu-container"> |
13 | 13 | <ul class="nav nav-pills"> |
14 | - <li><a href="<?php print $globalURL; ?>/owner/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>" <?php if (strtolower($current_page) == "owner-detailed"){ print 'class="active"'; } ?>><?php echo _("Detailed"); ?></a></li> |
|
14 | + <li><a href="<?php print $globalURL; ?>/owner/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>" <?php if (strtolower($current_page) == "owner-detailed") { print 'class="active"'; } ?>><?php echo _("Detailed"); ?></a></li> |
|
15 | 15 | <li class="dropdown"> |
16 | - <a class="dropdown-toggle <?php if(strtolower($current_page) == "owner-statistics-aircraft" || strtolower($current_page) == "owner-statistics-registration" || strtolower($current_page) == "owner-statistics-manufacturer"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
16 | + <a class="dropdown-toggle <?php if (strtolower($current_page) == "owner-statistics-aircraft" || strtolower($current_page) == "owner-statistics-registration" || strtolower($current_page) == "owner-statistics-manufacturer") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
17 | 17 | <?php echo _("Aircraft"); ?> <span class="caret"></span> |
18 | 18 | </a> |
19 | 19 | <ul class="dropdown-menu" role="menu"> |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | </ul> |
24 | 24 | </li> |
25 | 25 | <li class="dropdown"> |
26 | - <a class="dropdown-toggle <?php if(strtolower($current_page) == "owner-statistics-departure-airport" || strtolower($current_page) == "owner-statistics-departure-airport-country" || strtolower($current_page) == "owner-statistics-arrival-airport" || strtolower($current_page) == "owner-statistics-arrival-airport-country"){ print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
26 | + <a class="dropdown-toggle <?php if (strtolower($current_page) == "owner-statistics-departure-airport" || strtolower($current_page) == "owner-statistics-departure-airport-country" || strtolower($current_page) == "owner-statistics-arrival-airport" || strtolower($current_page) == "owner-statistics-arrival-airport-country") { print 'active'; } ?>" data-toggle="dropdown" href="#"> |
|
27 | 27 | <?php echo _("Airport"); ?> <span class="caret"></span> |
28 | 28 | </a> |
29 | 29 | <ul class="dropdown-menu" role="menu"> |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | <li><a href="<?php print $globalURL; ?>/owner/statistics/arrival-airport-country/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>"><?php echo _("Arrival Airport by Country"); ?></a></li> |
34 | 34 | </ul> |
35 | 35 | </li> |
36 | - <li><a href="<?php print $globalURL; ?>/owner/statistics/route/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>" <?php if (strtolower($current_page) == "owner-statistics-route"){ print 'class="active"'; } ?>><?php echo _("Route"); ?></a></li> |
|
37 | - <li><a href="<?php print $globalURL; ?>/owner/statistics/time/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>" <?php if (strtolower($current_page) == "owner-statistics-time"){ print 'class="active"'; } ?>><?php echo _("Time"); ?></a></li> |
|
36 | + <li><a href="<?php print $globalURL; ?>/owner/statistics/route/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>" <?php if (strtolower($current_page) == "owner-statistics-route") { print 'class="active"'; } ?>><?php echo _("Route"); ?></a></li> |
|
37 | + <li><a href="<?php print $globalURL; ?>/owner/statistics/time/<?php print $owner; ?><?php if (isset($year) && $year != '') echo '/'.$year; ?><?php if (isset($month) && $month != '') echo '/'.$month; ?>" <?php if (strtolower($current_page) == "owner-statistics-time") { print 'class="active"'; } ?>><?php echo _("Time"); ?></a></li> |
|
38 | 38 | </ul> |
39 | 39 | </div> |
40 | 40 | <?php |