@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -10,10 +10,10 @@ discard block |
||
10 | 10 | } |
11 | 11 | |
12 | 12 | /** |
13 | - * Get SQL query part for filter used |
|
14 | - * @param Array $filter the filter |
|
15 | - * @return Array the SQL part |
|
16 | - */ |
|
13 | + * Get SQL query part for filter used |
|
14 | + * @param Array $filter the filter |
|
15 | + * @return Array the SQL part |
|
16 | + */ |
|
17 | 17 | public function getFilter($filter = array(),$where = false,$and = false) { |
18 | 18 | global $globalFilter, $globalStatsFilters, $globalFilterName, $globalDBdriver; |
19 | 19 | $filters = array(); |
@@ -159,11 +159,11 @@ discard block |
||
159 | 159 | |
160 | 160 | |
161 | 161 | /** |
162 | - * Gets all the spotter information based on a particular callsign |
|
163 | - * |
|
164 | - * @return Array the spotter information |
|
165 | - * |
|
166 | - */ |
|
162 | + * Gets all the spotter information based on a particular callsign |
|
163 | + * |
|
164 | + * @return Array the spotter information |
|
165 | + * |
|
166 | + */ |
|
167 | 167 | public function getLastArchiveSpotterDataByIdent($ident) { |
168 | 168 | $Spotter = new Spotter($this->db); |
169 | 169 | date_default_timezone_set('UTC'); |
@@ -179,11 +179,11 @@ discard block |
||
179 | 179 | |
180 | 180 | |
181 | 181 | /** |
182 | - * Gets last the spotter information based on a particular id |
|
183 | - * |
|
184 | - * @return Array the spotter information |
|
185 | - * |
|
186 | - */ |
|
182 | + * Gets last the spotter information based on a particular id |
|
183 | + * |
|
184 | + * @return Array the spotter information |
|
185 | + * |
|
186 | + */ |
|
187 | 187 | public function getLastArchiveSpotterDataById($id) { |
188 | 188 | $Spotter = new Spotter($this->db); |
189 | 189 | date_default_timezone_set('UTC'); |
@@ -209,11 +209,11 @@ discard block |
||
209 | 209 | } |
210 | 210 | |
211 | 211 | /** |
212 | - * Gets all the spotter information based on a particular id |
|
213 | - * |
|
214 | - * @return Array the spotter information |
|
215 | - * |
|
216 | - */ |
|
212 | + * Gets all the spotter information based on a particular id |
|
213 | + * |
|
214 | + * @return Array the spotter information |
|
215 | + * |
|
216 | + */ |
|
217 | 217 | public function getAllArchiveSpotterDataById($id) { |
218 | 218 | date_default_timezone_set('UTC'); |
219 | 219 | $id = filter_var($id, FILTER_SANITIZE_STRING); |
@@ -234,11 +234,11 @@ discard block |
||
234 | 234 | } |
235 | 235 | |
236 | 236 | /** |
237 | - * Gets coordinate & time spotter information based on a particular id |
|
238 | - * |
|
239 | - * @return Array the spotter information |
|
240 | - * |
|
241 | - */ |
|
237 | + * Gets coordinate & time spotter information based on a particular id |
|
238 | + * |
|
239 | + * @return Array the spotter information |
|
240 | + * |
|
241 | + */ |
|
242 | 242 | public function getCoordArchiveSpotterDataById($id) { |
243 | 243 | date_default_timezone_set('UTC'); |
244 | 244 | $id = filter_var($id, FILTER_SANITIZE_STRING); |
@@ -255,11 +255,11 @@ discard block |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
258 | - * Gets coordinate & time spotter information based on a particular id |
|
259 | - * |
|
260 | - * @return Array the spotter information |
|
261 | - * |
|
262 | - */ |
|
258 | + * Gets coordinate & time spotter information based on a particular id |
|
259 | + * |
|
260 | + * @return Array the spotter information |
|
261 | + * |
|
262 | + */ |
|
263 | 263 | public function getCoordArchiveSpotterDataByIdDate($id,$begindate,$enddate) { |
264 | 264 | date_default_timezone_set('UTC'); |
265 | 265 | $id = filter_var($id, FILTER_SANITIZE_STRING); |
@@ -277,11 +277,11 @@ discard block |
||
277 | 277 | |
278 | 278 | |
279 | 279 | /** |
280 | - * Gets altitude information based on a particular callsign |
|
281 | - * |
|
282 | - * @return Array the spotter information |
|
283 | - * |
|
284 | - */ |
|
280 | + * Gets altitude information based on a particular callsign |
|
281 | + * |
|
282 | + * @return Array the spotter information |
|
283 | + * |
|
284 | + */ |
|
285 | 285 | public function getAltitudeArchiveSpotterDataByIdent($ident) { |
286 | 286 | |
287 | 287 | date_default_timezone_set('UTC'); |
@@ -302,11 +302,11 @@ discard block |
||
302 | 302 | } |
303 | 303 | |
304 | 304 | /** |
305 | - * Gets altitude information based on a particular id |
|
306 | - * |
|
307 | - * @return Array the spotter information |
|
308 | - * |
|
309 | - */ |
|
305 | + * Gets altitude information based on a particular id |
|
306 | + * |
|
307 | + * @return Array the spotter information |
|
308 | + * |
|
309 | + */ |
|
310 | 310 | public function getAltitudeArchiveSpotterDataById($id) { |
311 | 311 | |
312 | 312 | date_default_timezone_set('UTC'); |
@@ -327,11 +327,11 @@ discard block |
||
327 | 327 | } |
328 | 328 | |
329 | 329 | /** |
330 | - * Gets altitude & speed information based on a particular id |
|
331 | - * |
|
332 | - * @return Array the spotter information |
|
333 | - * |
|
334 | - */ |
|
330 | + * Gets altitude & speed information based on a particular id |
|
331 | + * |
|
332 | + * @return Array the spotter information |
|
333 | + * |
|
334 | + */ |
|
335 | 335 | public function getAltitudeSpeedArchiveSpotterDataById($id) { |
336 | 336 | date_default_timezone_set('UTC'); |
337 | 337 | $id = filter_var($id, FILTER_SANITIZE_STRING); |
@@ -348,11 +348,11 @@ discard block |
||
348 | 348 | } |
349 | 349 | |
350 | 350 | /** |
351 | - * Gets altitude information based on a particular callsign |
|
352 | - * |
|
353 | - * @return Array the spotter information |
|
354 | - * |
|
355 | - */ |
|
351 | + * Gets altitude information based on a particular callsign |
|
352 | + * |
|
353 | + * @return Array the spotter information |
|
354 | + * |
|
355 | + */ |
|
356 | 356 | public function getLastAltitudeArchiveSpotterDataByIdent($ident) { |
357 | 357 | date_default_timezone_set('UTC'); |
358 | 358 | $ident = filter_var($ident, FILTER_SANITIZE_STRING); |
@@ -413,11 +413,11 @@ discard block |
||
413 | 413 | } |
414 | 414 | |
415 | 415 | /** |
416 | - * Gets Minimal Live Spotter data |
|
417 | - * |
|
418 | - * @return Array the spotter information |
|
419 | - * |
|
420 | - */ |
|
416 | + * Gets Minimal Live Spotter data |
|
417 | + * |
|
418 | + * @return Array the spotter information |
|
419 | + * |
|
420 | + */ |
|
421 | 421 | public function getMinLiveSpotterData($begindate,$enddate,$filter = array(),$part = 0) { |
422 | 422 | global $globalDBdriver, $globalLiveInterval; |
423 | 423 | date_default_timezone_set('UTC'); |
@@ -477,11 +477,11 @@ discard block |
||
477 | 477 | } |
478 | 478 | |
479 | 479 | /** |
480 | - * Gets Minimal Live Spotter data |
|
481 | - * |
|
482 | - * @return Array the spotter information |
|
483 | - * |
|
484 | - */ |
|
480 | + * Gets Minimal Live Spotter data |
|
481 | + * |
|
482 | + * @return Array the spotter information |
|
483 | + * |
|
484 | + */ |
|
485 | 485 | public function getMinLiveSpotterDataPlayback($begindate,$enddate,$filter = array()) { |
486 | 486 | global $globalDBdriver, $globalLiveInterval; |
487 | 487 | date_default_timezone_set('UTC'); |
@@ -548,11 +548,11 @@ discard block |
||
548 | 548 | } |
549 | 549 | |
550 | 550 | /** |
551 | - * Gets count Live Spotter data |
|
552 | - * |
|
553 | - * @return Array the spotter information |
|
554 | - * |
|
555 | - */ |
|
551 | + * Gets count Live Spotter data |
|
552 | + * |
|
553 | + * @return Array the spotter information |
|
554 | + * |
|
555 | + */ |
|
556 | 556 | public function getLiveSpotterCount($begindate,$enddate,$filter = array()) { |
557 | 557 | global $globalDBdriver, $globalLiveInterval; |
558 | 558 | date_default_timezone_set('UTC'); |
@@ -598,11 +598,11 @@ discard block |
||
598 | 598 | // Spotter_Archive_output |
599 | 599 | |
600 | 600 | /** |
601 | - * Gets all the spotter information |
|
602 | - * |
|
603 | - * @return Array the spotter information |
|
604 | - * |
|
605 | - */ |
|
601 | + * Gets all the spotter information |
|
602 | + * |
|
603 | + * @return Array the spotter information |
|
604 | + * |
|
605 | + */ |
|
606 | 606 | public function searchSpotterData($q = '', $registration = '', $aircraft_icao = '', $aircraft_manufacturer = '', $highlights = '', $airline_icao = '', $airline_country = '', $airline_type = '', $airport = '', $airport_country = '', $callsign = '', $departure_airport_route = '', $arrival_airport_route = '', $owner = '',$pilot_id = '',$pilot_name = '',$altitude = '', $date_posted = '', $limit = '', $sort = '', $includegeodata = '',$origLat = '',$origLon = '',$dist = '', $filters=array()) { |
607 | 607 | global $globalTimezone, $globalDBdriver; |
608 | 608 | require_once(dirname(__FILE__).'/class.Translation.php'); |
@@ -894,11 +894,11 @@ discard block |
||
894 | 894 | } |
895 | 895 | |
896 | 896 | /** |
897 | - * Gets all the spotter information based on the callsign |
|
898 | - * |
|
899 | - * @return Array the spotter information |
|
900 | - * |
|
901 | - */ |
|
897 | + * Gets all the spotter information based on the callsign |
|
898 | + * |
|
899 | + * @return Array the spotter information |
|
900 | + * |
|
901 | + */ |
|
902 | 902 | public function getSpotterDataByIdent($ident = '', $limit = '', $sort = '') { |
903 | 903 | $global_query = "SELECT spotter_archive_output.* FROM spotter_archive_output"; |
904 | 904 | |
@@ -946,11 +946,11 @@ discard block |
||
946 | 946 | |
947 | 947 | |
948 | 948 | /** |
949 | - * Gets all the spotter information based on the owner |
|
950 | - * |
|
951 | - * @return Array the spotter information |
|
952 | - * |
|
953 | - */ |
|
949 | + * Gets all the spotter information based on the owner |
|
950 | + * |
|
951 | + * @return Array the spotter information |
|
952 | + * |
|
953 | + */ |
|
954 | 954 | public function getSpotterDataByOwner($owner = '', $limit = '', $sort = '', $filter = array()) { |
955 | 955 | $global_query = "SELECT spotter_archive_output.* FROM spotter_archive_output"; |
956 | 956 | |
@@ -998,11 +998,11 @@ discard block |
||
998 | 998 | } |
999 | 999 | |
1000 | 1000 | /** |
1001 | - * Gets all the spotter information based on the pilot |
|
1002 | - * |
|
1003 | - * @return Array the spotter information |
|
1004 | - * |
|
1005 | - */ |
|
1001 | + * Gets all the spotter information based on the pilot |
|
1002 | + * |
|
1003 | + * @return Array the spotter information |
|
1004 | + * |
|
1005 | + */ |
|
1006 | 1006 | public function getSpotterDataByPilot($pilot = '', $limit = '', $sort = '', $filter = array()) { |
1007 | 1007 | $global_query = "SELECT spotter_archive_output.* FROM spotter_archive_output"; |
1008 | 1008 | |
@@ -1046,11 +1046,11 @@ discard block |
||
1046 | 1046 | } |
1047 | 1047 | |
1048 | 1048 | /** |
1049 | - * Gets all number of flight over countries |
|
1050 | - * |
|
1051 | - * @return Array the airline country list |
|
1052 | - * |
|
1053 | - */ |
|
1049 | + * Gets all number of flight over countries |
|
1050 | + * |
|
1051 | + * @return Array the airline country list |
|
1052 | + * |
|
1053 | + */ |
|
1054 | 1054 | public function countAllFlightOverCountries($limit = true,$olderthanmonths = 0,$sincedate = '') { |
1055 | 1055 | global $globalDBdriver; |
1056 | 1056 | /* |
@@ -1090,11 +1090,11 @@ discard block |
||
1090 | 1090 | } |
1091 | 1091 | |
1092 | 1092 | /** |
1093 | - * Gets all number of flight over countries |
|
1094 | - * |
|
1095 | - * @return Array the airline country list |
|
1096 | - * |
|
1097 | - */ |
|
1093 | + * Gets all number of flight over countries |
|
1094 | + * |
|
1095 | + * @return Array the airline country list |
|
1096 | + * |
|
1097 | + */ |
|
1098 | 1098 | public function countAllFlightOverCountriesByAirlines($limit = true,$olderthanmonths = 0,$sincedate = '') { |
1099 | 1099 | global $globalDBdriver; |
1100 | 1100 | /* |
@@ -1135,11 +1135,11 @@ discard block |
||
1135 | 1135 | } |
1136 | 1136 | |
1137 | 1137 | /** |
1138 | - * Gets all aircraft types that have flown over by owner |
|
1139 | - * |
|
1140 | - * @return Array the aircraft list |
|
1141 | - * |
|
1142 | - */ |
|
1138 | + * Gets all aircraft types that have flown over by owner |
|
1139 | + * |
|
1140 | + * @return Array the aircraft list |
|
1141 | + * |
|
1142 | + */ |
|
1143 | 1143 | public function countAllAircraftTypesByOwner($owner,$filters = array()) |
1144 | 1144 | { |
1145 | 1145 | global $globalDBdriver; |
@@ -1157,11 +1157,11 @@ discard block |
||
1157 | 1157 | } |
1158 | 1158 | |
1159 | 1159 | /** |
1160 | - * Gets all airlines by owner |
|
1161 | - * |
|
1162 | - * @return Array the airline list |
|
1163 | - * |
|
1164 | - */ |
|
1160 | + * Gets all airlines by owner |
|
1161 | + * |
|
1162 | + * @return Array the airline list |
|
1163 | + * |
|
1164 | + */ |
|
1165 | 1165 | public function countAllAirlinesByOwner($owner,$filters = array()) |
1166 | 1166 | { |
1167 | 1167 | $owner = filter_var($owner,FILTER_SANITIZE_STRING); |
@@ -1177,11 +1177,11 @@ discard block |
||
1177 | 1177 | } |
1178 | 1178 | |
1179 | 1179 | /** |
1180 | - * Gets all arrival airports by country of the airplanes that have flown over based on a owner |
|
1181 | - * |
|
1182 | - * @return Array the airport list |
|
1183 | - * |
|
1184 | - */ |
|
1180 | + * Gets all arrival airports by country of the airplanes that have flown over based on a owner |
|
1181 | + * |
|
1182 | + * @return Array the airport list |
|
1183 | + * |
|
1184 | + */ |
|
1185 | 1185 | public function countAllArrivalAirportCountriesByOwner($owner, $filters = array()) |
1186 | 1186 | { |
1187 | 1187 | $filter_query = $this->getFilter($filters,true,true); |
@@ -1196,11 +1196,11 @@ discard block |
||
1196 | 1196 | } |
1197 | 1197 | |
1198 | 1198 | /** |
1199 | - * Gets all arrival airports of the airplanes that have flown over based on a owner |
|
1200 | - * |
|
1201 | - * @return Array the airport list |
|
1202 | - * |
|
1203 | - */ |
|
1199 | + * Gets all arrival airports of the airplanes that have flown over based on a owner |
|
1200 | + * |
|
1201 | + * @return Array the airport list |
|
1202 | + * |
|
1203 | + */ |
|
1204 | 1204 | public function countAllArrivalAirportsByOwner($owner,$filters = array()) |
1205 | 1205 | { |
1206 | 1206 | $filter_query = $this->getFilter($filters,true,true); |
@@ -1226,11 +1226,11 @@ discard block |
||
1226 | 1226 | } |
1227 | 1227 | |
1228 | 1228 | /** |
1229 | - * Gets all departure airports by country of the airplanes that have flown over based on owner |
|
1230 | - * |
|
1231 | - * @return Array the airport list |
|
1232 | - * |
|
1233 | - */ |
|
1229 | + * Gets all departure airports by country of the airplanes that have flown over based on owner |
|
1230 | + * |
|
1231 | + * @return Array the airport list |
|
1232 | + * |
|
1233 | + */ |
|
1234 | 1234 | public function countAllDepartureAirportCountriesByOwner($owner,$filters = array()) |
1235 | 1235 | { |
1236 | 1236 | $filter_query = $this->getFilter($filters,true,true); |
@@ -1245,11 +1245,11 @@ discard block |
||
1245 | 1245 | } |
1246 | 1246 | |
1247 | 1247 | /** |
1248 | - * Gets all departure airports of the airplanes that have flown over based on a owner |
|
1249 | - * |
|
1250 | - * @return Array the airport list |
|
1251 | - * |
|
1252 | - */ |
|
1248 | + * Gets all departure airports of the airplanes that have flown over based on a owner |
|
1249 | + * |
|
1250 | + * @return Array the airport list |
|
1251 | + * |
|
1252 | + */ |
|
1253 | 1253 | public function countAllDepartureAirportsByOwner($owner,$filters = array()) |
1254 | 1254 | { |
1255 | 1255 | $filter_query = $this->getFilter($filters,true,true); |
@@ -1277,11 +1277,11 @@ discard block |
||
1277 | 1277 | } |
1278 | 1278 | |
1279 | 1279 | /** |
1280 | - * Gets all aircraft manufacturer that have flown over by owner |
|
1281 | - * |
|
1282 | - * @return Array the aircraft manufacturer list |
|
1283 | - * |
|
1284 | - */ |
|
1280 | + * Gets all aircraft manufacturer that have flown over by owner |
|
1281 | + * |
|
1282 | + * @return Array the aircraft manufacturer list |
|
1283 | + * |
|
1284 | + */ |
|
1285 | 1285 | public function countAllAircraftManufacturerByOwner($owner,$filters = array()) |
1286 | 1286 | { |
1287 | 1287 | global $globalDBdriver; |
@@ -1299,11 +1299,11 @@ discard block |
||
1299 | 1299 | } |
1300 | 1300 | |
1301 | 1301 | /** |
1302 | - * Gets all aircraft registration that have flown over by owner |
|
1303 | - * |
|
1304 | - * @return Array the aircraft list |
|
1305 | - * |
|
1306 | - */ |
|
1302 | + * Gets all aircraft registration that have flown over by owner |
|
1303 | + * |
|
1304 | + * @return Array the aircraft list |
|
1305 | + * |
|
1306 | + */ |
|
1307 | 1307 | public function countAllAircraftRegistrationByOwner($owner,$filters = array()) |
1308 | 1308 | { |
1309 | 1309 | global $globalDBdriver; |
@@ -1341,11 +1341,11 @@ discard block |
||
1341 | 1341 | } |
1342 | 1342 | |
1343 | 1343 | /** |
1344 | - * Gets all route combinations based on an owner |
|
1345 | - * |
|
1346 | - * @return Array the route list |
|
1347 | - * |
|
1348 | - */ |
|
1344 | + * Gets all route combinations based on an owner |
|
1345 | + * |
|
1346 | + * @return Array the route list |
|
1347 | + * |
|
1348 | + */ |
|
1349 | 1349 | public function countAllRoutesByOwner($owner,$filters = array()) |
1350 | 1350 | { |
1351 | 1351 | $filter_query = $this->getFilter($filters,true,true); |
@@ -1375,11 +1375,11 @@ discard block |
||
1375 | 1375 | } |
1376 | 1376 | |
1377 | 1377 | /** |
1378 | - * Counts all hours by a owner |
|
1379 | - * |
|
1380 | - * @return Array the hour list |
|
1381 | - * |
|
1382 | - */ |
|
1378 | + * Counts all hours by a owner |
|
1379 | + * |
|
1380 | + * @return Array the hour list |
|
1381 | + * |
|
1382 | + */ |
|
1383 | 1383 | public function countAllHoursByOwner($owner, $filters = array()) |
1384 | 1384 | { |
1385 | 1385 | global $globalTimezone, $globalDBdriver; |
@@ -1415,11 +1415,11 @@ discard block |
||
1415 | 1415 | } |
1416 | 1416 | |
1417 | 1417 | /** |
1418 | - * Gets last spotter information based on a particular callsign |
|
1419 | - * |
|
1420 | - * @return Array the spotter information |
|
1421 | - * |
|
1422 | - */ |
|
1418 | + * Gets last spotter information based on a particular callsign |
|
1419 | + * |
|
1420 | + * @return Array the spotter information |
|
1421 | + * |
|
1422 | + */ |
|
1423 | 1423 | public function getDateArchiveSpotterDataById($id,$date) { |
1424 | 1424 | $Spotter = new Spotter($this->db); |
1425 | 1425 | date_default_timezone_set('UTC'); |
@@ -1431,11 +1431,11 @@ discard block |
||
1431 | 1431 | } |
1432 | 1432 | |
1433 | 1433 | /** |
1434 | - * Gets all the spotter information based on a particular callsign |
|
1435 | - * |
|
1436 | - * @return Array the spotter information |
|
1437 | - * |
|
1438 | - */ |
|
1434 | + * Gets all the spotter information based on a particular callsign |
|
1435 | + * |
|
1436 | + * @return Array the spotter information |
|
1437 | + * |
|
1438 | + */ |
|
1439 | 1439 | public function getDateArchiveSpotterDataByIdent($ident,$date) { |
1440 | 1440 | $Spotter = new Spotter($this->db); |
1441 | 1441 | date_default_timezone_set('UTC'); |
@@ -1447,11 +1447,11 @@ discard block |
||
1447 | 1447 | } |
1448 | 1448 | |
1449 | 1449 | /** |
1450 | - * Gets all the spotter information based on the airport |
|
1451 | - * |
|
1452 | - * @return Array the spotter information |
|
1453 | - * |
|
1454 | - */ |
|
1450 | + * Gets all the spotter information based on the airport |
|
1451 | + * |
|
1452 | + * @return Array the spotter information |
|
1453 | + * |
|
1454 | + */ |
|
1455 | 1455 | public function getSpotterDataByAirport($airport = '', $limit = '', $sort = '',$filters = array()) { |
1456 | 1456 | global $global_query; |
1457 | 1457 | $Spotter = new Spotter($this->db); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |
@@ -4,8 +4,8 @@ |
||
4 | 4 | require_once('require/class.SpotterArchive.php'); |
5 | 5 | require_once('require/class.Language.php'); |
6 | 6 | if (!isset($_GET['owner'])) { |
7 | - header('Location: '.$globalURL.'/owner'); |
|
8 | - die(); |
|
7 | + header('Location: '.$globalURL.'/owner'); |
|
8 | + die(); |
|
9 | 9 | } |
10 | 10 | $Spotter = new Spotter(); |
11 | 11 | $SpotterArchive = new SpotterArchive(); |