SELECT * FROM popup_types, popup WHERE menu_activate=1 AND menu_id = page_menu