Table './wishesh_responsive/news_k2_profile' is marked as crashed and should be repaired SQL=(SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =594 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =595 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =596 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =597 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =598 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =599 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =600 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =601 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =602 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =603 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =683 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =604 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =605 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =636 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =684 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =606 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =607 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =608 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =609 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =610 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =611 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =612 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =613 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =614 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =615 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =616 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =617 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =618 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =619 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =620 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =621 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =622 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =623 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =624 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =625 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =626 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =627 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =632 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =633 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =634 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =635 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =628 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =629 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =630 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4) UNION (SELECT count(*) as total, i.id, i.catid,i.created, i.title, i.alias, i.hits, i.introtext,i.catid,i.imagename,i.extra_fields, c.alias as catalias, c.name as catname FROM news_k2_profile AS i LEFT JOIN news_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND c.id =631 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2023-09-30 20:27:09' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2023-09-30 20:27:09' ) AND i.trash = 0 AND c.trash =0 group by c.id order by i.id DESC limit 0,4)