Meteo (new)

Mercoledì 10 Marzo 2010 extract()) == 0) { die(“Error : “.$archive->errorInfo(true)); } /* echo ” “; var_dump($v_result_list); echo ” “; */ ?> extract()) == 0) { die(“Error : “.$archive->errorInfo(true)); } /* echo ” “; var_dump($v_result_list); echo ” “; */ ?> www.espansionetv.it Fonte delle previsioni: = 2) { if ($arr[1] != “”) { $tempo_emissione[$x] = $arr[1]; }else { $tempo_emissione[$x] = $arr[0]; } } else { if ($x == 1) { $colore = “testo”; } else { $colore = “rosso”; } if ($emissione[$x] != “”) { echo ” “.$emissione[$x].” “; } else { echo ” “.$emissione2[$x].” “; } } $x++; } } fclose($fd); ?> “; } ?> m_t3″,””,$arr[1]); $temperature1[$x] = $arr[1]; $temperature2[$x] = $arr[2]; $x++; } } fclose($fd); ?> Temperatura (minima e massima) Como / Cantù / Olgiate / Erba / Menaggio / Lanzo d’Intelvi / Chiavenna / Monte Generoso / Sondrio / Lugano / Varese / Locarno / Bormio / Madesimo / m_venti3″,””,$arr[1]); $venti1[$x] = $arr[1]; $venti2[$x] = $arr[2]; } $x++; } } fclose($fd); ?> Venti ( ) “; $x++; } } fclose($fd); ?> “; $x++; } } fclose($fd); $fd= fopen (“http://www.espansionetv.it/meteo/METEO10.T”,”r”); $x=0; while (!feof ($fd)) { $riga=fgets($fd, 4096); if($riga!=””) { $arr=split(‘<', $riga); $arr[1]=str_replace(">m_tend_b2″,””,$arr[1]); $arr[2]=str_replace(“>m_tend_b3″,””,$arr[2]); $arr[3]=str_replace(“>m_tend_b3″,””,$arr[3]); $arr[4]=str_replace(“>m_tend_b4″,””,$arr[4]); $arr[5]=str_replace(“>m_tend_b4″,””,$arr[5]); $settimana1[$x] = $arr[1]; $settimana2[$x] = $arr[2]; $settimana3[$x] = $arr[3]; $settimana4[$x] = $arr[4]; $settimana5[$x] = $arr[5]; $x++; } } fclose($fd); for ($i=0; $i<=5; $i++) { $settimana5[$i] = ltrim($settimana5[$i]); if (substr($settimana5[$i],0,1) == "A") { $settimana5[$i] = "Alta"; } if (substr($settimana5[$i],0,1) == "B") { $settimana5[$i] = "Bassa"; } if (substr($settimana5[$i],0,1) == "M") { $settimana5[$i] = "Media"; } } ?> Min Max Affidabilità (clicca per ingrandire) Como (Garzola) Como (Hangar) In collaborazione con: Soleggiato Abbastanza soleggiato In parte soleggiato Nuvoloso Coperto Variabile temporale Pioggia Neve Variabile pioggia Variabile neve Temporali Variabile pioggia e neve Nebbia densa Nebbia/foschia a basse quote Pioggia e neve