Модуль Погода v1.26.01
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

65 lines
2.5 KiB

<?php
$conditions = array(
0 => "Tornado", //tornado
1 => "Tropical Storm", //tropical storm
2 => "Hurricane", //hurricane
3 => "Severe Thunderstorms", //severe thunderstorms
4 => "Thunderstorms", //thunderstorms
5 => "Mixed Rain and Snow", //mixed rain and snow
6 => "Mixed Rain and Sleet", //mixed rain and sleet
7 => "Mixed Snow and Sleet", //mixed snow and sleet
8 => "Freezing Drizzle", //freezing drizzle
9 => "Drizzle", //drizzle
10 => "Freezing Rain",, //freezing rain
11 => "Showers", //showers
12 => "Showers", //showers
13 => "Snow Flurries", //snow flurries
14 => "Light Snow Showers", //light snow showers
15 => "Blowing Snow", //blowing snow
16 => "Snow", //snow
17 => "Hail", //hail
18 => "Sleet", //sleet
19 => "Dust", //dust
20 => "Foggy", //foggy
21 => "Haze", //haze
22 => "Smoky", //smoky
23 => "Blustery", //blustery
24 => "Windy", //windy
25 => "Cold", //cold
26 => "Cloudy", //cloudy
27 => "Mostly Cloudy", //mostly cloudy (night)
28 => "Mostly Cloudy", //mostly cloudy (day)
29 => "Partly Cloudy", //partly cloudy (night)
30 => "Partly Cloudy", //partly cloudy (day)
31 => "Clear", //clear (night)
32 => "Sunny", //sunny
33 => "Fair", //fair (night)
34 => "Fair", //fair (day)
35 => "Mixed Rain and Hail", //mixed rain and hail
36 => "Hot", //hot
37 => "Isolated Thunderstormsи", //isolated thunderstorms
38 => "Scattered Thunderstorms", //scattered thunderstorms
39 => "Scattered Thunderstorms", //scattered thunderstorms
40 => "Scattered Showers", //scattered showers
41 => "Heavy Snow", //heavy snow
42 => "Scattered Snow Showersг", //scattered snow showers
43 => "Heavy Snow", //heavy snow
44 => "Partly Cloudy", //partly cloudy
45 => "Thundershowers", //thundershowers
46 => "Snow Showers", //snow showers
47 => "Isolated Thundershowers", //isolated thundershowers
3200 => "Sunny", //not available... alright... lets make that sunny.
);
$tdays = array(
'Mon' => 'Monday',
'Tue' => 'Tuesday',
'Wed' => 'Wednesday',
'Thu' => 'Thursday',
'Fri' => 'Friday',
'Sat' => 'Saturday',
'Sun' => 'Sunday'
);
$days = array( "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" , "Saturday");
?>