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=10; $query="select * from gallery where (seccion='$seccion' and id_gallery=$id_galeria)"; $galeria_1=$db->Execute($query); $query="select * from gallery_photo where (id_gallery=$id_galeria) order by year,archivo"; $fotos=$db->Execute($query); ?> Timeline - The Bath House
EOF; $i++ ){ if( $i%2==0 ){ ?>
fields['year']?>



fields['description']?>
fields['description']?>

fields['year']?>



movenext(); } ?>