@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | <?php }; if (isset($globalSatellite) && $globalSatellite) { ?><td><div id="ibxsatellite"><h4><?php echo _("Satellites Displayed"); ?></h4><br /><i class="fa fa-spinner fa-pulse fa-fw"></i></div></td><?php } ?> |
48 | 48 | </tr></table></div> |
49 | 49 | <?php |
50 | - if ((!isset($_COOKIE['MapFormat']) && isset($globalMap3Ddefault) && $globalMap3Ddefault) || (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d')) { |
|
50 | + if ((!isset($_COOKIE['MapFormat']) && isset($globalMap3Ddefault) && $globalMap3Ddefault) || (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d')) { |
|
51 | 51 | ?> |
52 | 52 | <script src="<?php echo $globalURL; ?>/js/map.3d.js.php<?php if (isset($tsk)) print '?tsk='.$tsk; ?>"></script> |
53 | 53 | <?php |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | <script src="<?php echo $globalURL; ?>/js/map-marine.3d.js.php"></script> |
72 | 72 | <?php |
73 | 73 | } |
74 | - } |
|
74 | + } |
|
75 | 75 | ?> |
76 | 76 | |
77 | 77 | <div id="sidebar" class="sidebar collapsed"> |
@@ -82,34 +82,34 @@ discard block |
||
82 | 82 | <li><a href="#" onclick="getUserLocation(); return false;" title="<?php echo _("Plot your Location"); ?>"><i class="fa fa-map-marker"></i></a></li> |
83 | 83 | <li><a href="#" onclick="getCompassDirection(); return false;" title="<?php echo _("Compass Mode"); ?>"><i class="fa fa-compass"></i></a></li> |
84 | 84 | <?php |
85 | - if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d') { |
|
85 | + if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d') { |
|
86 | 86 | if (isset($globalArchive) && $globalArchive == TRUE) { |
87 | 87 | ?> |
88 | 88 | <li><a href="#archive" role="tab" title="<?php echo _("Archive"); ?>"><i class="fa fa-archive"></i></a></li> |
89 | 89 | <?php |
90 | 90 | } |
91 | - } |
|
91 | + } |
|
92 | 92 | ?> |
93 | 93 | <li><a href="#home" role="tab" title="<?php echo _("Layers"); ?>"><i class="fa fa-map"></i></a></li> |
94 | 94 | <li><a href="#filters" role="tab" title="<?php echo _("Filters"); ?>"><i class="fa fa-filter"></i></a></li> |
95 | 95 | <li><a href="#settings" role="tab" title="<?php echo _("Settings"); ?>"><i class="fa fa-gears"></i></a></li> |
96 | 96 | <?php |
97 | - if (isset($globalMap3D) && $globalMap3D) { |
|
97 | + if (isset($globalMap3D) && $globalMap3D) { |
|
98 | 98 | if ((!isset($_COOKIE['MapFormat']) && (!isset($globalMap3Ddefault) || !$globalMap3Ddefault)) || (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] != '3d')) { |
99 | 99 | ?> |
100 | 100 | <li><a href="#" onclick="show3D(); return false;" role="tab" title="3D"><b>3D</b></a></li> |
101 | 101 | <?php |
102 | 102 | } else { |
103 | - if (isset($globalSatellite) && $globalSatellite) { |
|
103 | + if (isset($globalSatellite) && $globalSatellite) { |
|
104 | 104 | ?> |
105 | 105 | <li><a href="#satellites" role="tab" title="<?php echo _("Satellites"); ?>"><i class="satellite"></i></a></li> |
106 | 106 | <?php |
107 | - } |
|
107 | + } |
|
108 | 108 | ?> |
109 | 109 | <li><a href="#" onclick="show2D(); return false;" role="tab" title="2D"><b>2D</b></a></li> |
110 | 110 | <?php |
111 | 111 | } |
112 | - } |
|
112 | + } |
|
113 | 113 | ?> |
114 | 114 | </ul> |
115 | 115 | |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | ?> |
185 | 185 | </div> |
186 | 186 | <?php |
187 | - if (isset($globalArchive) && $globalArchive == TRUE) { |
|
187 | + if (isset($globalArchive) && $globalArchive == TRUE) { |
|
188 | 188 | ?> |
189 | 189 | <div class="sidebar-pane" id="archive"> |
190 | 190 | <h1 class="sidebar-header"><?php echo _("Playback"); ?> <i>Bêta</i><span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1> |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | </form> |
244 | 244 | </div> |
245 | 245 | <?php |
246 | - } |
|
246 | + } |
|
247 | 247 | ?> |
248 | 248 | <div class="sidebar-pane" id="settings"> |
249 | 249 | <h1 class="sidebar-header"><?php echo _("Settings"); ?><span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1> |
@@ -254,72 +254,72 @@ discard block |
||
254 | 254 | <?php |
255 | 255 | if (!isset($_COOKIE['MapType']) || $_COOKIE['MapType'] == '') $MapType = $globalMapProvider; |
256 | 256 | else $MapType = $_COOKIE['MapType']; |
257 | - ?> |
|
257 | + ?> |
|
258 | 258 | <?php |
259 | 259 | if (isset($globalMapOffline) && $globalMapOffline === TRUE) { |
260 | - ?> |
|
260 | + ?> |
|
261 | 261 | <option value="offline"<?php if ($MapType == 'offline') print ' selected'; ?>>Natural Earth (local)</option> |
262 | 262 | <?php |
263 | 263 | } else { |
264 | - if (file_exists(dirname(__FILE__).'/js/Cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml')) { |
|
265 | - ?> |
|
264 | + if (file_exists(dirname(__FILE__).'/js/Cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml')) { |
|
265 | + ?> |
|
266 | 266 | <option value="offline"<?php if ($MapType == 'offline') print ' selected'; ?>>Natural Earth (local)</option> |
267 | 267 | <?php |
268 | - } |
|
269 | - ?> |
|
268 | + } |
|
269 | + ?> |
|
270 | 270 | <option value="ArcGIS-Streetmap"<?php if ($MapType == 'ArcGIS-Streetmap') print ' selected'; ?>>ArcGIS Streetmap</option> |
271 | 271 | <option value="ArcGIS-Satellite"<?php if ($MapType == 'ArcGIS-Satellite') print ' selected'; ?>>ArcGIS Satellite</option> |
272 | 272 | <?php |
273 | - if (isset($globalBingMapKey) && $globalBingMapKey != '') { |
|
274 | - ?> |
|
273 | + if (isset($globalBingMapKey) && $globalBingMapKey != '') { |
|
274 | + ?> |
|
275 | 275 | <option value="Bing-Aerial"<?php if ($MapType == 'Bing-Aerial') print ' selected'; ?>>Bing-Aerial</option> |
276 | 276 | <option value="Bing-Hybrid"<?php if ($MapType == 'Bing-Hybrid') print ' selected'; ?>>Bing-Hybrid</option> |
277 | 277 | <option value="Bing-Road"<?php if ($MapType == 'Bing-Road') print ' selected'; ?>>Bing-Road</option> |
278 | 278 | <?php |
279 | - } |
|
280 | - ?> |
|
279 | + } |
|
280 | + ?> |
|
281 | 281 | <?php |
282 | - if ((!isset($_COOKIE['MapFormat']) && (!isset($globalMap3Ddefault) || !$globalMap3Ddefault)) || (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] != '3d')) { |
|
283 | - ?> |
|
282 | + if ((!isset($_COOKIE['MapFormat']) && (!isset($globalMap3Ddefault) || !$globalMap3Ddefault)) || (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] != '3d')) { |
|
283 | + ?> |
|
284 | 284 | <?php |
285 | 285 | if (isset($globalHereappId) && $globalHereappId != '' && isset($globalHereappCode) && $globalHereappCode != '') { |
286 | - ?> |
|
286 | + ?> |
|
287 | 287 | <option value="Here-Aerial"<?php if ($MapType == 'Here') print ' selected'; ?>>Here-Aerial</option> |
288 | 288 | <option value="Here-Hybrid"<?php if ($MapType == 'Here') print ' selected'; ?>>Here-Hybrid</option> |
289 | 289 | <option value="Here-Road"<?php if ($MapType == 'Here') print ' selected'; ?>>Here-Road</option> |
290 | 290 | <?php |
291 | 291 | } |
292 | - ?> |
|
292 | + ?> |
|
293 | 293 | <?php |
294 | 294 | if (isset($globalGoogleAPIKey) && $globalGoogleAPIKey != '') { |
295 | - ?> |
|
295 | + ?> |
|
296 | 296 | <option value="Google-Roadmap"<?php if ($MapType == 'Google-Roadmap') print ' selected'; ?>>Google Roadmap</option> |
297 | 297 | <option value="Google-Satellite"<?php if ($MapType == 'Google-Satellite') print ' selected'; ?>>Google Satellite</option> |
298 | 298 | <option value="Google-Hybrid"<?php if ($MapType == 'Google-Hybrid') print ' selected'; ?>>Google Hybrid</option> |
299 | 299 | <option value="Google-Terrain"<?php if ($MapType == 'Google-Terrain') print ' selected'; ?>>Google Terrain</option> |
300 | 300 | <?php |
301 | 301 | } |
302 | - ?> |
|
302 | + ?> |
|
303 | 303 | <?php |
304 | 304 | if (isset($globalMapQuestKey) && $globalMapQuestKey != '') { |
305 | - ?> |
|
305 | + ?> |
|
306 | 306 | <option value="MapQuest-OSM"<?php if ($MapType == 'MapQuest-OSM') print ' selected'; ?>>MapQuest-OSM</option> |
307 | 307 | <option value="MapQuest-Aerial"<?php if ($MapType == 'MapQuest-Aerial') print ' selected'; ?>>MapQuest-Aerial</option> |
308 | 308 | <option value="MapQuest-Hybrid"<?php if ($MapType == 'MapQuest-Hybrid') print ' selected'; ?>>MapQuest-Hybrid</option> |
309 | 309 | <?php |
310 | 310 | } |
311 | - ?> |
|
311 | + ?> |
|
312 | 312 | <option value="NatGeo-Street"<?php if ($MapType == 'NatGeo-Street') print ' selected'; ?>>National Geographic Street</option> |
313 | 313 | <option value="Yandex"<?php if ($MapType == 'Yandex') print ' selected'; ?>>Yandex</option> |
314 | 314 | <option value="offline"<?php if ($MapType == 'offline') print ' selected'; ?>>Natural Earth</option> |
315 | 315 | <?php |
316 | - } |
|
317 | - ?> |
|
316 | + } |
|
317 | + ?> |
|
318 | 318 | <?php |
319 | - if (isset($globalMapboxToken) && $globalMapboxToken != '') { |
|
319 | + if (isset($globalMapboxToken) && $globalMapboxToken != '') { |
|
320 | 320 | if (!isset($_COOKIE['MapTypeId'])) $MapBoxId = 'default'; |
321 | 321 | else $MapBoxId = $_COOKIE['MapTypeId']; |
322 | - ?> |
|
322 | + ?> |
|
323 | 323 | <option value="MapboxGL"<?php if ($MapType == 'MapboxGL') print ' selected'; ?>>Mapbox GL</option> |
324 | 324 | <option value="Mapbox-default"<?php if ($MapType == 'Mapbox' && $MapBoxId == 'default') print ' selected'; ?>>Mapbox default</option> |
325 | 325 | <option value="Mapbox-mapbox.streets"<?php if ($MapType == 'Mapbox' && $MapBoxId == 'mapbox.streets') print ' selected'; ?>>Mapbox streets</option> |
@@ -334,16 +334,16 @@ discard block |
||
334 | 334 | <option value="Mapbox-mapbox.pirates"<?php if ($MapType == 'Mapbox' && $MapBoxId == 'mapbox.pirates') print ' selected'; ?>>Mapbox pirates</option> |
335 | 335 | <option value="Mapbox-mapbox.emerald"<?php if ($MapType == 'Mapbox' && $MapBoxId == 'mapbox.emerald') print ' selected'; ?>>Mapbox emerald</option> |
336 | 336 | <?php |
337 | - } |
|
338 | - ?> |
|
337 | + } |
|
338 | + ?> |
|
339 | 339 | <option value="OpenStreetMap"<?php if ($MapType == 'OpenStreetMap') print ' selected'; ?>>OpenStreetMap</option> |
340 | 340 | <?php |
341 | 341 | } |
342 | - ?> |
|
342 | + ?> |
|
343 | 343 | </select> |
344 | 344 | </li> |
345 | 345 | <?php |
346 | - if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d' && (!isset($globalMapOffline) || $globalMapOffline === FALSE)) { |
|
346 | + if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d' && (!isset($globalMapOffline) || $globalMapOffline === FALSE)) { |
|
347 | 347 | ?> |
348 | 348 | <li><?php echo _("Type of Terrain:"); ?> |
349 | 349 | <select class="selectpicker" onchange="terrainType(this);"> |
@@ -354,10 +354,10 @@ discard block |
||
354 | 354 | </select> |
355 | 355 | </li> |
356 | 356 | <?php |
357 | - } |
|
357 | + } |
|
358 | 358 | ?> |
359 | 359 | <?php |
360 | - if (!isset($_COOKIE['MapFormat']) || $_COOKIE['MapFormat'] != '3d') { |
|
360 | + if (!isset($_COOKIE['MapFormat']) || $_COOKIE['MapFormat'] != '3d') { |
|
361 | 361 | ?> |
362 | 362 | <li><div class="checkbox"><label><input type="checkbox" name="display2dbuildings" value="1" onclick="clickDisplay2DBuildings(this)" <?php if (isset($_COOKIE['Map2DBuildings']) && $_COOKIE['Map2DBuildings'] == 'true') print 'checked'; ?> ><?php echo _("Display 2.5D buidings on map"); ?></label></div></li> |
363 | 363 | |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | <li><div class="checkbox"><label><input type="checkbox" name="satelliteestimation" value="1" onclick="clickSatelliteEstimation(this)" <?php if ((isset($_COOKIE['satelliteestimation']) && $_COOKIE['satelliteestimation'] == 'true') || (!isset($_COOKIE['satelliteestimation']) && !isset($globalMapEstimation)) || (!isset($_COOKIE['satelliteestimation']) && isset($globalMapEstimation) && $globalMapEstimation)) print 'checked'; ?> ><?php echo _("Satellites animate between updates"); ?></label></div></li> |
381 | 381 | <?php |
382 | 382 | } |
383 | - } |
|
383 | + } |
|
384 | 384 | ?> |
385 | 385 | <li><div class="checkbox"><label><input type="checkbox" name="displayairports" value="1" onclick="clickDisplayAirports(this)" <?php if (isset($_COOKIE['displayairports']) && $_COOKIE['displayairports'] == 'true' || !isset($_COOKIE['displayairports'])) print 'checked'; ?> ><?php echo _("Display airports on map"); ?></label></div></li> |
386 | 386 | <li><div class="checkbox"><label><input type="checkbox" name="displaygroundstation" value="1" onclick="clickDisplayGroundStation(this)" <?php if ((isset($_COOKIE['show_GroundStation']) && $_COOKIE['show_GroundStation'] == 'true') || (!isset($_COOKIE['show_GroundStation']) && (isset($globalMapGroundStation) && $globalMapGroundStation === TRUE))) print 'checked'; ?> ><?php echo _("Display ground station on map"); ?></label></div></li> |
@@ -392,81 +392,81 @@ discard block |
||
392 | 392 | <li><div class="checkbox"><label><input type="checkbox" name="displayfires" value="1" onclick="clickDisplayFires(this)" <?php if ((isset($_COOKIE['show_Fires']) && $_COOKIE['show_Fires'] == 'true') || (!isset($_COOKIE['show_Fires']) && (isset($globalMapFires) && $globalMapFires === TRUE))) print 'checked'; ?> ><?php echo _("Display fires on map"); ?></label></div></li> |
393 | 393 | <?php |
394 | 394 | } |
395 | - if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d') { |
|
395 | + if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d') { |
|
396 | 396 | ?> |
397 | 397 | <li><div class="checkbox"><label><input type="checkbox" name="displayminimap" value="1" onclick="clickDisplayMinimap(this)" <?php if (!isset($_COOKIE['displayminimap']) || (isset($_COOKIE['displayminimap']) && $_COOKIE['displayminimap'] == 'true')) print 'checked'; ?> ><?php echo _("Show mini-map"); ?></label></div></li> |
398 | 398 | <?php |
399 | - } |
|
400 | - if (time() > mktime(0,0,0,12,1,date("Y")) && time() < mktime(0,0,0,12,31,date("Y"))) { |
|
399 | + } |
|
400 | + if (time() > mktime(0,0,0,12,1,date("Y")) && time() < mktime(0,0,0,12,31,date("Y"))) { |
|
401 | 401 | ?> |
402 | 402 | <li><div class="checkbox"><label><input type="checkbox" name="displaysanta" value="1" onclick="clickSanta(this)"><i class="fa fa-snowflake-o" aria-hidden="true"></i> <?php echo _("Show Santa Claus now"); ?> <i class="fa fa-snowflake-o" aria-hidden="true"></i></label></div></li> |
403 | 403 | <?php |
404 | - } |
|
404 | + } |
|
405 | 405 | ?> |
406 | 406 | <?php |
407 | 407 | if (function_exists('array_column')) { |
408 | - if (array_search(TRUE, array_column($globalSources, 'sourcestats')) !== FALSE) { |
|
409 | - ?> |
|
408 | + if (array_search(TRUE, array_column($globalSources, 'sourcestats')) !== FALSE) { |
|
409 | + ?> |
|
410 | 410 | <li><div class="checkbox"><label><input type="checkbox" name="flightpolar" value="1" onclick="clickPolar(this)" <?php if ((isset($_COOKIE['polar']) && $_COOKIE['polar'] == 'true')) print 'checked'; ?> ><?php echo _("Display polar on map"); ?></label></div></li> |
411 | 411 | <?php |
412 | - } |
|
412 | + } |
|
413 | 413 | } elseif (isset($globalSources)) { |
414 | - $dispolar = false; |
|
415 | - foreach ($globalSources as $testsource) { |
|
416 | - if (isset($globalSources['sourcestats']) && $globalSources['sourcestats'] !== FALSE) $dispolar = true; |
|
417 | - } |
|
418 | - if ($dispolar) { |
|
419 | - ?> |
|
414 | + $dispolar = false; |
|
415 | + foreach ($globalSources as $testsource) { |
|
416 | + if (isset($globalSources['sourcestats']) && $globalSources['sourcestats'] !== FALSE) $dispolar = true; |
|
417 | + } |
|
418 | + if ($dispolar) { |
|
419 | + ?> |
|
420 | 420 | <li><div class="checkbox"><label><input type="checkbox" name="flightpolar" value="1" onclick="clickPolar(this)" <?php if ((isset($_COOKIE['polar']) && $_COOKIE['polar'] == 'true')) print 'checked'; ?> ><?php echo _("Display polar on map"); ?></label></div></li> |
421 | 421 | <?php |
422 | - } |
|
423 | - } |
|
424 | - ?> |
|
422 | + } |
|
423 | + } |
|
424 | + ?> |
|
425 | 425 | <?php |
426 | - if (!isset($_COOKIE['MapFormat']) || $_COOKIE['MapFormat'] != '3d') { |
|
426 | + if (!isset($_COOKIE['MapFormat']) || $_COOKIE['MapFormat'] != '3d') { |
|
427 | 427 | ?> |
428 | 428 | |
429 | 429 | <?php |
430 | 430 | if (!isset($globalAircraft) || $globalAircraft === TRUE) { |
431 | - if (extension_loaded('gd') && function_exists('gd_info')) { |
|
432 | - ?> |
|
431 | + if (extension_loaded('gd') && function_exists('gd_info')) { |
|
432 | + ?> |
|
433 | 433 | <li><input type="checkbox" name="aircraftcoloraltitude" value="1" onclick="iconColorAltitude(this)" <?php if (isset($_COOKIE['IconColorAltitude']) && $_COOKIE['IconColorAltitude'] == 'true') print 'checked'; ?> ><?php echo _("Aircraft icon color based on altitude"); ?></li> |
434 | 434 | <?php |
435 | 435 | if (!isset($_COOKIE['IconColorAltitude']) || $_COOKIE['IconColorAltitude'] == 'false') { |
436 | - ?> |
|
436 | + ?> |
|
437 | 437 | <li><?php echo _("Aircraft icon color:"); ?> |
438 | 438 | <input type="color" name="aircraftcolor" id="html5colorpicker" onchange="iconColor(aircraftcolor.value);" value="#<?php if (isset($_COOKIE['IconColor'])) print $_COOKIE['IconColor']; elseif (isset($globalAircraftIconColor)) print $globalAircraftIconColor; else print '1a3151'; ?>"> |
439 | 439 | </li> |
440 | 440 | <?php |
441 | 441 | } |
442 | - } |
|
443 | - } |
|
444 | - ?> |
|
442 | + } |
|
443 | + } |
|
444 | + ?> |
|
445 | 445 | <?php |
446 | 446 | if (isset($globalMarine) && $globalMarine === TRUE) { |
447 | - if (extension_loaded('gd') && function_exists('gd_info')) { |
|
448 | - ?> |
|
447 | + if (extension_loaded('gd') && function_exists('gd_info')) { |
|
448 | + ?> |
|
449 | 449 | <li><?php echo _("Marine icon color:"); ?> |
450 | 450 | <input type="color" name="marinecolor" id="html5colorpicker" onchange="MarineiconColor(marinecolor.value);" value="#<?php if (isset($_COOKIE['MarineIconColor'])) print $_COOKIE['MarineIconColor']; elseif (isset($globalMarineIconColor)) print $globalMarineIconColor; else print '1a3151'; ?>"> |
451 | 451 | </li> |
452 | 452 | <?php |
453 | - } |
|
454 | - } |
|
455 | - ?> |
|
453 | + } |
|
454 | + } |
|
455 | + ?> |
|
456 | 456 | <?php |
457 | 457 | if (isset($globalTracker) && $globalTracker === TRUE) { |
458 | - if (extension_loaded('gd') && function_exists('gd_info')) { |
|
459 | - ?> |
|
458 | + if (extension_loaded('gd') && function_exists('gd_info')) { |
|
459 | + ?> |
|
460 | 460 | <li><?php echo _("Tracker icon color:"); ?> |
461 | 461 | <input type="color" name="trackercolor" id="html5colorpicker" onchange="TrackericonColor(trackercolor.value);" value="#<?php if (isset($_COOKIE['TrackerIconColor'])) print $_COOKIE['TrackerIconColor']; elseif (isset($globalTrackerIconColor)) print $globalTrackerIconColor; else print '1a3151'; ?>"> |
462 | 462 | </li> |
463 | 463 | <?php |
464 | - } |
|
465 | - } |
|
466 | - ?> |
|
464 | + } |
|
465 | + } |
|
466 | + ?> |
|
467 | 467 | <?php |
468 | 468 | if (!isset($globalAircraft) || $globalAircraft === TRUE) { |
469 | - ?> |
|
469 | + ?> |
|
470 | 470 | <li><?php echo _("Show airport icon at zoom level:"); ?> |
471 | 471 | <div class="range"> |
472 | 472 | <input type="range" min="0" max="19" step="1" name="airportzoom" onchange="range.value=value;airportDisplayZoom(airportzoom.value);" value="<?php if (isset($_COOKIE['AirportZoom'])) print $_COOKIE['AirportZoom']; elseif (isset($globalAirportZoom)) print $globalAirportZoom; else print '7'; ?>"> |
@@ -475,9 +475,9 @@ discard block |
||
475 | 475 | </li> |
476 | 476 | <?php |
477 | 477 | } |
478 | - ?> |
|
478 | + ?> |
|
479 | 479 | <?php |
480 | - } elseif (isset($_COOKIE['MapFormat']) || $_COOKIE['MapFOrmat'] == '3d') { |
|
480 | + } elseif (isset($_COOKIE['MapFormat']) || $_COOKIE['MapFOrmat'] == '3d') { |
|
481 | 481 | ?> |
482 | 482 | <?php |
483 | 483 | if (!isset($globalAircraft) || $globalAircraft === TRUE) { |
@@ -509,7 +509,7 @@ discard block |
||
509 | 509 | </li> |
510 | 510 | <?php |
511 | 511 | } |
512 | - } |
|
512 | + } |
|
513 | 513 | ?> |
514 | 514 | <li><?php echo _("Distance unit:"); ?> |
515 | 515 | <select class="selectpicker" onchange="unitdistance(this);"> |
@@ -542,19 +542,19 @@ discard block |
||
542 | 542 | <ul> |
543 | 543 | <?php |
544 | 544 | if (!isset($globalAircraft) || $globalAircraft) { |
545 | - ?> |
|
545 | + ?> |
|
546 | 546 | <?php |
547 | 547 | if (((isset($globalVATSIM) && $globalVATSIM) || isset($globalIVAO) && $globalIVAO || isset($globalphpVMS) && $globalphpVMS) && (!isset($globalMapVAchoose) || $globalMapVAchoose)) { |
548 | - ?> |
|
548 | + ?> |
|
549 | 549 | <?php if (isset($globalVATSIM) && $globalVATSIM) { ?><li><input type="checkbox" name="vatsim" value="1" onclick="clickVATSIM(this)" <?php if ((isset($_COOKIE['ShowVATSIM']) && $_COOKIE['ShowVATSIM'] == 'true') || !isset($_COOKIE['ShowVATSIM'])) print 'checked'; ?> ><?php echo _("Display VATSIM data"); ?></li><?php } ?> |
550 | 550 | <?php if (isset($globalIVAO) && $globalIVAO) { ?><li><input type="checkbox" name="ivao" value="1" onclick="clickIVAO(this)" <?php if ((isset($_COOKIE['ShowIVAO']) && $_COOKIE['ShowIVAO'] == 'true') || !isset($_COOKIE['ShowIVAO'])) print 'checked'; ?> ><?php echo _("Display IVAO data"); ?></li><?php } ?> |
551 | 551 | <?php if (isset($globalphpVMS) && $globalphpVMS) { ?><li><input type="checkbox" name="phpvms" value="1" onclick="clickphpVMS(this)" <?php if ((isset($_COOKIE['ShowVMS']) && $_COOKIE['ShowVMS'] == 'true') || !isset($_COOKIE['ShowVMS'])) print 'checked'; ?> ><?php echo _("Display phpVMS data"); ?></li><?php } ?> |
552 | 552 | <?php |
553 | 553 | } |
554 | - ?> |
|
554 | + ?> |
|
555 | 555 | <?php |
556 | 556 | if (!(isset($globalVA) && $globalVA) && !(isset($globalVATSIM) && $globalVATSIM) && !(isset($globalIVAO) && $globalIVAO) && !(isset($globalphpVMS) && $globalphpVMS) && isset($globalSBS1) && $globalSBS1 && isset($globalAPRS) && $globalAPRS && (!isset($globalMapchoose) || $globalMapchoose)) { |
557 | - ?> |
|
557 | + ?> |
|
558 | 558 | <?php if (isset($globalSBS1) && $globalSBS1) { ?> |
559 | 559 | <li><div class="checkbox"><label><input type="checkbox" name="sbs" value="1" onclick="clickSBS1(this)" <?php if ((isset($_COOKIE['ShowSBS1']) && $_COOKIE['ShowSBS1'] == 'true') || !isset($_COOKIE['ShowSBS1'])) print 'checked'; ?> ><?php echo _("Display ADS-B data"); ?></label></div></li> |
560 | 560 | <?php } ?> |
@@ -563,7 +563,7 @@ discard block |
||
563 | 563 | <?php } ?> |
564 | 564 | <?php |
565 | 565 | } |
566 | - ?> |
|
566 | + ?> |
|
567 | 567 | <li><?php echo _("Display airlines:"); ?> |
568 | 568 | <br/> |
569 | 569 | <select class="selectpicker" multiple onchange="airlines(this);" id="display_airlines"> |
@@ -583,14 +583,14 @@ discard block |
||
583 | 583 | echo '<option value="'.$airline['airline_icao'].'">'.$airline_name.'</option>'; |
584 | 584 | } |
585 | 585 | } |
586 | - ?> |
|
586 | + ?> |
|
587 | 587 | </select> |
588 | 588 | </li> |
589 | 589 | <?php |
590 | 590 | $Spotter = new Spotter(); |
591 | 591 | $allalliancenames = $Spotter->getAllAllianceNames(); |
592 | 592 | if (!empty($allalliancenames)) { |
593 | - ?> |
|
593 | + ?> |
|
594 | 594 | <li><?php echo _("Display alliance:"); ?> |
595 | 595 | <br/> |
596 | 596 | <select class="selectpicker" onchange="alliance(this);" id="display_alliance"> |
@@ -604,18 +604,18 @@ discard block |
||
604 | 604 | echo '<option value="'.$alliance_name.'">'.$alliance_name.'</option>'; |
605 | 605 | } |
606 | 606 | } |
607 | - ?> |
|
607 | + ?> |
|
608 | 608 | </select> |
609 | 609 | </li> |
610 | 610 | <?php |
611 | 611 | } |
612 | - ?> |
|
612 | + ?> |
|
613 | 613 | <?php |
614 | 614 | } |
615 | - ?> |
|
615 | + ?> |
|
616 | 616 | <?php |
617 | 617 | if (isset($globalAPRS) && $globalAPRS) { |
618 | - ?> |
|
618 | + ?> |
|
619 | 619 | <li><?php echo _("Display APRS sources name:"); ?> |
620 | 620 | <select class="selectpicker" multiple onchange="sources(this);"> |
621 | 621 | <?php |
@@ -639,18 +639,18 @@ discard block |
||
639 | 639 | echo '<option value="'.$src['name'].'">'.$src['name'].'</option>'; |
640 | 640 | } |
641 | 641 | } |
642 | - ?> |
|
642 | + ?> |
|
643 | 643 | </select> |
644 | 644 | </li> |
645 | 645 | <?php |
646 | 646 | } |
647 | - ?> |
|
647 | + ?> |
|
648 | 648 | <?php |
649 | 649 | if (!isset($globalAircraft) || $globalAircraft) { |
650 | - ?> |
|
650 | + ?> |
|
651 | 651 | <?php |
652 | - if (!(isset($globalVATSIM) && $globalVATSIM) && !(isset($globalIVAO) && $globalIVAO) && !(isset($globalphpVMS) && $globalphpVMS)) { |
|
653 | - ?> |
|
652 | + if (!(isset($globalVATSIM) && $globalVATSIM) && !(isset($globalIVAO) && $globalIVAO) && !(isset($globalphpVMS) && $globalphpVMS)) { |
|
653 | + ?> |
|
654 | 654 | <li><?php echo _("Display airlines of type:"); ?><br/> |
655 | 655 | <select class="selectpicker" onchange="airlinestype(this);"> |
656 | 656 | <option value="all"<?php if (!isset($_COOKIE['filter_airlinestype']) || $_COOKIE['filter_airlinestype'] == 'all' || $_COOKIE['filter_airlinestype'] == '') echo ' selected'; ?>><?php echo _("All"); ?></option> |
@@ -660,21 +660,21 @@ discard block |
||
660 | 660 | </select> |
661 | 661 | </li> |
662 | 662 | <?php |
663 | - } |
|
664 | - ?> |
|
663 | + } |
|
664 | + ?> |
|
665 | 665 | <?php |
666 | 666 | } |
667 | - ?> |
|
667 | + ?> |
|
668 | 668 | <?php |
669 | 669 | if (isset($globalMarine) && $globalMarine) { |
670 | - ?> |
|
670 | + ?> |
|
671 | 671 | <li> |
672 | 672 | <?php echo _("Display vessels with MMSI:"); ?> |
673 | 673 | <input type="text" name="mmsifilter" onchange="mmsifilter();" id="mmsifilter" value="<?php if (isset($_COOKIE['filter_mmsi'])) print $_COOKIE['filter_mmsi']; ?>" /> |
674 | 674 | </li> |
675 | 675 | <?php |
676 | 676 | } |
677 | - ?> |
|
677 | + ?> |
|
678 | 678 | <li> |
679 | 679 | <?php echo _("Display with ident:"); ?> |
680 | 680 | <input type="text" name="identfilter" onchange="identfilter();" id="identfilter" value="<?php if (isset($_COOKIE['filter_ident'])) print $_COOKIE['filter_ident']; ?>" /> |
@@ -687,7 +687,7 @@ discard block |
||
687 | 687 | </form> |
688 | 688 | </div> |
689 | 689 | <?php |
690 | - if (isset($globalSatellite) && $globalSatellite) { |
|
690 | + if (isset($globalSatellite) && $globalSatellite) { |
|
691 | 691 | ?> |
692 | 692 | <div class="sidebar-pane" id="satellites"> |
693 | 693 | <h1 class="sidebar-header"><?php echo _("Satellites"); ?><span class="sidebar-close"><i class="fa fa-caret-left"></i></span></h1> |
@@ -727,14 +727,14 @@ discard block |
||
727 | 727 | print '<option value="'.$type['tle_type'].'">'.$type_name.'</option>'; |
728 | 728 | } |
729 | 729 | } |
730 | - ?> |
|
730 | + ?> |
|
731 | 731 | </select> |
732 | 732 | </li> |
733 | 733 | </ul> |
734 | 734 | </form> |
735 | 735 | </div> |
736 | 736 | <?php |
737 | - } |
|
737 | + } |
|
738 | 738 | ?> |
739 | 739 | </div> |
740 | 740 | </div> |