require_once('../Connections/data.php');?>
To display this page you need a browser with JavaScript support.
To display this page you need a browser with JavaScript support.
Cuba Hotel - Brisas Guardalavaca, Holguin.
mysql_select_db($database_data, $data); //recupera valores de la BD $sql = "SELECT * FROM tiempo"; $result = mysql_query($sql, $data); $row = mysql_fetch_array($result); $tempc=$row["tempc"]; $tempf=$row["tempf"]; $imagenW=$row["imagenw"]; if(isset($_COOKIE["language"])){ $colname_noticias = $_COOKIE["language"];} else{ $colname_noticias = 2; //Opcion por defecto Ingles } mysql_select_db($database_data, $data); $query_noticias = sprintf("SELECT id, fecha, titulo FROM noticias WHERE idioma = %d ORDER BY fecha DESC LIMIT 0, 5", $colname_noticias); $noticias = mysql_query($query_noticias, $data) or die(mysql_error()); $result = mysql_query("SELECT * FROM tiempo", $data); $tiempoRow = mysql_fetch_array($result); $tempc=$tiempoRow["tempc"]; $tempf=$tiempoRow["tempf"]; $imagenW=$tiempoRow["imagenw"]; function cambio($folder){ $fileList = array(); $handle = opendir($folder); while (false !== ($file = readdir($handle) ) ) { if ( substr($file, -4) == ".gif" || substr($file, -4) == ".jpg" ) { $fileList[count($fileList)] = $file; } } closedir($handle); $randNum = rand( 0, (sizeOf($fileList) -1) ); return $folder . $fileList[$randNum]; } if($colname_noticias==1){ echo ""; }elseif($colname_noticias==2){ echo ""; }?> ">
"; }elseif($colname_noticias==1){ echo ""; } ?>
}elseif($colname_noticias==1){?>
}?>
" width="28" height="26" border="0">
"; }elseif($colname_noticias==2){ echo "
"; } ?>
"; }elseif($colname_noticias==2){ echo "
"; } ?>
while ($row = mysql_fetch_array($noticias)){; echo "
".$row["titulo"]."
"; }?>
"; }elseif($colname_noticias==2){ echo "
"; } ?>
" width="60" height="40">
echo "
"; echo "
"; echo "
"; echo "
"; echo "
"; echo "
"; echo "
";?>
"; }elseif($colname_noticias==2){ echo "
"; }?>
"; $flashSlogan = "slogan.swf"; }elseif($colname_noticias==2){ echo "
"; $flashSlogan = "sloganIng.swf"; }?>
"; }elseif($colname_noticias==2){ echo "
"; }?>
0) { // Show if not first page ?>
">
} // Show if not first page ?>
-
if($colname_noticias == 1){ echo " de ";}else{echo " of ";}?>
">
}?>
© Copyrigth 2003. Brisas Guardalavaca