Execute($query); //Fotos $query="select * from gallery where seccion='$seccion' order by id_gallery"; $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="3,11,12,13"; $query="select * from gallery where (seccion='$seccion' and id_gallery in ($id_galeria)) order by id_gallery"; $galeria_1=$db->Execute($query); ?> Present Planing: History - The Bath House
Present planing


History of decision to restore




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


Present planing




EOF ){ $idg=$galeria_1->fields['id_gallery']; $query="select * from gallery_photo where id_gallery in ($idg) order by archivo"; $fotos=$db->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(); } $galeria_1->movenext(); } ?>