PHP Classes
elePHPant
Icontem

File: indexLoad.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of samushi  >  Weather Kosovo  >  indexLoad.php  >  Download  
File: indexLoad.php
Role: Example script
Content type: text/plain
Description: Loadet index
Class: Weather Kosovo
Retrieve location weather information from Google
Author: By
Last change:
Date: 5 years ago
Size: 557 bytes
 

Contents

Class file image Download
<?php
 
require("class.moti.php");
 
$readXML = new koha;
  isset(
$_GET['qyteti']) ? $readXML->qyteti($_GET['qyteti']) : $readXML->qyteti("Pristina, Kosovo");
  echo
"<h1>Sot</h1>";
  echo
"<div><div style='float:left;'>Në ".$readXML->emri_qyteti()."<br>";
 
//echo "Dita ".$readXML->ditetJaves(0)."<br>";
 
echo "Temperatura ".$readXML->temperatura_f()." F <br>";
  echo
"Temperatura ".$readXML->temperatura_c()." C <br>";
  echo
"Ora e temperatures ".$readXML->oraTanishme()."<br>";
  echo
$readXML->ikona(0);
 unset(
$_GET['qyteti']);

?>