Stylisation de l'application.

This commit is contained in:
Chouchen
2010-09-17 13:38:57 +00:00
parent e5415117a1
commit f6aae7e077
18 changed files with 53 additions and 238 deletions

View File

@@ -2,10 +2,11 @@
require('class/GoogleWeather.class.php');
//ça récupère un truc du style : http://www.google.com/ig/api?weather=paris&hl=fr
if($city != '' || $city != null){
$gweather = new GoogleWeatherAPI($city,'fr');
if($ville != '' || $ville != null){
$gweather = new GoogleWeatherAPI($ville,'fr');
if($gweather->isFound()) {
$city = $gweather->getCity();
$currentTemp = $gweather->getCurrent();
$forecastTemp = $gweather->getForecast();