Execute($query); //Fotos $query="select * from gallery where seccion='$seccion'"; $galerias=$db->Execute($query); $arrfotos=array(); while( $galerias and !$galerias->EOF ){ $path="gallery/photo/".$galerias->fields['folder']."/"; $query="select * from gallery_photo where id_gallery=".$galerias->fields['id_gallery']; $fotos=$db->Execute($query); while( $fotos and !$fotos->EOF ){ array_push($arrfotos,"'".$path.$fotos->fields['archivo']."'"); $fotos->movenext(); } $galerias->movenext(); } //Galerias de la seccion $id_galeria=6; $query="select * from gallery where (seccion='$seccion' and id_gallery=$id_galeria)"; $galeria_1=$db->Execute($query); ?> The Bath House: Campus Design - The Bath House
Campus Design


Campus Design




fields['contenido_more'])!="" ){ ?>


The Bath House



Campus Design


Execute($query); while( $fotos and !$fotos->EOF ){ //si es la foto intro if( substr($fotos->fields['archivo'],0,2)=="00" ){ ?> fields['gallery']?>
image gallery
movenext(); } ?>