|
@@ -3,8 +3,8 @@ discard block |
|
|
block discarded – undo |
|
3
|
3
|
require_once('require/class.Spotter.php'); |
|
4
|
4
|
require_once('require/class.Language.php'); |
|
5
|
5
|
if (!isset($_GET['country'])) { |
|
6
|
|
- header('Location: '.$globalURL.'/country'); |
|
7
|
|
- die(); |
|
|
6
|
+ header('Location: '.$globalURL.'/country'); |
|
|
7
|
+ die(); |
|
8
|
8
|
} |
|
9
|
9
|
$Spotter = new Spotter(); |
|
10
|
10
|
$country = ucwords(str_replace("-", " ", filter_input(INPUT_GET,'country',FILTER_SANITIZE_STRING))); |
|
@@ -51,7 +51,7 @@ discard block |
|
|
block discarded – undo |
|
51
|
51
|
include('country-sub-menu.php'); |
|
52
|
52
|
print '<div class="column">'; |
|
53
|
53
|
print '<h2>'._("Most Common Arrival Airports by Country").'</h2>'; |
|
54
|
|
- print '<p>'.sprintf(_("The statistic below shows all arrival airports by Country of origin of flights of airports & airlines from <strong>%s</strong>."),$country).'</p>'; |
|
|
54
|
+ print '<p>'.sprintf(_("The statistic below shows all arrival airports by Country of origin of flights of airports & airlines from <strong>%s</strong>."),$country).'</p>'; |
|
55
|
55
|
|
|
56
|
56
|
$airport_country_array = $Spotter->countAllArrivalAirportCountriesByCountry($country); |
|
57
|
57
|
print '<script type="text/javascript" src="'.$globalURL.'/js/d3.min.js"></script>'; |
Please login to merge, or discard this patch.