@@ -17,9 +17,9 @@ discard block |
||
| 17 | 17 | foreach($spotter_array as $spotter_item) |
| 18 | 18 | { |
| 19 | 19 | $output .= '<url>'; |
| 20 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/flightid/'.$spotter_item['spotter_id'].'</loc>'; |
|
| 21 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 22 | - $output .= '<changefreq>weekly</changefreq>'; |
|
| 20 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/flightid/'.$spotter_item['spotter_id'].'</loc>'; |
|
| 21 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 22 | + $output .= '<changefreq>weekly</changefreq>'; |
|
| 23 | 23 | $output .= '</url>'; |
| 24 | 24 | } |
| 25 | 25 | $output .= '</urlset>'; |
@@ -34,9 +34,9 @@ discard block |
||
| 34 | 34 | foreach($aircraft_types as $aircraft_item) |
| 35 | 35 | { |
| 36 | 36 | $output .= '<url>'; |
| 37 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/aircraft/'.urlencode($aircraft_item['aircraft_icao']).'</loc>'; |
|
| 38 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 39 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 37 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/aircraft/'.urlencode($aircraft_item['aircraft_icao']).'</loc>'; |
|
| 38 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 39 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 40 | 40 | $output .= '</url>'; |
| 41 | 41 | } |
| 42 | 42 | $output .= '</urlset>'; |
@@ -51,9 +51,9 @@ discard block |
||
| 51 | 51 | foreach($aircraft_registrations as $aircraft_item) |
| 52 | 52 | { |
| 53 | 53 | $output .= '<url>'; |
| 54 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/registration/'.urlencode($aircraft_item['registration']).'</loc>'; |
|
| 55 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 56 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 54 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/registration/'.urlencode($aircraft_item['registration']).'</loc>'; |
|
| 55 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 56 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 57 | 57 | $output .= '</url>'; |
| 58 | 58 | } |
| 59 | 59 | $output .= '</urlset>'; |
@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | foreach($airline_names as $airline_item) |
| 68 | 68 | { |
| 69 | 69 | $output .= '<url>'; |
| 70 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airline/'.urlencode($airline_item['airline_icao']).'</loc>'; |
|
| 71 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 72 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 70 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airline/'.urlencode($airline_item['airline_icao']).'</loc>'; |
|
| 71 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 72 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 73 | 73 | $output .= '</url>'; |
| 74 | 74 | } |
| 75 | 75 | $output .= '</urlset>'; |
@@ -84,9 +84,9 @@ discard block |
||
| 84 | 84 | foreach($airport_names as $airport_item) |
| 85 | 85 | { |
| 86 | 86 | $output .= '<url>'; |
| 87 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airport/'.$airport_item['airport_icao'].'</loc>'; |
|
| 88 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 89 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 87 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airport/'.$airport_item['airport_icao'].'</loc>'; |
|
| 88 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 89 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 90 | 90 | $output .= '</url>'; |
| 91 | 91 | } |
| 92 | 92 | $output .= '</urlset>'; |
@@ -101,9 +101,9 @@ discard block |
||
| 101 | 101 | foreach($manufacturer_names as $manufacturer_item) |
| 102 | 102 | { |
| 103 | 103 | $output .= '<url>'; |
| 104 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/manufacturer/'.urlencode(strtolower(str_replace(" ", "-", $manufacturer_item['aircraft_manufacturer']))).'</loc>'; |
|
| 105 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 106 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 104 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/manufacturer/'.urlencode(strtolower(str_replace(" ", "-", $manufacturer_item['aircraft_manufacturer']))).'</loc>'; |
|
| 105 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 106 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 107 | 107 | $output .= '</url>'; |
| 108 | 108 | } |
| 109 | 109 | $output .= '</urlset>'; |
@@ -117,9 +117,9 @@ discard block |
||
| 117 | 117 | foreach($country_names as $country_item) |
| 118 | 118 | { |
| 119 | 119 | $output .= '<url>'; |
| 120 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/country/'.urlencode(strtolower(str_replace(" ", "-", $country_item['country']))).'</loc>'; |
|
| 121 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 122 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 120 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/country/'.urlencode(strtolower(str_replace(" ", "-", $country_item['country']))).'</loc>'; |
|
| 121 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 122 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 123 | 123 | $output .= '</url>'; |
| 124 | 124 | } |
| 125 | 125 | $output .= '</urlset>'; |
@@ -134,9 +134,9 @@ discard block |
||
| 134 | 134 | { |
| 135 | 135 | if (ctype_alnum($ident_item['ident'])) { |
| 136 | 136 | $output .= '<url>'; |
| 137 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/ident/'.urlencode($ident_item['ident']).'</loc>'; |
|
| 138 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 139 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 137 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/ident/'.urlencode($ident_item['ident']).'</loc>'; |
|
| 138 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 139 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 140 | 140 | $output .= '</url>'; |
| 141 | 141 | } |
| 142 | 142 | } |
@@ -151,9 +151,9 @@ discard block |
||
| 151 | 151 | foreach($date_names as $date_item) |
| 152 | 152 | { |
| 153 | 153 | $output .= '<url>'; |
| 154 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/date/'.date("Y-m-d", strtotime($date_item['date'])).'</loc>'; |
|
| 155 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 156 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 154 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/date/'.date("Y-m-d", strtotime($date_item['date'])).'</loc>'; |
|
| 155 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 156 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 157 | 157 | $output .= '</url>'; |
| 158 | 158 | } |
| 159 | 159 | $output .= '</urlset>'; |
@@ -167,9 +167,9 @@ discard block |
||
| 167 | 167 | foreach($route_names as $route_item) |
| 168 | 168 | { |
| 169 | 169 | $output .= '<url>'; |
| 170 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/route/'.$route_item['airport_departure_icao'].'/'.$route_item['airport_arrival_icao'].'</loc>'; |
|
| 171 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 172 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 170 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/route/'.$route_item['airport_departure_icao'].'/'.$route_item['airport_arrival_icao'].'</loc>'; |
|
| 171 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 172 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 173 | 173 | $output .= '</url>'; |
| 174 | 174 | } |
| 175 | 175 | $output .= '</urlset>'; |
@@ -181,34 +181,34 @@ discard block |
||
| 181 | 181 | |
| 182 | 182 | /* STATIC PAGES */ |
| 183 | 183 | $output .= '<url>'; |
| 184 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/</loc>'; |
|
| 185 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 186 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 184 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/</loc>'; |
|
| 185 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 186 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 187 | 187 | $output .= '</url>'; |
| 188 | 188 | $output .= '<url>'; |
| 189 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/latest</loc>'; |
|
| 190 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 191 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 189 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/latest</loc>'; |
|
| 190 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 191 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 192 | 192 | $output .= '</url>'; |
| 193 | 193 | $output .= '<url>'; |
| 194 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/highlights</loc>'; |
|
| 195 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 196 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 194 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/highlights</loc>'; |
|
| 195 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 196 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 197 | 197 | $output .= '</url>'; |
| 198 | 198 | $output .= '<url>'; |
| 199 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/aircraft</loc>'; |
|
| 200 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 201 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 199 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/aircraft</loc>'; |
|
| 200 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 201 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 202 | 202 | $output .= '</url>'; |
| 203 | 203 | $output .= '<url>'; |
| 204 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airline</loc>'; |
|
| 205 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 206 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 204 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airline</loc>'; |
|
| 205 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 206 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 207 | 207 | $output .= '</url>'; |
| 208 | 208 | $output .= '<url>'; |
| 209 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airport</loc>'; |
|
| 210 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 211 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 209 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/airport</loc>'; |
|
| 210 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 211 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 212 | 212 | $output .= '</url>'; |
| 213 | 213 | /* |
| 214 | 214 | $output .= '<url>'; |
@@ -218,82 +218,82 @@ discard block |
||
| 218 | 218 | $output .= '</url>'; |
| 219 | 219 | */ |
| 220 | 220 | $output .= '<url>'; |
| 221 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/about</loc>'; |
|
| 222 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 223 | - $output .= '<changefreq>weekly</changefreq>'; |
|
| 221 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/about</loc>'; |
|
| 222 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 223 | + $output .= '<changefreq>weekly</changefreq>'; |
|
| 224 | 224 | $output .= '</url>'; |
| 225 | 225 | |
| 226 | 226 | |
| 227 | 227 | /* STATISTIC PAGES */ |
| 228 | 228 | $output .= '<url>'; |
| 229 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/aircraft</loc>'; |
|
| 230 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 231 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 229 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/aircraft</loc>'; |
|
| 230 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 231 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 232 | 232 | $output .= '</url>'; |
| 233 | 233 | $output .= '<url>'; |
| 234 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/registration</loc>'; |
|
| 235 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 236 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 234 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/registration</loc>'; |
|
| 235 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 236 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 237 | 237 | $output .= '</url>'; |
| 238 | 238 | $output .= '<url>'; |
| 239 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/manufacturer</loc>'; |
|
| 240 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 241 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 239 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/manufacturer</loc>'; |
|
| 240 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 241 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 242 | 242 | $output .= '</url>'; |
| 243 | 243 | $output .= '<url>'; |
| 244 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline</loc>'; |
|
| 245 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 246 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 244 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline</loc>'; |
|
| 245 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 246 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 247 | 247 | $output .= '</url>'; |
| 248 | 248 | $output .= '<url>'; |
| 249 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline-country</loc>'; |
|
| 250 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 251 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 249 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline-country</loc>'; |
|
| 250 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 251 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 252 | 252 | $output .= '</url>'; |
| 253 | 253 | $output .= '<url>'; |
| 254 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure</loc>'; |
|
| 255 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 256 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 254 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure</loc>'; |
|
| 255 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 256 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 257 | 257 | $output .= '</url>'; |
| 258 | 258 | $output .= '<url>'; |
| 259 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure-country</loc>'; |
|
| 260 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 261 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 259 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure-country</loc>'; |
|
| 260 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 261 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 262 | 262 | $output .= '</url>'; |
| 263 | 263 | $output .= '<url>'; |
| 264 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival</loc>'; |
|
| 265 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 266 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 264 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival</loc>'; |
|
| 265 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 266 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 267 | 267 | $output .= '</url>'; |
| 268 | 268 | $output .= '<url>'; |
| 269 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival-country</loc>'; |
|
| 270 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 271 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 269 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival-country</loc>'; |
|
| 270 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 271 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 272 | 272 | $output .= '</url>'; |
| 273 | 273 | $output .= '<url>'; |
| 274 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-airport</loc>'; |
|
| 275 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 276 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 274 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-airport</loc>'; |
|
| 275 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 276 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 277 | 277 | $output .= '</url>'; |
| 278 | 278 | $output .= '<url>'; |
| 279 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-waypoint</loc>'; |
|
| 280 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 281 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 279 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-waypoint</loc>'; |
|
| 280 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 281 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 282 | 282 | $output .= '</url>'; |
| 283 | 283 | $output .= '<url>'; |
| 284 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/callsign</loc>'; |
|
| 285 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 286 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 284 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/callsign</loc>'; |
|
| 285 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 286 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 287 | 287 | $output .= '</url>'; |
| 288 | 288 | $output .= '<url>'; |
| 289 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/date</loc>'; |
|
| 290 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 291 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 289 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/date</loc>'; |
|
| 290 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 291 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 292 | 292 | $output .= '</url>'; |
| 293 | 293 | $output .= '<url>'; |
| 294 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/time</loc>'; |
|
| 295 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 296 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 294 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/time</loc>'; |
|
| 295 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 296 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 297 | 297 | $output .= '</url>'; |
| 298 | 298 | $output .= '</urlset>'; |
| 299 | 299 | |
@@ -303,31 +303,31 @@ discard block |
||
| 303 | 303 | $output .= '<?xml version="1.0" encoding="UTF-8"?>'; |
| 304 | 304 | $output .= '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; |
| 305 | 305 | $output .= '<sitemap>'; |
| 306 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/static</loc>'; |
|
| 306 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/static</loc>'; |
|
| 307 | 307 | $output .= '</sitemap>'; |
| 308 | 308 | $output .= '<sitemap>'; |
| 309 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/flight</loc>'; |
|
| 309 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/flight</loc>'; |
|
| 310 | 310 | $output .= '</sitemap>'; |
| 311 | 311 | $output .= '<sitemap>'; |
| 312 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/aircraft</loc>'; |
|
| 312 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/aircraft</loc>'; |
|
| 313 | 313 | $output .= '</sitemap>'; |
| 314 | 314 | $output .= '<sitemap>'; |
| 315 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/registration</loc>'; |
|
| 315 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/registration</loc>'; |
|
| 316 | 316 | $output .= '</sitemap>'; |
| 317 | 317 | $output .= '<sitemap>'; |
| 318 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airline</loc>'; |
|
| 318 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airline</loc>'; |
|
| 319 | 319 | $output .= '</sitemap>'; |
| 320 | 320 | $output .= '<sitemap>'; |
| 321 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airport</loc>'; |
|
| 321 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airport</loc>'; |
|
| 322 | 322 | $output .= '</sitemap>'; |
| 323 | 323 | $output .= '<sitemap>'; |
| 324 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/manufacturer</loc>'; |
|
| 324 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/manufacturer</loc>'; |
|
| 325 | 325 | $output .= '</sitemap>'; |
| 326 | 326 | $output .= '<sitemap>'; |
| 327 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/country</loc>'; |
|
| 327 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/country</loc>'; |
|
| 328 | 328 | $output .= '</sitemap>'; |
| 329 | 329 | $output .= '<sitemap>'; |
| 330 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/ident</loc>'; |
|
| 330 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/ident</loc>'; |
|
| 331 | 331 | $output .= '</sitemap>'; |
| 332 | 332 | /* |
| 333 | 333 | $output .= '<sitemap>'; |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | $output .= '</sitemap>'; |
| 336 | 336 | */ |
| 337 | 337 | $output .= '<sitemap>'; |
| 338 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/route</loc>'; |
|
| 338 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/route</loc>'; |
|
| 339 | 339 | $output .= '</sitemap>'; |
| 340 | 340 | $output .= '</sitemapindex>'; |
| 341 | 341 | |