Kriminal.lv

0 - SQL=SELECT i.*, CASE WHEN i.modified = 0 THEN i.created ELSE i.modified END as lastChanged, c.name as categoryname,c.id as categoryid, c.alias as categoryalias, c.params as categoryparams FROM krm_k2_items as i RIGHT JOIN krm_k2_categories AS c ON c.id = i.catid WHERE i.published = 1 AND i.access IN(1,1,5) AND i.trash = 0 AND c.published = 1 AND c.access IN(1,1,5) AND c.trash = 0 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2018-10-21 17:40:27' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2018-10-21 17:40:27' ) AND i.id IN (SELECT itemID FROM krm_k2_tags_xref WHERE tagID=694) ORDER BY i.id DESC LIMIT 10, 10

Вернуться на Домашнюю страницу: Домашняя страница.