374 || $yy1 > 290) { if ($xx1 > $yy1) { $chicopor1 = $yy1*290; $division1 = $chicopor1/$xx1; $yy1= $division1; $xx1= 374; } else { $chicopor1 = $xx1*374; $division1 = $chicopor1/$yy1; $xx1= $division1; $yy1= 290; } } else { $yy1= $yy1; $xx1= $xx1; } return $xx1; } function yesg($xx1,$yy1) { if ($xx1 > 374 || $yy1 > 290) { if ($xx1 > $yy1) { $chicopor1 = $yy1*290; $division1 = $chicopor1/$xx1; $yy1= $division1; $xx1= 374; } else { $chicopor1 = $xx1*374; $division1 = $chicopor1/$yy1; $xx1= $division1; $yy1= 290; } } else { $yy1= $yy1; $xx1= $xx1; } return $yy1; } function equisgc($xx1,$yy1) { if ($xx1 > 50 || $yy1 > 50) { if ($xx1 > $yy1) { $chicopor1 = $yy1*50; $division1 = $chicopor1/$xx1; $yy1= $division1; $xx1= 50; } else { $chicopor1 = $xx1*50; $division1 = $chicopor1/$yy1; $xx1= $division1; $yy1= 50; } } else { $yy1= $yy1; $xx1= $xx1; } return $xx1; } function yesgc($xx1,$yy1) { if ($xx1 > 50 || $yy1 > 50) { if ($xx1 > $yy1) { $chicopor1 = $yy1*50; $division1 = $chicopor1/$xx1; $yy1= $division1; $xx1= 50; } else { $chicopor1 = $xx1*50; $division1 = $chicopor1/$yy1; $xx1= $division1; $yy1= 50; } } else { $yy1= $yy1; $xx1= $xx1; } return $yy1; } function conectar() { $base_de_datos = "villas"; $db_usuario = "villas"; $db_password = "680107"; //$base_de_datos = "villas"; //$db_usuario = "root"; //$db_password = ""; //if (!($link = mysql_connect("localhost", $db_usuario, $db_password))) if (!($link = mysql_connect("localhost", $db_usuario, $db_password))) { echo "Error conectando a la base de datos."; exit(); } if (!mysql_select_db($base_de_datos, $link)) { echo "Error seleccionando la base de datos."; exit(); } return $link; } $vconsec= $_GET['id']; $db = conectar(); $resultadosxx = mysql_query("SELECT * from villa where id = '".$vconsec."' "); //echo "SELECT * from villa where id_villa = '".$vconsec."' "; //exit; $corri=mysql_fetch_array($resultadosxx); $id= $corri["id"]; $clave= $corri["id_villa"]; $nombre= $corri["nombre"]; ?> Acapulco Villas Pacific
Villa
Condo
Luxury
Standard
Bedrooms
Occupancy
 


Villa:

".") { $imagen = "fotos/".$corri["imagen1"]; $h = $corri["iw1"]; $w = $corri["ih1"]; $tieneimagen = "1"; } if (trim($corri["imagen2"]) <> ".") { $imagen = "fotos/".$corri["imagen2"]; $h = $corri["iw2"]; $w = $corri["ih2"]; $tieneimagen = "1"; } if (trim($corri["imagen3"]) <> ".") { $imagen = "fotos/".$corri["imagen3"]; $h = $corri["iw3"]; $w = $corri["ih3"]; $tieneimagen = "1"; } if (trim($corri["imagen4"]) <> ".") { $imagen = "fotos/".$corri["imagen4"]; $h = $corri["iw4"]; $w = $corri["ih4"]; $tieneimagen = "1"; } if (trim($corri["imagen5"]) <> ".") { $imagen = "fotos/".$corri["imagen5"]; $h = $corri["iw5"]; $w = $corri["ih5"]; $tieneimagen = "1"; } if ($tieneimagen == "") { $imagen="images/sinfoto.gif"; $w= "154"; $h= "212"; } $h1= yesg($h,$w); $w1= equisg($h,$w); ?>

Location:
View:
Bedrooms:
Bathrooms:
Bed Configuration:
Occupancy:

"") { $w1g = yesg($corri["iw1"],$corri["ih1"]); $h1g = equisg($corri["iw1"],$corri["ih1"]); $w1= yesgc($corri["ih1"],$corri["iw1"]); $h1= equisgc($corri["ih1"],$corri["iw1"]); ?> "") { $w2g = yesg($corri["iw2"],$corri["ih2"]); $h2g = equisg($corri["iw2"],$corri["ih2"]); $w2= yesgc($corri["ih2"],$corri["iw2"]); $h2= equisgc($corri["ih2"],$corri["iw2"]); ?> "") { $w3g = yesg($corri["iw3"],$corri["ih3"]); $h3g = equisg($corri["iw3"],$corri["ih3"]); $w3= yesgc($corri["ih3"],$corri["iw3"]); $h3= equisgc($corri["ih3"],$corri["iw3"]); ?> "") { $w4g = yesg($corri["iw4"],$corri["ih4"]); $h4g = equisg($corri["iw4"],$corri["ih4"]); $w4= yesgc($corri["ih4"],$corri["iw4"]); $h4= equisgc($corri["ih4"],$corri["iw4"]); ?> "") { $w5g = yesg($corri["iw5"],$corri["ih5"]); $h5g = equisg($corri["iw5"],$corri["ih5"]); $w5= yesgc($corri["ih5"],$corri["iw5"]); $h5= equisgc($corri["ih5"],$corri["iw5"]); ?>
', '', '');" src="fotos/" width="" height="" />
', '', '');" src="fotos/" width="" height="" />
', '', '');" src="fotos/" width="" height="" />
 
', '', '');" src="fotos/" width="" height="" />
', '', '');" src="fotos/" width="" height="" />
   
&destino=&vista=&tipoc=&tipo=&recamaras=&banos=" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image27','','images/bt_amenities2.jpg',1)">  
 
       
 

 
Tel:+52 (11) 55 1500 9100 Ext. 1100 | Cell Phone: +52 (11) 55 4803 2796 
  Copyright © 2010 Acapulco Villas Pacific. All Rights Reserved.