SELECT `tx_news_domain_model_news`.*
FROM `tx_news_domain_model_news` `tx_news_domain_model_news`
WHERE (
        (
            (
                (
                    (
                        (
                            (
                                (
                                    (
                                        (
                                            (
                                                (
                                                    (
                                                        (
                                                            (
                                                                (
                                                                    (
                                                                        (
                                                                            (
                                                                                (
                                                                                    (
                                                                                        (
                                                                                            (
                                                                                                (
                                                                                                    (
                                                                                                        (
                                                                                                            (
                                                                                                                (
                                                                                                                    (
                                                                                                                        (
                                                                                                                            (
                                                                                                                                (
                                                                                                                                    (
                                                                                                                                        (
                                                                                                                                            (
                                                                                                                                                (
                                                                                                                                                    (
                                                                                                                                                        (
                                                                                                                                                            (
                                                                                                                                                                (
                                                                                                                                                                    (
                                                                                                                                                                        (
                                                                                                                                                                            (
                                                                                                                                                                                (
                                                                                                                                                                                    (
                                                                                                                                                                                        (
                                                                                                                                                                                            (
                                                                                                                                                                                                (
                                                                                                                                                                                                    (
                                                                                                                                                                                                        (
                                                                                                                                                                                                            (
                                                                                                                                                                                                                (
                                                                                                                                                                                                                    (
                                                                                                                                                                                                                        (
                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '23')
                                                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '2')
                                                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '116')
                                                                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '117')
                                                                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '118')
                                                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '119')
                                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '120')
                                                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '121')
                                                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '3')
                                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '38')
                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '39')
                                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '40')
                                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '41')
                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '42')
                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '43')
                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '4')
                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '95')
                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '96')
                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '97')
                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '98')
                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '99')
                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '100')
                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '5')
                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '102')
                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '103')
                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '104')
                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '105')
                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '106')
                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '107')
                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '6')
                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '109')
                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '110')
                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '111')
                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '112')
                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '113')
                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '114')
                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '7')
                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                                WHERE (`uid_local` = '21')
                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                            WHERE (`uid_local` = '123')
                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                        WHERE (`uid_local` = '124')
                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                    WHERE (`uid_local` = '125')
                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                                WHERE (`uid_local` = '126')
                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                            WHERE (`uid_local` = '127')
                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                        WHERE (`uid_local` = '128')
                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                    WHERE (`uid_local` = '8')
                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                                WHERE (`uid_local` = '20')
                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                                            WHERE (`uid_local` = '133')
                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                                        WHERE (`uid_local` = '134')
                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                )
                                                                                                                                                                                                                            )
                                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                                    WHERE (`uid_local` = '135')
                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                            )
                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                )
                                                                                                                                                                                                                            )
                                                                                                                                                                                                                        )
                                                                                                                                                                                                                        OR (
                                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                                WHERE (`uid_local` = '136')
                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                        (
                                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                        )
                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                            )
                                                                                                                                                                                                                        )
                                                                                                                                                                                                                    )
                                                                                                                                                                                                                    OR (
                                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                                            WHERE (`uid_local` = '137')
                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                    (
                                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                    )
                                                                                                                                                                                                                                )
                                                                                                                                                                                                                        )
                                                                                                                                                                                                                    )
                                                                                                                                                                                                                )
                                                                                                                                                                                                                OR (
                                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                                        WHERE (`uid_local` = '138')
                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                (
                                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                                )
                                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                                )
                                                                                                                                                                                                                            )
                                                                                                                                                                                                                    )
                                                                                                                                                                                                                )
                                                                                                                                                                                                            )
                                                                                                                                                                                                            OR (
                                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                                    WHERE (`uid_local` = '9')
                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                            (
                                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                            )
                                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                            )
                                                                                                                                                                                                                        )
                                                                                                                                                                                                                )
                                                                                                                                                                                                            )
                                                                                                                                                                                                        )
                                                                                                                                                                                                        OR (
                                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                                WHERE (`uid_local` = '22')
                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                        (
                                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                        )
                                                                                                                                                                                                                        AND (
                                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                        )
                                                                                                                                                                                                                    )
                                                                                                                                                                                                            )
                                                                                                                                                                                                        )
                                                                                                                                                                                                    )
                                                                                                                                                                                                    OR (
                                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                                            WHERE (`uid_local` = '140')
                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                    (
                                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                    )
                                                                                                                                                                                                                    AND (
                                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                    )
                                                                                                                                                                                                                )
                                                                                                                                                                                                        )
                                                                                                                                                                                                    )
                                                                                                                                                                                                )
                                                                                                                                                                                                OR (
                                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                                        WHERE (`uid_local` = '141')
                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                (
                                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                                )
                                                                                                                                                                                                                AND (
                                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                                )
                                                                                                                                                                                                            )
                                                                                                                                                                                                    )
                                                                                                                                                                                                )
                                                                                                                                                                                            )
                                                                                                                                                                                            OR (
                                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                                    WHERE (`uid_local` = '142')
                                                                                                                                                                                                        AND (
                                                                                                                                                                                                            (
                                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                            )
                                                                                                                                                                                                            AND (
                                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                            )
                                                                                                                                                                                                        )
                                                                                                                                                                                                )
                                                                                                                                                                                            )
                                                                                                                                                                                        )
                                                                                                                                                                                        OR (
                                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                                WHERE (`uid_local` = '143')
                                                                                                                                                                                                    AND (
                                                                                                                                                                                                        (
                                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                        )
                                                                                                                                                                                                        AND (
                                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                        )
                                                                                                                                                                                                    )
                                                                                                                                                                                            )
                                                                                                                                                                                        )
                                                                                                                                                                                    )
                                                                                                                                                                                    OR (
                                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                                            WHERE (`uid_local` = '144')
                                                                                                                                                                                                AND (
                                                                                                                                                                                                    (
                                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                    )
                                                                                                                                                                                                    AND (
                                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                    )
                                                                                                                                                                                                )
                                                                                                                                                                                        )
                                                                                                                                                                                    )
                                                                                                                                                                                )
                                                                                                                                                                                OR (
                                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                                        WHERE (`uid_local` = '145')
                                                                                                                                                                                            AND (
                                                                                                                                                                                                (
                                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                                )
                                                                                                                                                                                                AND (
                                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                                )
                                                                                                                                                                                            )
                                                                                                                                                                                    )
                                                                                                                                                                                )
                                                                                                                                                                            )
                                                                                                                                                                            OR (
                                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                                    WHERE (`uid_local` = '10')
                                                                                                                                                                                        AND (
                                                                                                                                                                                            (
                                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                            )
                                                                                                                                                                                            AND (
                                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                            )
                                                                                                                                                                                        )
                                                                                                                                                                                )
                                                                                                                                                                            )
                                                                                                                                                                        )
                                                                                                                                                                        OR (
                                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                                WHERE (`uid_local` = '31')
                                                                                                                                                                                    AND (
                                                                                                                                                                                        (
                                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                        )
                                                                                                                                                                                        AND (
                                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                        )
                                                                                                                                                                                    )
                                                                                                                                                                            )
                                                                                                                                                                        )
                                                                                                                                                                    )
                                                                                                                                                                    OR (
                                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                                            WHERE (`uid_local` = '32')
                                                                                                                                                                                AND (
                                                                                                                                                                                    (
                                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                    )
                                                                                                                                                                                    AND (
                                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                    )
                                                                                                                                                                                )
                                                                                                                                                                        )
                                                                                                                                                                    )
                                                                                                                                                                )
                                                                                                                                                                OR (
                                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                                        WHERE (`uid_local` = '33')
                                                                                                                                                                            AND (
                                                                                                                                                                                (
                                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                                )
                                                                                                                                                                                AND (
                                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                                )
                                                                                                                                                                            )
                                                                                                                                                                    )
                                                                                                                                                                )
                                                                                                                                                            )
                                                                                                                                                            OR (
                                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                                    WHERE (`uid_local` = '34')
                                                                                                                                                                        AND (
                                                                                                                                                                            (
                                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                            )
                                                                                                                                                                            AND (
                                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                            )
                                                                                                                                                                        )
                                                                                                                                                                )
                                                                                                                                                            )
                                                                                                                                                        )
                                                                                                                                                        OR (
                                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                                WHERE (`uid_local` = '35')
                                                                                                                                                                    AND (
                                                                                                                                                                        (
                                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                        )
                                                                                                                                                                        AND (
                                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                        )
                                                                                                                                                                    )
                                                                                                                                                            )
                                                                                                                                                        )
                                                                                                                                                    )
                                                                                                                                                    OR (
                                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                                            WHERE (`uid_local` = '36')
                                                                                                                                                                AND (
                                                                                                                                                                    (
                                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                    )
                                                                                                                                                                    AND (
                                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                    )
                                                                                                                                                                )
                                                                                                                                                        )
                                                                                                                                                    )
                                                                                                                                                )
                                                                                                                                                OR (
                                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                                        WHERE (`uid_local` = '14')
                                                                                                                                                            AND (
                                                                                                                                                                (
                                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                                )
                                                                                                                                                                AND (
                                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                                )
                                                                                                                                                            )
                                                                                                                                                    )
                                                                                                                                                )
                                                                                                                                            )
                                                                                                                                            OR (
                                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                                    WHERE (`uid_local` = '15')
                                                                                                                                                        AND (
                                                                                                                                                            (
                                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                            )
                                                                                                                                                            AND (
                                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                            )
                                                                                                                                                        )
                                                                                                                                                )
                                                                                                                                            )
                                                                                                                                        )
                                                                                                                                        OR (
                                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                                SELECT `uid_foreign`
                                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                                WHERE (`uid_local` = '16')
                                                                                                                                                    AND (
                                                                                                                                                        (
                                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                        )
                                                                                                                                                        AND (
                                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                        )
                                                                                                                                                    )
                                                                                                                                            )
                                                                                                                                        )
                                                                                                                                    )
                                                                                                                                    OR (
                                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                            SELECT `uid_foreign`
                                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                                            WHERE (`uid_local` = '17')
                                                                                                                                                AND (
                                                                                                                                                    (
                                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                    )
                                                                                                                                                    AND (
                                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                    )
                                                                                                                                                )
                                                                                                                                        )
                                                                                                                                    )
                                                                                                                                )
                                                                                                                                OR (
                                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                        SELECT `uid_foreign`
                                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                                        WHERE (`uid_local` = '25')
                                                                                                                                            AND (
                                                                                                                                                (
                                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                                )
                                                                                                                                                AND (
                                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                                )
                                                                                                                                            )
                                                                                                                                    )
                                                                                                                                )
                                                                                                                            )
                                                                                                                            OR (
                                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                    SELECT `uid_foreign`
                                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                                    WHERE (`uid_local` = '26')
                                                                                                                                        AND (
                                                                                                                                            (
                                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                            )
                                                                                                                                            AND (
                                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                            )
                                                                                                                                        )
                                                                                                                                )
                                                                                                                            )
                                                                                                                        )
                                                                                                                        OR (
                                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                                SELECT `uid_foreign`
                                                                                                                                FROM `sys_category_record_mm`
                                                                                                                                WHERE (`uid_local` = '27')
                                                                                                                                    AND (
                                                                                                                                        (
                                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                        )
                                                                                                                                        AND (
                                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                        )
                                                                                                                                    )
                                                                                                                            )
                                                                                                                        )
                                                                                                                    )
                                                                                                                    OR (
                                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                                            SELECT `uid_foreign`
                                                                                                                            FROM `sys_category_record_mm`
                                                                                                                            WHERE (`uid_local` = '230')
                                                                                                                                AND (
                                                                                                                                    (
                                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                    )
                                                                                                                                    AND (
                                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                    )
                                                                                                                                )
                                                                                                                        )
                                                                                                                    )
                                                                                                                )
                                                                                                                OR (
                                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                                        SELECT `uid_foreign`
                                                                                                                        FROM `sys_category_record_mm`
                                                                                                                        WHERE (`uid_local` = '232')
                                                                                                                            AND (
                                                                                                                                (
                                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                                )
                                                                                                                                AND (
                                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                                )
                                                                                                                            )
                                                                                                                    )
                                                                                                                )
                                                                                                            )
                                                                                                            OR (
                                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                                    SELECT `uid_foreign`
                                                                                                                    FROM `sys_category_record_mm`
                                                                                                                    WHERE (`uid_local` = '233')
                                                                                                                        AND (
                                                                                                                            (
                                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                            )
                                                                                                                            AND (
                                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                            )
                                                                                                                        )
                                                                                                                )
                                                                                                            )
                                                                                                        )
                                                                                                        OR (
                                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                                SELECT `uid_foreign`
                                                                                                                FROM `sys_category_record_mm`
                                                                                                                WHERE (`uid_local` = '234')
                                                                                                                    AND (
                                                                                                                        (
                                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                        )
                                                                                                                        AND (
                                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                        )
                                                                                                                    )
                                                                                                            )
                                                                                                        )
                                                                                                    )
                                                                                                    OR (
                                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                                            SELECT `uid_foreign`
                                                                                                            FROM `sys_category_record_mm`
                                                                                                            WHERE (`uid_local` = '235')
                                                                                                                AND (
                                                                                                                    (
                                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                    )
                                                                                                                    AND (
                                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                    )
                                                                                                                )
                                                                                                        )
                                                                                                    )
                                                                                                )
                                                                                                OR (
                                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                                        SELECT `uid_foreign`
                                                                                                        FROM `sys_category_record_mm`
                                                                                                        WHERE (`uid_local` = '242')
                                                                                                            AND (
                                                                                                                (
                                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                                )
                                                                                                                AND (
                                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                                )
                                                                                                            )
                                                                                                    )
                                                                                                )
                                                                                            )
                                                                                            OR (
                                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                                    SELECT `uid_foreign`
                                                                                                    FROM `sys_category_record_mm`
                                                                                                    WHERE (`uid_local` = '237')
                                                                                                        AND (
                                                                                                            (
                                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                            )
                                                                                                            AND (
                                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                            )
                                                                                                        )
                                                                                                )
                                                                                            )
                                                                                        )
                                                                                        OR (
                                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                                SELECT `uid_foreign`
                                                                                                FROM `sys_category_record_mm`
                                                                                                WHERE (`uid_local` = '238')
                                                                                                    AND (
                                                                                                        (
                                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                        )
                                                                                                        AND (
                                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                        )
                                                                                                    )
                                                                                            )
                                                                                        )
                                                                                    )
                                                                                    OR (
                                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                                            SELECT `uid_foreign`
                                                                                            FROM `sys_category_record_mm`
                                                                                            WHERE (`uid_local` = '239')
                                                                                                AND (
                                                                                                    (
                                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                    )
                                                                                                    AND (
                                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                    )
                                                                                                )
                                                                                        )
                                                                                    )
                                                                                )
                                                                                OR (
                                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                                        SELECT `uid_foreign`
                                                                                        FROM `sys_category_record_mm`
                                                                                        WHERE (`uid_local` = '240')
                                                                                            AND (
                                                                                                (
                                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                                )
                                                                                                AND (
                                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                                )
                                                                                            )
                                                                                    )
                                                                                )
                                                                            )
                                                                            OR (
                                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                                    SELECT `uid_foreign`
                                                                                    FROM `sys_category_record_mm`
                                                                                    WHERE (`uid_local` = '241')
                                                                                        AND (
                                                                                            (
                                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                            )
                                                                                            AND (
                                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                            )
                                                                                        )
                                                                                )
                                                                            )
                                                                        )
                                                                        OR (
                                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                                SELECT `uid_foreign`
                                                                                FROM `sys_category_record_mm`
                                                                                WHERE (`uid_local` = '243')
                                                                                    AND (
                                                                                        (
                                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                        )
                                                                                        AND (
                                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                        )
                                                                                    )
                                                                            )
                                                                        )
                                                                    )
                                                                    OR (
                                                                        `tx_news_domain_model_news`.`uid` IN (
                                                                            SELECT `uid_foreign`
                                                                            FROM `sys_category_record_mm`
                                                                            WHERE (`uid_local` = '248')
                                                                                AND (
                                                                                    (
                                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                    )
                                                                                    AND (
                                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                    )
                                                                                )
                                                                        )
                                                                    )
                                                                )
                                                                OR (
                                                                    `tx_news_domain_model_news`.`uid` IN (
                                                                        SELECT `uid_foreign`
                                                                        FROM `sys_category_record_mm`
                                                                        WHERE (`uid_local` = '249')
                                                                            AND (
                                                                                (
                                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                                )
                                                                                AND (
                                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                                )
                                                                            )
                                                                    )
                                                                )
                                                            )
                                                            OR (
                                                                `tx_news_domain_model_news`.`uid` IN (
                                                                    SELECT `uid_foreign`
                                                                    FROM `sys_category_record_mm`
                                                                    WHERE (`uid_local` = '250')
                                                                        AND (
                                                                            (
                                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                                            )
                                                                            AND (
                                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                            )
                                                                        )
                                                                )
                                                            )
                                                        )
                                                        OR (
                                                            `tx_news_domain_model_news`.`uid` IN (
                                                                SELECT `uid_foreign`
                                                                FROM `sys_category_record_mm`
                                                                WHERE (`uid_local` = '251')
                                                                    AND (
                                                                        (
                                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                                        )
                                                                        AND (
                                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                        )
                                                                    )
                                                            )
                                                        )
                                                    )
                                                    OR (
                                                        `tx_news_domain_model_news`.`uid` IN (
                                                            SELECT `uid_foreign`
                                                            FROM `sys_category_record_mm`
                                                            WHERE (`uid_local` = '252')
                                                                AND (
                                                                    (
                                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                                    )
                                                                    AND (
                                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                    )
                                                                )
                                                        )
                                                    )
                                                )
                                                OR (
                                                    `tx_news_domain_model_news`.`uid` IN (
                                                        SELECT `uid_foreign`
                                                        FROM `sys_category_record_mm`
                                                        WHERE (`uid_local` = '253')
                                                            AND (
                                                                (
                                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                                )
                                                                AND (
                                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                                )
                                                            )
                                                    )
                                                )
                                            )
                                            OR (
                                                `tx_news_domain_model_news`.`uid` IN (
                                                    SELECT `uid_foreign`
                                                    FROM `sys_category_record_mm`
                                                    WHERE (`uid_local` = '259')
                                                        AND (
                                                            (
                                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                                            )
                                                            AND (
                                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                            )
                                                        )
                                                )
                                            )
                                        )
                                        OR (
                                            `tx_news_domain_model_news`.`uid` IN (
                                                SELECT `uid_foreign`
                                                FROM `sys_category_record_mm`
                                                WHERE (`uid_local` = '260')
                                                    AND (
                                                        (
                                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                                        )
                                                        AND (
                                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                        )
                                                    )
                                            )
                                        )
                                    )
                                    OR (
                                        `tx_news_domain_model_news`.`uid` IN (
                                            SELECT `uid_foreign`
                                            FROM `sys_category_record_mm`
                                            WHERE (`uid_local` = '261')
                                                AND (
                                                    (
                                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                                    )
                                                    AND (
                                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                    )
                                                )
                                        )
                                    )
                                )
                                OR (
                                    `tx_news_domain_model_news`.`uid` IN (
                                        SELECT `uid_foreign`
                                        FROM `sys_category_record_mm`
                                        WHERE (`uid_local` = '265')
                                            AND (
                                                (
                                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                                )
                                                AND (
                                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                                )
                                            )
                                    )
                                )
                            )
                            OR (
                                `tx_news_domain_model_news`.`uid` IN (
                                    SELECT `uid_foreign`
                                    FROM `sys_category_record_mm`
                                    WHERE (`uid_local` = '266')
                                        AND (
                                            (
                                                `sys_category_record_mm`.`fieldname` = 'categories'
                                            )
                                            AND (
                                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                            )
                                        )
                                )
                            )
                        )
                        OR (
                            `tx_news_domain_model_news`.`uid` IN (
                                SELECT `uid_foreign`
                                FROM `sys_category_record_mm`
                                WHERE (`uid_local` = '267')
                                    AND (
                                        (
                                            `sys_category_record_mm`.`fieldname` = 'categories'
                                        )
                                        AND (
                                            `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                        )
                                    )
                            )
                        )
                    )
                    OR (
                        `tx_news_domain_model_news`.`uid` IN (
                            SELECT `uid_foreign`
                            FROM `sys_category_record_mm`
                            WHERE (`uid_local` = '268')
                                AND (
                                    (
                                        `sys_category_record_mm`.`fieldname` = 'categories'
                                    )
                                    AND (
                                        `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                    )
                                )
                        )
                    )
                )
                OR (
                    `tx_news_domain_model_news`.`uid` IN (
                        SELECT `uid_foreign`
                        FROM `sys_category_record_mm`
                        WHERE (`uid_local` = '269')
                            AND (
                                (
                                    `sys_category_record_mm`.`fieldname` = 'categories'
                                )
                                AND (
                                    `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                                )
                            )
                    )
                )
            )
            OR (
                `tx_news_domain_model_news`.`uid` IN (
                    SELECT `uid_foreign`
                    FROM `sys_category_record_mm`
                    WHERE (`uid_local` = '271')
                        AND (
                            (
                                `sys_category_record_mm`.`fieldname` = 'categories'
                            )
                            AND (
                                `sys_category_record_mm`.`tablenames` = 'tx_news_domain_model_news'
                            )
                        )
                )
            )
        )
        AND (`tx_news_domain_model_news`.`pid` IN (7))
    )
    AND (
        `tx_news_domain_model_news`.`sys_language_uid` IN (0, -1)
    )
    AND (
        (`tx_news_domain_model_news`.`deleted` = 0)
        AND (`tx_news_domain_model_news`.`t3ver_state` <= 0)
        AND (`tx_news_domain_model_news`.`t3ver_wsid` = 0)
        AND (`tx_news_domain_model_news`.`t3ver_oid` = 0)
        AND (`tx_news_domain_model_news`.`hidden` = 0)
        AND (
            `tx_news_domain_model_news`.`starttime` <= 1683892800
        )
        AND (
            (`tx_news_domain_model_news`.`endtime` = 0)
            OR (
                `tx_news_domain_model_news`.`endtime` > 1683892800
            )
        )
        AND (
            (
                (`tx_news_domain_model_news`.`fe_group` = '')
                OR (`tx_news_domain_model_news`.`fe_group` IS NULL)
                OR (`tx_news_domain_model_news`.`fe_group` = '0')
                OR (
                    FIND_IN_SET('0', `tx_news_domain_model_news`.`fe_group`)
                )
                OR (
                    FIND_IN_SET('-1', `tx_news_domain_model_news`.`fe_group`)
                )
            )
        )
    )
ORDER BY `tx_news_domain_model_news`.`datetime` DESC
LIMIT 4;