| @@ 49-79 (lines=31) @@ | ||
| 46 | }); |
|
| 47 | </script>'; |
|
| 48 | ||
| 49 | if (!empty($flightover_array)) |
|
| 50 | { |
|
| 51 | print '<div class="table-responsive">'; |
|
| 52 | print '<table class="common-countries table-striped">'; |
|
| 53 | print '<thead>'; |
|
| 54 | print '<th></th>'; |
|
| 55 | print '<th>'._("Name").'</th>'; |
|
| 56 | print '<th>'._("# of times").'</th>'; |
|
| 57 | print '</thead>'; |
|
| 58 | print '<tbody>'; |
|
| 59 | $i = 1; |
|
| 60 | foreach($flightover_array as $flightover_item) |
|
| 61 | { |
|
| 62 | print '<tr>'; |
|
| 63 | print '<td><strong>'.$i.'</strong></td>'; |
|
| 64 | print '<td>'; |
|
| 65 | /* print '<a href="'.$globalURL.'/ident/'.$callsign_item['callsign_icao'].'">'.$callsign_item['callsign_icao'].'</a>'; |
|
| 66 | print '</td>'; |
|
| 67 | print '<td>'; |
|
| 68 | print '<a href="'.$globalURL.'/airline/'.$callsign_item['airline_icao'].'">'.$callsign_item['airline_name'].'</a>'; |
|
| 69 | */ |
|
| 70 | print $flightover_item['flight_country']; |
|
| 71 | print '</td>'; |
|
| 72 | print '<td>'.$flightover_item['flight_count'].'</td>'; |
|
| 73 | print '</tr>'; |
|
| 74 | $i++; |
|
| 75 | } |
|
| 76 | print '<tbody>'; |
|
| 77 | print '</table>'; |
|
| 78 | print '</div>'; |
|
| 79 | } |
|
| 80 | ||
| 81 | require_once('footer.php'); |
|
| 82 | ?> |
|
| @@ 47-74 (lines=28) @@ | ||
| 44 | }); |
|
| 45 | </script>'; |
|
| 46 | ||
| 47 | if (!empty($owner_array)) |
|
| 48 | { |
|
| 49 | print '<div class="table-responsive">'; |
|
| 50 | print '<table class="common-type table-striped">'; |
|
| 51 | print '<thead>'; |
|
| 52 | print '<th></th>'; |
|
| 53 | print '<th>'._("Owner Name").'</th>'; |
|
| 54 | print '<th>'._("# of times").'</th>'; |
|
| 55 | print '</thead>'; |
|
| 56 | print '<tbody>'; |
|
| 57 | $i = 1; |
|
| 58 | foreach($owner_array as $owner_item) |
|
| 59 | { |
|
| 60 | print '<tr>'; |
|
| 61 | print '<td><strong>'.$i.'</strong></td>'; |
|
| 62 | print '<td>'; |
|
| 63 | print $owner_item['owner_name'].'</a>'; |
|
| 64 | print '</td>'; |
|
| 65 | print '<td>'; |
|
| 66 | print $owner_item['owner_count']; |
|
| 67 | print '</td>'; |
|
| 68 | print '</tr>'; |
|
| 69 | $i++; |
|
| 70 | } |
|
| 71 | print '<tbody>'; |
|
| 72 | print '</table>'; |
|
| 73 | print '</div>'; |
|
| 74 | } |
|
| 75 | require_once('footer.php'); |
|
| 76 | ?> |
|
| @@ 58-81 (lines=24) @@ | ||
| 55 | </script>'; |
|
| 56 | ||
| 57 | $hour_array = $Stats->countAllHours('count'); |
|
| 58 | if (!empty($hour_array)) |
|
| 59 | { |
|
| 60 | print '<div class="table-responsive">'; |
|
| 61 | print '<table class="common-hour table-striped">'; |
|
| 62 | print '<thead>'; |
|
| 63 | print '<th></th>'; |
|
| 64 | print '<th>'._("Hour").'</th>'; |
|
| 65 | print '<th>'._("# of Flights").'</th>'; |
|
| 66 | print '</thead>'; |
|
| 67 | print '<tbody>'; |
|
| 68 | $i = 1; |
|
| 69 | foreach($hour_array as $hour_item) |
|
| 70 | { |
|
| 71 | print '<tr>'; |
|
| 72 | print '<td><strong>'.$i.'</strong></td>'; |
|
| 73 | print '<td>'.$hour_item['hour_name'].':00</td>'; |
|
| 74 | print '<td>'.$hour_item['hour_count'].'</td>'; |
|
| 75 | print '</tr>'; |
|
| 76 | $i++; |
|
| 77 | } |
|
| 78 | print '<tbody>'; |
|
| 79 | print '</table>'; |
|
| 80 | print '</div>'; |
|
| 81 | } |
|
| 82 | ||
| 83 | require_once('footer.php'); |
|
| 84 | ?> |
|