In order to view this object you need Flash Player 9+ support!

Get Adobe Flash player

Photos from the area around the Hotel Casa González

Written by webmaster on abril 2nd, 2010. Posted in News


$nColIterator = 0;
$nMaxColIterator = 5;
$nRowIterator = 0;
function leer_contenido_completo($url){
$fichero_url = fopen ($url, "r");
$texto = "";
while ($trozo = fgets($fichero_url, 1024)){
$texto .= $trozo;
}
return $texto;
}
$URL_API_PANORAMIO = "http://www.panoramio.com/map/get_panoramas.php?order=popularity&set=full&from=0&to=50&minx=-99.165006&miny=19.428417&maxx=-99.162297&maxy=19.428857&size=square";
$contenido_url = leer_contenido_completo($URL_API_PANORAMIO);
$JSON_PANORAMIO_PHP = json_decode($contenido_url);

$URL_API_PANORAMIO2 = "http://www.panoramio.com/map/get_panoramas.php?order=popularity&set=full&from=0&to=50&minx=-99.165006&miny=19.428417&maxx=-99.162297&maxy=19.428857&size=medium";
$contenido_url2 = leer_contenido_completo($URL_API_PANORAMIO2);
$JSON_PANORAMIO_PHP2 = json_decode($contenido_url2);
//var_dump($JSON_PANORAMIO_PHP);
//echo $JSON_PANORAMIO_PHP->count; //esto muestra el número de fotos totales que existen en Panoramio en esa localización
$nTotalImages = count($JSON_PANORAMIO_PHP->photos);
$nTotalRows = ceil($nTotalImages/$nMaxColIterator);
$nTotalRows = $nTotalRows – 1 ;?>
Photos from the area around the Hotel Casa González

for($nRowIterator=0;$nRowIterator < $nTotalRows; $nRowIterator ++)
{
?>

for($nColIterator=0;$nColIterator < $nMaxColIterator; $nColIterator ++)
{
$nIterator = $nIterator + 1;

if($nIterator>$nTotalImages) {
?>

} else
{
$foto_actual = $JSON_PANORAMIO_PHP->photos[$nIterator];
$foto_actual2 = $JSON_PANORAMIO_PHP2->photos[$nIterator];?>

 

Trackback from your site.

Comments (2)

  • %d 07UTC %B 07UTC %Y at %H:%M 09Wed, 07 Apr 2010 09:35:09 +000009. |

    Hola!

    This message is for George. My husband & I were recently in Mexico City and stopped by Casa Gonzalez to visit you. My mother and her family use to stay at Casa Gonzalez back in the 1950s. Before my mother passed, she took my sister & I to your house for Christmas Dinner in 2004.

    Her name was Patricia Ann Carey Gardner and her parents were Helen and Harold Carey from Lawton, Oklahoma. I’m not sure if you remember them because your family has hosted so many people. But they always spoke kindly of your family and country.

    I’m sorry that we didn’t not get to meet you, but it was a wonderful experience to be back in Mexico City and to see your lovely home again.

    Take care and hope to meet you again someday,
    Misha Gardner Dyer

  • %d 07UTC %B 07UTC %Y at %H:%M 10Wed, 07 Apr 2010 10:28:05 +000005. |

    Thank you for sharing your memories and pictures! I hope to have the pleasure of seeing you again in the not so distant future.

Leave a comment

Reservaciones