SELECT t0.id AS pid,t0.pk AS pk,t0.pkb AS pkb,t0.parent_id AS parent,t0.author_id AS author,t0.cck AS cck,t0.storage_location AS loc,tt.id AS type_id,tt.alias AS type_alias
FROM `#__cck_core` AS t0
LEFT JOIN `#__content` AS t1 ON t1.id = t0.pk
LEFT JOIN `#__cck_core_types` AS tt ON tt.name = t0.cck
WHERE t1.access IN (1,1,9)
  AND ( t1.publish_up = '0000-00-00 00:00:00' OR t1.publish_up <= '2018-01-18 02:06' )
  AND ( t1.publish_down = '0000-00-00 00:00:00' OR t1.publish_down >= '2018-01-18 02:06' )
  AND t0.cck = 'jkompleks'
  AND t1.state LIKE '%1%'
ORDER BY t1.title ASC

SELECT COUNT(t0.id)
FROM `#__cck_core` AS t0
LEFT JOIN `#__content` AS t1 ON t1.id = t0.pk
LEFT JOIN `#__cck_core_types` AS tt ON tt.name = t0.cck
WHERE t1.access IN (1,1,9)
  AND ( t1.publish_up = '0000-00-00 00:00:00' OR t1.publish_up <= '2018-01-18 02:06' )
  AND ( t1.publish_down = '0000-00-00 00:00:00' OR t1.publish_down >= '2018-01-18 02:06' )
  AND t0.cck = 'jkompleks'
  AND t1.state LIKE '%1%'

0.004 seconds (0.004); 16.67 MB (16.667) - afterSearch [Cache=OFF] = 42 results.
0.614 seconds (0.609); 40.01 MB (23.340) - afterRender [Cache=OFF]

Новостройки на карте