@@ -7,18 +7,18 @@ discard block |
||
7 | 7 | public $latest_schema = 34; |
8 | 8 | |
9 | 9 | public function __construct($dbc = null,$dbname = null,$user = null,$pass = null) { |
10 | - global $globalDBdriver; |
|
11 | - if ($dbc === null) { |
|
10 | + global $globalDBdriver; |
|
11 | + if ($dbc === null) { |
|
12 | 12 | if ($this->db === null && $dbname === null) { |
13 | - if ($user === null && $pass === null) { |
|
13 | + if ($user === null && $pass === null) { |
|
14 | 14 | $this->createDBConnection(); |
15 | - } else { |
|
15 | + } else { |
|
16 | 16 | $this->createDBConnection(null,$user,$pass); |
17 | - } |
|
17 | + } |
|
18 | 18 | } else { |
19 | - $this->createDBConnection($dbname); |
|
19 | + $this->createDBConnection($dbname); |
|
20 | 20 | } |
21 | - } elseif ($dbname === null || $dbname === 'default') { |
|
21 | + } elseif ($dbname === null || $dbname === 'default') { |
|
22 | 22 | $this->db = $dbc; |
23 | 23 | if ($this->connectionExists() === false) { |
24 | 24 | /* |
@@ -28,10 +28,10 @@ discard block |
||
28 | 28 | */ |
29 | 29 | $this->createDBConnection(); |
30 | 30 | } |
31 | - } else { |
|
31 | + } else { |
|
32 | 32 | //$this->connectionExists(); |
33 | 33 | $this->dbs[$dbname] = $dbc; |
34 | - } |
|
34 | + } |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | public function db() { |
@@ -47,11 +47,11 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * Creates the database connection |
|
51 | - * |
|
52 | - * @return Boolean of the database connection |
|
53 | - * |
|
54 | - */ |
|
50 | + * Creates the database connection |
|
51 | + * |
|
52 | + * @return Boolean of the database connection |
|
53 | + * |
|
54 | + */ |
|
55 | 55 | |
56 | 56 | public function createDBConnection($DBname = null, $user = null, $pass = null) |
57 | 57 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | return false; |
149 | 149 | } |
150 | 150 | if($results->rowCount()>0) { |
151 | - return true; |
|
151 | + return true; |
|
152 | 152 | } |
153 | 153 | else return false; |
154 | 154 | } |
@@ -165,14 +165,14 @@ discard block |
||
165 | 165 | $sum = $sum->fetchColumn(0); |
166 | 166 | } else $sum = 0; |
167 | 167 | if (intval($sum) !== 2) { |
168 | - return false; |
|
168 | + return false; |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | } catch(PDOException $e) { |
172 | 172 | if($e->getCode() != 'HY000' || !stristr($e->getMessage(), 'server has gone away')) { |
173 | - throw $e; |
|
174 | - } |
|
175 | - //echo 'error ! '.$e->getMessage(); |
|
173 | + throw $e; |
|
174 | + } |
|
175 | + //echo 'error ! '.$e->getMessage(); |
|
176 | 176 | return false; |
177 | 177 | } |
178 | 178 | return true; |
@@ -270,8 +270,8 @@ discard block |
||
270 | 270 | $version = 0; |
271 | 271 | if ($this->tableExists('aircraft')) { |
272 | 272 | if (!$this->tableExists('config')) { |
273 | - $version = '1'; |
|
274 | - return $version; |
|
273 | + $version = '1'; |
|
274 | + return $version; |
|
275 | 275 | } else { |
276 | 276 | $query = "SELECT value FROM config WHERE name = 'schema_version' LIMIT 1"; |
277 | 277 | try { |
@@ -292,8 +292,8 @@ discard block |
||
292 | 292 | * @return Boolean if latest version or not |
293 | 293 | */ |
294 | 294 | public function latest() { |
295 | - if ($this->check_schema_version() == $this->latest_schema) return true; |
|
296 | - else return false; |
|
295 | + if ($this->check_schema_version() == $this->latest_schema) return true; |
|
296 | + else return false; |
|
297 | 297 | } |
298 | 298 | |
299 | 299 | } |
@@ -12,11 +12,11 @@ discard block |
||
12 | 12 | } |
13 | 13 | |
14 | 14 | /** |
15 | - * Gets the images based on the aircraft registration |
|
16 | - * |
|
17 | - * @return Array the images list |
|
18 | - * |
|
19 | - */ |
|
15 | + * Gets the images based on the aircraft registration |
|
16 | + * |
|
17 | + * @return Array the images list |
|
18 | + * |
|
19 | + */ |
|
20 | 20 | public function getSpotterImage($registration,$aircraft_icao = '', $airline_icao = '') |
21 | 21 | { |
22 | 22 | $registration = filter_var($registration,FILTER_SANITIZE_STRING); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | WHERE spotter_image.registration = :registration"; |
30 | 30 | $sth = $this->db->prepare($query); |
31 | 31 | $sth->execute(array(':registration' => $registration)); |
32 | - /* |
|
32 | + /* |
|
33 | 33 | $images_array = array(); |
34 | 34 | $temp_array = array(); |
35 | 35 | |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * Gets the image copyright based on the Exif data |
|
56 | - * |
|
57 | - * @return String image copyright |
|
58 | - * |
|
59 | - */ |
|
55 | + * Gets the image copyright based on the Exif data |
|
56 | + * |
|
57 | + * @return String image copyright |
|
58 | + * |
|
59 | + */ |
|
60 | 60 | public function getExifCopyright($url) { |
61 | 61 | $exif = exif_read_data($url); |
62 | 62 | $copyright = ''; |
@@ -71,11 +71,11 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * Adds the images based on the aircraft registration |
|
75 | - * |
|
76 | - * @return String either success or error |
|
77 | - * |
|
78 | - */ |
|
74 | + * Adds the images based on the aircraft registration |
|
75 | + * |
|
76 | + * @return String either success or error |
|
77 | + * |
|
78 | + */ |
|
79 | 79 | public function addSpotterImage($registration,$aircraft_icao = '', $airline_icao = '') |
80 | 80 | { |
81 | 81 | global $globalDebug,$globalAircraftImageFetch; |
@@ -104,12 +104,12 @@ discard block |
||
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
107 | - * Gets the aircraft image |
|
108 | - * |
|
109 | - * @param String $aircraft_registration the registration of the aircraft |
|
110 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
111 | - * |
|
112 | - */ |
|
107 | + * Gets the aircraft image |
|
108 | + * |
|
109 | + * @param String $aircraft_registration the registration of the aircraft |
|
110 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
111 | + * |
|
112 | + */ |
|
113 | 113 | public function findAircraftImage($aircraft_registration, $aircraft_icao = '', $airline_icao = '') |
114 | 114 | { |
115 | 115 | global $globalAircraftImageSources, $globalIVAO; |
@@ -149,13 +149,13 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | /** |
152 | - * Gets the aircraft image from Planespotters |
|
153 | - * |
|
154 | - * @param String $aircraft_registration the registration of the aircraft |
|
155 | - * @param String $aircraft_name type of the aircraft |
|
156 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
157 | - * |
|
158 | - */ |
|
152 | + * Gets the aircraft image from Planespotters |
|
153 | + * |
|
154 | + * @param String $aircraft_registration the registration of the aircraft |
|
155 | + * @param String $aircraft_name type of the aircraft |
|
156 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
157 | + * |
|
158 | + */ |
|
159 | 159 | public function fromPlanespotters($aircraft_registration, $aircraft_name='') { |
160 | 160 | $Common = new Common(); |
161 | 161 | // If aircraft registration is only number, also check with aircraft model |
@@ -182,13 +182,13 @@ discard block |
||
182 | 182 | } |
183 | 183 | |
184 | 184 | /** |
185 | - * Gets the aircraft image from Deviantart |
|
186 | - * |
|
187 | - * @param String $aircraft_registration the registration of the aircraft |
|
188 | - * @param String $aircraft_name type of the aircraft |
|
189 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
190 | - * |
|
191 | - */ |
|
185 | + * Gets the aircraft image from Deviantart |
|
186 | + * |
|
187 | + * @param String $aircraft_registration the registration of the aircraft |
|
188 | + * @param String $aircraft_name type of the aircraft |
|
189 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
190 | + * |
|
191 | + */ |
|
192 | 192 | public function fromDeviantart($aircraft_registration, $aircraft_name='') { |
193 | 193 | $Common = new Common(); |
194 | 194 | // If aircraft registration is only number, also check with aircraft model |
@@ -216,13 +216,13 @@ discard block |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | /** |
219 | - * Gets the aircraft image from JetPhotos |
|
220 | - * |
|
221 | - * @param String $aircraft_registration the registration of the aircraft |
|
222 | - * @param String $aircraft_name type of the aircraft |
|
223 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
224 | - * |
|
225 | - */ |
|
219 | + * Gets the aircraft image from JetPhotos |
|
220 | + * |
|
221 | + * @param String $aircraft_registration the registration of the aircraft |
|
222 | + * @param String $aircraft_name type of the aircraft |
|
223 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
224 | + * |
|
225 | + */ |
|
226 | 226 | public function fromJetPhotos($aircraft_registration, $aircraft_name='') { |
227 | 227 | $Common = new Common(); |
228 | 228 | $url= 'http://jetphotos.net/showphotos.php?displaymode=2®search='.$aircraft_registration; |
@@ -258,13 +258,13 @@ discard block |
||
258 | 258 | } |
259 | 259 | |
260 | 260 | /** |
261 | - * Gets the aircraft image from PlanePictures |
|
262 | - * |
|
263 | - * @param String $aircraft_registration the registration of the aircraft |
|
264 | - * @param String $aircraft_name type of the aircraft |
|
265 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
266 | - * |
|
267 | - */ |
|
261 | + * Gets the aircraft image from PlanePictures |
|
262 | + * |
|
263 | + * @param String $aircraft_registration the registration of the aircraft |
|
264 | + * @param String $aircraft_name type of the aircraft |
|
265 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
266 | + * |
|
267 | + */ |
|
268 | 268 | public function fromPlanePictures($aircraft_registration, $aircraft_name='') { |
269 | 269 | $Common = new Common(); |
270 | 270 | $url= 'http://www.planepictures.net/netsearch4.cgi?srch='.$aircraft_registration.'&stype=reg&srng=2'; |
@@ -292,13 +292,13 @@ discard block |
||
292 | 292 | } |
293 | 293 | |
294 | 294 | /** |
295 | - * Gets the aircraft image from Flickr |
|
296 | - * |
|
297 | - * @param String $aircraft_registration the registration of the aircraft |
|
298 | - * @param String $aircraft_name type of the aircraft |
|
299 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
300 | - * |
|
301 | - */ |
|
295 | + * Gets the aircraft image from Flickr |
|
296 | + * |
|
297 | + * @param String $aircraft_registration the registration of the aircraft |
|
298 | + * @param String $aircraft_name type of the aircraft |
|
299 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
300 | + * |
|
301 | + */ |
|
302 | 302 | public function fromFlickr($aircraft_registration,$aircraft_name='') { |
303 | 303 | $Common = new Common(); |
304 | 304 | if ($aircraft_name != '') $url = 'https://api.flickr.com/services/feeds/photos_public.gne?format=rss2&license=1,2,3,4,5,6,7&per_page=1&tags='.$aircraft_registration.','.urlencode($aircraft_name); |
@@ -336,13 +336,13 @@ discard block |
||
336 | 336 | } |
337 | 337 | |
338 | 338 | /** |
339 | - * Gets the aircraft image from Bing |
|
340 | - * |
|
341 | - * @param String $aircraft_registration the registration of the aircraft |
|
342 | - * @param String $aircraft_name type of the aircraft |
|
343 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
344 | - * |
|
345 | - */ |
|
339 | + * Gets the aircraft image from Bing |
|
340 | + * |
|
341 | + * @param String $aircraft_registration the registration of the aircraft |
|
342 | + * @param String $aircraft_name type of the aircraft |
|
343 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
344 | + * |
|
345 | + */ |
|
346 | 346 | public function fromBing($aircraft_registration,$aircraft_name='') { |
347 | 347 | global $globalImageBingKey; |
348 | 348 | $Common = new Common(); |
@@ -368,13 +368,13 @@ discard block |
||
368 | 368 | } |
369 | 369 | |
370 | 370 | /** |
371 | - * Gets the aircraft image from airport-data |
|
372 | - * |
|
373 | - * @param String $aircraft_registration the registration of the aircraft |
|
374 | - * @param String $aircraft_name type of the aircraft |
|
375 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
376 | - * |
|
377 | - */ |
|
371 | + * Gets the aircraft image from airport-data |
|
372 | + * |
|
373 | + * @param String $aircraft_registration the registration of the aircraft |
|
374 | + * @param String $aircraft_name type of the aircraft |
|
375 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
376 | + * |
|
377 | + */ |
|
378 | 378 | public function fromAirportData($aircraft_registration,$aircraft_name='') { |
379 | 379 | $Common = new Common(); |
380 | 380 | $url = 'http://www.airport-data.com/api/ac_thumb.json?&n=1&r='.$aircraft_registration; |
@@ -393,13 +393,13 @@ discard block |
||
393 | 393 | } |
394 | 394 | |
395 | 395 | /** |
396 | - * Gets the aircraft image from WikiMedia |
|
397 | - * |
|
398 | - * @param String $aircraft_registration the registration of the aircraft |
|
399 | - * @param String $aircraft_name type of the aircraft |
|
400 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
401 | - * |
|
402 | - */ |
|
396 | + * Gets the aircraft image from WikiMedia |
|
397 | + * |
|
398 | + * @param String $aircraft_registration the registration of the aircraft |
|
399 | + * @param String $aircraft_name type of the aircraft |
|
400 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
401 | + * |
|
402 | + */ |
|
403 | 403 | public function fromWikimedia($aircraft_registration,$aircraft_name='') { |
404 | 404 | $Common = new Common(); |
405 | 405 | if ($aircraft_name != '') $url = 'https://commons.wikimedia.org/w/api.php?action=query&list=search&format=json&srlimit=1&srnamespace=6&continue&srsearch="'.$aircraft_registration.'"%20'.urlencode($aircraft_name); |
@@ -449,13 +449,13 @@ discard block |
||
449 | 449 | } |
450 | 450 | |
451 | 451 | /** |
452 | - * Gets the aircraft image from custom url |
|
453 | - * |
|
454 | - * @param String $aircraft_registration the registration of the aircraft |
|
455 | - * @param String $aircraft_name type of the aircraft |
|
456 | - * @return Array the aircraft thumbnail, orignal url and copyright |
|
457 | - * |
|
458 | - */ |
|
452 | + * Gets the aircraft image from custom url |
|
453 | + * |
|
454 | + * @param String $aircraft_registration the registration of the aircraft |
|
455 | + * @param String $aircraft_name type of the aircraft |
|
456 | + * @return Array the aircraft thumbnail, orignal url and copyright |
|
457 | + * |
|
458 | + */ |
|
459 | 459 | public function fromCustomSource($aircraft_registration,$aircraft_name='') { |
460 | 460 | global $globalAircraftImageCustomSources, $globalDebug; |
461 | 461 | //$globalAircraftImageCustomSource[] = array('thumbnail' => '','original' => '', 'copyright' => '', 'source_website' => '', 'source' => '','exif' => true); |
@@ -4,8 +4,8 @@ discard block |
||
4 | 4 | require_once('require/class.Stats.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['airport'])) { |
7 | - header('Location: '.$globalURL.'/airport'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/airport'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $airport = filter_input(INPUT_GET,'airport',FILTER_SANITIZE_STRING); |
11 | 11 | $Spotter = new Spotter(); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | function drawChart() { |
68 | 68 | var data = google.visualization.arrayToDataTable([ |
69 | 69 | ["'._("Country").'", "'._("# of times").'"], '; |
70 | - $country_data = ''; |
|
70 | + $country_data = ''; |
|
71 | 71 | foreach($airport_country_array as $airport_item) |
72 | 72 | { |
73 | 73 | $country_data .= '[ "'.$airport_item['arrival_airport_country'].'",'.$airport_item['airport_arrival_country_count'].'],'; |
@@ -4,8 +4,8 @@ discard block |
||
4 | 4 | require_once('require/class.Stats.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['airline'])) { |
7 | - header('Location: '.$globalURL.'/airline'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/airline'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $airline = filter_input(INPUT_GET,'airline',FILTER_SANITIZE_STRING); |
11 | 11 | $Spotter = new Spotter(); |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | function drawChart() { |
74 | 74 | var data = google.visualization.arrayToDataTable([ |
75 | 75 | ["'._("Hour").'", "'._("# of Flights").'"], '; |
76 | - $hour_data = ''; |
|
76 | + $hour_data = ''; |
|
77 | 77 | foreach($hour_array as $hour_item) |
78 | 78 | { |
79 | 79 | $hour_data .= '[ "'.date("ga", strtotime($hour_item['hour_name'].":00")).'",'.$hour_item['hour_count'].'],'; |
@@ -3,8 +3,8 @@ |
||
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))); |
@@ -38,7 +38,7 @@ |
||
38 | 38 | function drawChart() { |
39 | 39 | var data = google.visualization.arrayToDataTable([ |
40 | 40 | ["'._("Hour").'", "'._("# of Flights").'"], '; |
41 | - $hour_data = ''; |
|
41 | + $hour_data = ''; |
|
42 | 42 | foreach($hour_array as $hour_item) |
43 | 43 | { |
44 | 44 | $hour_data .= '[ "'.date("ga", strtotime($hour_item['hour_name'].":00")).'",'.$hour_item['hour_count'].'],'; |
@@ -4,8 +4,8 @@ discard block |
||
4 | 4 | require_once('require/class.Stats.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['aircraft_manufacturer'])) { |
7 | - header('Location: '.$globalURL.'/manufacturer'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/manufacturer'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $manufacturer = ucwords(str_replace("-", " ", filter_input(INPUT_GET,'aircraft_manufacturer',FILTER_SANITIZE_STRING))); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | function drawChart() { |
56 | 56 | var data = google.visualization.arrayToDataTable([ |
57 | 57 | ["'._("Hour").'", "'._("# of Flights").'"], '; |
58 | - $hour_data = ''; |
|
58 | + $hour_data = ''; |
|
59 | 59 | foreach($hour_array as $hour_item) |
60 | 60 | { |
61 | 61 | $hour_data .= '[ "'.date("ga", strtotime($hour_item['hour_name'].":00")).'",'.$hour_item['hour_count'].'],'; |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | <meta property="og:site_name" content="<?php print $globalName; ?>"/> |
41 | 41 | |
42 | 42 | <?php |
43 | - if (!isset($_SESSION['install']) && !$globalInstalled) { |
|
43 | + if (!isset($_SESSION['install']) && !$globalInstalled) { |
|
44 | 44 | ?> |
45 | 45 | <script language="JavaScript" type="text/javascript"> |
46 | 46 | function datasource_js() { |
@@ -121,22 +121,22 @@ discard block |
||
121 | 121 | } |
122 | 122 | </script> |
123 | 123 | <?php |
124 | - } |
|
124 | + } |
|
125 | 125 | ?> |
126 | 126 | |
127 | 127 | </head> |
128 | 128 | |
129 | 129 | <?php |
130 | - if (!isset($_SESSION['install']) && !$globalInstalled) { |
|
130 | + if (!isset($_SESSION['install']) && !$globalInstalled) { |
|
131 | 131 | ?> |
132 | 132 | |
133 | 133 | <body class="page-<?php print strtolower($current_page); ?>" onload="datasource_js(); metarcycle_js(); create_database_js(); daemon_js(); schedule_js()"> |
134 | 134 | <?php |
135 | - } else { |
|
135 | + } else { |
|
136 | 136 | ?> |
137 | 137 | <body class="page-<?php print strtolower($current_page); ?>"> |
138 | 138 | <?php |
139 | - } |
|
139 | + } |
|
140 | 140 | ?> |
141 | 141 | <div class="navbar navbar-fixed-top" role="navigation"> |
142 | 142 | <div class="container"> |
@@ -187,12 +187,12 @@ discard block |
||
187 | 187 | |
188 | 188 | <?php |
189 | 189 | if (isset($top_header)) { |
190 | - if ($top_header != "") |
|
191 | - { |
|
190 | + if ($top_header != "") |
|
191 | + { |
|
192 | 192 | print '<div class="top-header container clear" role="main">'; |
193 | 193 | print '<img src="../images/'.$top_header.'" alt="'.$title.'" title="'.$title.'" />'; |
194 | 194 | print '</div>'; |
195 | - } |
|
195 | + } |
|
196 | 196 | } |
197 | 197 | ?> |
198 | 198 |
@@ -3,8 +3,8 @@ |
||
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))); |