SELECT c.id, c.img, c.eventtype, c.title_alias, c.all_com, c.gonotification, c.title, ch.hits, c.created, c.catid, c.companynews, c.nocomms , c.introtext, c.calendtitle, c.onview, r.title AS rtitle, r.alias AS ralias, c.ico, p.id AS pid, p.title AS ptitle, p.alias AS palias, c.bigphoto, t.alias AS talias, t.title AS ttitle, c.eventdate, q.quote, aq.img AS aqimg, aq.title AS name, aq.prefix AS position, c.tid, c.links, c.position AS pos , c.post_vk , c.post_vk_do , c.post_vk_klass , c.post_ok, c.post_tw,c.post_tw_klass,c.metakey , c.post_fb, c.post_fb_do FROM jos_content AS c LEFT JOIN jos_categories AS r ON r.id = c.catid LEFT JOIN jos_publishers AS p ON p.id = c.pid LEFT JOIN jos_content_type AS t ON t.id = c.tid LEFT JOIN jos_aquotes_news AS q ON q.cid = c.id LEFT JOIN jos_face AS aq ON aq.id = q.aid LEFT JOIN jos_world_omich AS jwo ON jwo.news_id = c.id and jwo.active = 1 LEFT JOIN jos_content_hits AS ch ON ch.news_id = c.id WHERE c.state = 1 AND c.created < '2020-09-24 03:49:08' AND c.treecol = 1 AND c.id NOT IN(101055) AND c.tid <> 15 ORDER BY c.created DESC