@@ -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,117 +181,117 @@ 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 | $output .= '<url>'; |
| 214 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/search</loc>'; |
|
| 215 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 216 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 214 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/search</loc>'; |
|
| 215 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 216 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 217 | 217 | $output .= '</url>'; |
| 218 | 218 | $output .= '<url>'; |
| 219 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/about</loc>'; |
|
| 220 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 221 | - $output .= '<changefreq>weekly</changefreq>'; |
|
| 219 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/about</loc>'; |
|
| 220 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 221 | + $output .= '<changefreq>weekly</changefreq>'; |
|
| 222 | 222 | $output .= '</url>'; |
| 223 | 223 | |
| 224 | 224 | |
| 225 | 225 | /* STATISTIC PAGES */ |
| 226 | 226 | $output .= '<url>'; |
| 227 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/aircraft</loc>'; |
|
| 228 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 229 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 227 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/aircraft</loc>'; |
|
| 228 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 229 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 230 | 230 | $output .= '</url>'; |
| 231 | 231 | $output .= '<url>'; |
| 232 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/registration</loc>'; |
|
| 233 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 234 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 232 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/registration</loc>'; |
|
| 233 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 234 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 235 | 235 | $output .= '</url>'; |
| 236 | 236 | $output .= '<url>'; |
| 237 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/manufacturer</loc>'; |
|
| 238 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 239 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 237 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/manufacturer</loc>'; |
|
| 238 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 239 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 240 | 240 | $output .= '</url>'; |
| 241 | 241 | $output .= '<url>'; |
| 242 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline</loc>'; |
|
| 243 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 244 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 242 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline</loc>'; |
|
| 243 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 244 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 245 | 245 | $output .= '</url>'; |
| 246 | 246 | $output .= '<url>'; |
| 247 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline-country</loc>'; |
|
| 248 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 249 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 247 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airline-country</loc>'; |
|
| 248 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 249 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 250 | 250 | $output .= '</url>'; |
| 251 | 251 | $output .= '<url>'; |
| 252 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure</loc>'; |
|
| 253 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 254 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 252 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure</loc>'; |
|
| 253 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 254 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 255 | 255 | $output .= '</url>'; |
| 256 | 256 | $output .= '<url>'; |
| 257 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure-country</loc>'; |
|
| 258 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 259 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 257 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-departure-country</loc>'; |
|
| 258 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 259 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 260 | 260 | $output .= '</url>'; |
| 261 | 261 | $output .= '<url>'; |
| 262 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival</loc>'; |
|
| 263 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 264 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 262 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival</loc>'; |
|
| 263 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 264 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 265 | 265 | $output .= '</url>'; |
| 266 | 266 | $output .= '<url>'; |
| 267 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival-country</loc>'; |
|
| 268 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 269 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 267 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/airport-arrival-country</loc>'; |
|
| 268 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 269 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 270 | 270 | $output .= '</url>'; |
| 271 | 271 | $output .= '<url>'; |
| 272 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-airport</loc>'; |
|
| 273 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 274 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 272 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-airport</loc>'; |
|
| 273 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 274 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 275 | 275 | $output .= '</url>'; |
| 276 | 276 | $output .= '<url>'; |
| 277 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-waypoint</loc>'; |
|
| 278 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 279 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 277 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/route-waypoint</loc>'; |
|
| 278 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 279 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 280 | 280 | $output .= '</url>'; |
| 281 | 281 | $output .= '<url>'; |
| 282 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/callsign</loc>'; |
|
| 283 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 284 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 282 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/callsign</loc>'; |
|
| 283 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 284 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 285 | 285 | $output .= '</url>'; |
| 286 | 286 | $output .= '<url>'; |
| 287 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/date</loc>'; |
|
| 288 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 289 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 287 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/date</loc>'; |
|
| 288 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 289 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 290 | 290 | $output .= '</url>'; |
| 291 | 291 | $output .= '<url>'; |
| 292 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/time</loc>'; |
|
| 293 | - $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 294 | - $output .= '<changefreq>daily</changefreq>'; |
|
| 292 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/statistics/time</loc>'; |
|
| 293 | + $output .= '<lastmod>'.date("c", time()).'</lastmod>'; |
|
| 294 | + $output .= '<changefreq>daily</changefreq>'; |
|
| 295 | 295 | $output .= '</url>'; |
| 296 | 296 | $output .= '</urlset>'; |
| 297 | 297 | |
@@ -301,31 +301,31 @@ discard block |
||
| 301 | 301 | $output .= '<?xml version="1.0" encoding="UTF-8"?>'; |
| 302 | 302 | $output .= '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; |
| 303 | 303 | $output .= '<sitemap>'; |
| 304 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/static</loc>'; |
|
| 304 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/static</loc>'; |
|
| 305 | 305 | $output .= '</sitemap>'; |
| 306 | 306 | $output .= '<sitemap>'; |
| 307 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/flight</loc>'; |
|
| 307 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/flight</loc>'; |
|
| 308 | 308 | $output .= '</sitemap>'; |
| 309 | 309 | $output .= '<sitemap>'; |
| 310 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/aircraft</loc>'; |
|
| 310 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/aircraft</loc>'; |
|
| 311 | 311 | $output .= '</sitemap>'; |
| 312 | 312 | $output .= '<sitemap>'; |
| 313 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/registration</loc>'; |
|
| 313 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/registration</loc>'; |
|
| 314 | 314 | $output .= '</sitemap>'; |
| 315 | 315 | $output .= '<sitemap>'; |
| 316 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airline</loc>'; |
|
| 316 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airline</loc>'; |
|
| 317 | 317 | $output .= '</sitemap>'; |
| 318 | 318 | $output .= '<sitemap>'; |
| 319 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airport</loc>'; |
|
| 319 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/airport</loc>'; |
|
| 320 | 320 | $output .= '</sitemap>'; |
| 321 | 321 | $output .= '<sitemap>'; |
| 322 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/manufacturer</loc>'; |
|
| 322 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/manufacturer</loc>'; |
|
| 323 | 323 | $output .= '</sitemap>'; |
| 324 | 324 | $output .= '<sitemap>'; |
| 325 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/country</loc>'; |
|
| 325 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/country</loc>'; |
|
| 326 | 326 | $output .= '</sitemap>'; |
| 327 | 327 | $output .= '<sitemap>'; |
| 328 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/ident</loc>'; |
|
| 328 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/ident</loc>'; |
|
| 329 | 329 | $output .= '</sitemap>'; |
| 330 | 330 | /* |
| 331 | 331 | $output .= '<sitemap>'; |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | $output .= '</sitemap>'; |
| 334 | 334 | */ |
| 335 | 335 | $output .= '<sitemap>'; |
| 336 | - $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/route</loc>'; |
|
| 336 | + $output .= '<loc>'.'http://'.$_SERVER['HTTP_HOST'].$globalURL.'/sitemap/route</loc>'; |
|
| 337 | 337 | $output .= '</sitemap>'; |
| 338 | 338 | $output .= '</sitemapindex>'; |
| 339 | 339 | |