include("instance/global.php");
include("ws_client.php");
//$yahoo_image = "http://l.yimg.com/us.yimg.com/i/us/we/52/33.gif";
$yahoo_image = "http://l.yimg.com/us.yimg.com/i/us/we/52/";
$zip = $_GET['zip'];
$name = $_GET['n'];
$ret = getLocalWeatherFromServer("$zip");
//echo $ret;
$detail = explode("|", $ret);
$weather_title = "Weather " . $detail[0];
$ln = $detail[1];
$distance = $detail[2];
$text = $detail[3];
$code = $detail[4];
$temp = $detail[5];
$date = $detail[6];
$image = "";
$day_1 = $detail[7];
$date_1 = $detail[8];
$low_1 = $detail[9];
$high_1 = $detail[10];
$text_1 = $detail[11];
$code_1 = $detail[12];
$image_1 = "
";
$day_2 = $detail[13];
$date_2 = $detail[14];
$low_2 = $detail[15];
$high_2 = $detail[16];
$text_2 = $detail[17];
$code_2 = $detail[18];
$image_2 = "
";
$city = explode("for", $weather_title);
$city = $city[1];
$title = $name;
$content = $title;
$keys = $title;
?>
include("header_html.php");?>