Deutschland:
 
Ländervorhersage
     
  -->

 

--> */ ?>


"; // echo "\$_GET['country']=".$_GET['country']."
"; switch($_GET['part']){ case "weather": // Dangers Comment include_once("country.php"); include_once("getWeatherValues.php"); if($_GET['continent']=="germany"){ // echo "\$_GET['continent'] = ".$_GET['continent']."
"; unset($country); include_once("province.php"); $country = $province; /* echo "Country:
"; print_r($country); echo "province:
"; print_r($province); */ } echo "
"; for($i=0;$i"; if(utf8_decode($country[$i][1]) == $_GET['country']){ //echo "true
"; $tmp[0] = $country[$i]; } } // print_r($tmp); $result = getWeatherValues($tmp); // print_r($result); $title_values[0] = "Land"; $title_values[1] = "Heute ("; list($year,$month,$day)=split("-",$result[0][4][0]); $title_values[1] .= $day.".".$month.".".$year; $title_values[1] .= ")"; $title_values[2] = "Morgen ("; list($year,$month,$day)=split("-",$result[0][5][0]); $title_values[2] .= $day.".".$month.".".$year; $title_values[2] .= ")"; $title_values[3] = "2-5 Tage ("; list($datea,$dateb)=split("_",$result[0][6][0]); list($year,$month,$day)=split("-",$datea); $title_values[3] .= $day.".".$month.".".$year; $title_values[3] .= " - "; list($year,$month,$day)=split("-",$dateb); $title_values[3] .= $day.".".$month.".".$year; $title_values[3] .= ")"; $title_values[4] = "7-10 Tage ("; list($datea,$dateb)=split("_",$result[0][7][0]); list($year,$month,$day)=split("-",$datea); $title_values[4] .= $day.".".$month.".".$year; $title_values[4] .= " - "; list($year,$month,$day)=split("-",$dateb); $title_values[4] .= $day.".".$month.".".$year; $title_values[4] .= ")"; $values[0] = $_GET['country']; $values[1] = $result[0][4][1]; $values[2] = $result[0][5][1]; $values[3] = $result[0][6][1]; $values[4] = $result[0][7][1]; $values[5] = $result[0][2]; // print_r($values); // echo ""; break; default: if(file_exists("./sicherheit_".$_GET['part'].".txt" )){ $file = "./sicherheit_".$_GET['part'].".txt"; $row = file("./sicherheit_".$_GET['part'].".txt"); } else{ $file = "./sicherheit_empty.txt"; $row = file("./sicherheit_empty.txt"); } // list($title_county,$title_sec_t,$title_sec_b,$title_comment) = split("[\t]",$row[0]); $title_values = explode("\t",$row[0]); for($i=0;$i"; // echo "country=".utf8_encode(trim($_GET['country']))."
"; // echo "country=".utf8_decode(trim($_GET['country']))."
"; ?> "; echo " "; echo ""; echo " "; echo ""; } ?>

Land:

".$title_values[$i].":"; if($sec_t <5 || $sec_t>7){ $bgcolor = "#ffffff"; } else{ $bgcolor = "#000000"; } echo "".$values[$i]."
 

Kommentar:



Skala: 0 hohes Risiko, 10 kaum Risiko

lebensgefährlich gefährlich mögliches Risiko kaum Risiko
0 1 2 3 4 5 6 7 8 9 10