Blad bazy: SELECT id, title as title FROM contents WHERE parent_id=0 AND is_deleted=0 AND title <>''