Cargando
$selImgs = "SELECT name FROM images WHERE type = 'principal' AND table_name = 'productos' AND products_id = ".$id; $queryImgs=mysql_query($selImgs, $conddbb); $resImgs=mysql_fetch_assoc($queryImgs); $cant_resImgs=mysql_num_rows($queryImgs); $cont = 0; $carpetaS="/administrador/images/productos/small/"; $carpetaB="/administrador/images/productos/big/"; $tablaThumbs = ""; do{ if($cont == 0 && $cant_resImgs > 0) $imgPrincipal = $carpetaB.$resImgs['name']; else if($cant_resImgs == 0) $imgPrincipal = "/administrador/images/no_image_product_big.jpg"; $tablaThumbs .= '
'; $cont++; }while($resImgs=mysql_fetch_assoc($queryImgs)) ?>
if($cant_resImgs > 0){ echo '
'; echo '
'; echo $tablaThumbs; echo '
'; $altoDiv = 111; }else{ $altoDiv = 195; } ?>
echo $_SESSION['nombre'].". ".$nombre.$descripcion?>
PRECIO:
echo $precio?>
Volver al listado
Enviar a un amigo
CARACTERÍSTICAS DE LA VIVIENDA
echo $datos_secundarios ?>
SOLICITUD DE INFORMACIÓN
Nombre:
E-mail:
Por favor, escriba su solicitud
Enviar
include('footer.php'); ?>