mb_gallery_statement