|
@@ -13,20 +13,20 @@ discard block |
|
|
block discarded – undo |
13
|
13
|
{ |
14
|
14
|
$coords = explode(',',$_GET['coord']); |
15
|
15
|
if ((isset($_COOKIE['show_GroundStation']) && $_COOKIE['show_GroundStation'] == 'true') |
16
|
|
- || (!isset($_COOKIE['show_GroundStation']) && (isset($globalMapGroundStation) && $globalMapGroundStation === TRUE))) { |
|
16
|
+ || (!isset($_COOKIE['show_GroundStation']) && (isset($globalMapGroundStation) && $globalMapGroundStation === TRUE))) { |
17
|
17
|
//$spotter_array = $Source->getAllLocationInfo(); |
18
|
18
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('gs',$coords)); |
19
|
19
|
} |
20
|
20
|
if ((isset($_COOKIE['show_WeatherStation']) && $_COOKIE['show_WeatherStation'] == 'true') |
21
|
|
- || (!isset($_COOKIE['show_WeatherStation']) && (isset($globalMapWeatherStation) && $globalMapWeatherStation === TRUE))) { |
|
21
|
+ || (!isset($_COOKIE['show_WeatherStation']) && (isset($globalMapWeatherStation) && $globalMapWeatherStation === TRUE))) { |
22
|
22
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('wx',$coords)); |
23
|
23
|
} |
24
|
24
|
if ((isset($_COOKIE['show_Lightning']) && $_COOKIE['show_Lightning'] == 'true') |
25
|
|
- || (!isset($_COOKIE['show_Lightning']) && (isset($globalMapLightning) && $globalMapLightning === TRUE))) { |
|
25
|
+ || (!isset($_COOKIE['show_Lightning']) && (isset($globalMapLightning) && $globalMapLightning === TRUE))) { |
26
|
26
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('lightning',$coords)); |
27
|
27
|
} |
28
|
28
|
if ((isset($_COOKIE['show_Fire']) && $_COOKIE['show_Fire'] == 'true') |
29
|
|
- || (!isset($_COOKIE['show_Fire']) && (isset($globalMapFires) && $globalMapFires === TRUE))) { |
|
29
|
+ || (!isset($_COOKIE['show_Fire']) && (isset($globalMapFires) && $globalMapFires === TRUE))) { |
30
|
30
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('fires',$coords,true)); |
31
|
31
|
} |
32
|
32
|
if (!isset($globalDemo)) { |
|
@@ -34,20 +34,20 @@ discard block |
|
|
block discarded – undo |
34
|
34
|
} |
35
|
35
|
} else { |
36
|
36
|
if ((isset($_COOKIE['show_GroundStation']) && $_COOKIE['show_GroundStation'] == 'true') |
37
|
|
- || (!isset($_COOKIE['show_GroundStation']) && (isset($globalMapGroundStation) && $globalMapGroundStation === TRUE))) { |
|
37
|
+ || (!isset($_COOKIE['show_GroundStation']) && (isset($globalMapGroundStation) && $globalMapGroundStation === TRUE))) { |
38
|
38
|
//$spotter_array = $Source->getAllLocationInfo(); |
39
|
39
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('gs')); |
40
|
40
|
} |
41
|
41
|
if ((isset($_COOKIE['show_WeatherStation']) && $_COOKIE['show_WeatherStation'] == 'true') |
42
|
|
- || (!isset($_COOKIE['show_WeatherStation']) && (isset($globalMapWeatherStation) && $globalMapWeatherStation === TRUE))) { |
|
42
|
+ || (!isset($_COOKIE['show_WeatherStation']) && (isset($globalMapWeatherStation) && $globalMapWeatherStation === TRUE))) { |
43
|
43
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('wx')); |
44
|
44
|
} |
45
|
45
|
if ((isset($_COOKIE['show_Lightning']) && $_COOKIE['show_Lightning'] == 'true') |
46
|
|
- || (!isset($_COOKIE['show_Lightning']) && (isset($globalMapLightning) && $globalMapLightning === TRUE))) { |
|
46
|
+ || (!isset($_COOKIE['show_Lightning']) && (isset($globalMapLightning) && $globalMapLightning === TRUE))) { |
47
|
47
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('lightning')); |
48
|
48
|
} |
49
|
49
|
if ((isset($_COOKIE['show_Fire']) && $_COOKIE['show_Fire'] == 'true') |
50
|
|
- || (!isset($_COOKIE['show_Fire']) && (isset($globalMapFires) && $globalMapFires === TRUE))) { |
|
50
|
+ || (!isset($_COOKIE['show_Fire']) && (isset($globalMapFires) && $globalMapFires === TRUE))) { |
51
|
51
|
$spotter_array = array_merge($spotter_array,$Source->getLocationInfoByType('fires',array(),true)); |
52
|
52
|
} |
53
|
53
|
if (!isset($globalDemo)) { |