Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/07/2007, 12:35
Fher3000
 
Fecha de Ingreso: julio-2007
Mensajes: 6
Antigüedad: 16 años, 10 meses
Puntos: 0
Re: ayuda!! php a html

Codigo de donde sale la informacion desplegada en test.php:

<?php
error_reporting(E_ALL);
/* We need the GET variables: */
extract($HTTP_GET_VARS);
/* Load PHP Weather */
require('phpweather.php');
/* Load utilities to make forms */
require('pw_utilities.php');
if (empty($language)) $language = 'es';
$weather = new phpweather();?>

require(PHPWEATHER_BASE_DIR . "/output/pw_text_$language.php");
require(PHPWEATHER_BASE_DIR . "/output/pw_images.php");

$type = 'pw_text_' . $language;
$text = new $type($weather);

$icons = new pw_images($weather);
echo '<p><img src="'.$icons->get_sky_image().'" /> ';

echo "<p>\n" . $text->print_pretty() . "</p>\n";

?>