class.udb.php:188 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND sites.siteType=1 AND sites.`ifShow`=1
AND sites.s' at line 11
SELECT IF(turbo.posted, 100, 1) AS `sort`, sites.address, sites.siteAltPic, sites.siteTitlePic, sites.address, sites.siteid,
sites.area, sites.city, sites.title, sites.short_desc, sites.lat, sites.phone, sites.rooms, sites.lon, sites.picture as 'picSite' , sites.siteType, sites.accessories,
sites.home_line, sites.home_line_show,sites.home_line2, sites.home_line2_show , sites.GalleryID1, sites.GalleryID2, sites.GalleryID3, sites.GalleryID4, sites.GalleryID5, sites.GalleryID6, sites.GalleryID7, sites.GalleryID8, sites.GalleryID9, sites.GalleryID10
FROM sites
INNER JOIN cities ON (`sites`.city=`cities`.id)
INNER JOIN areas ON (`cities`.areasMain=`areas`.id)
INNER JOIN superareas ON (`superareas`.id=`areas`.superareas)
LEFT JOIN turbo ON (`turbo`.siteID=`sites`.siteID AND `turbo`.posted=1)
LEFT JOIN `pirsumim` ON (sites.siteID = pirsumim.siteID AND pirsumim.PortalID = 2 AND pirsumim.pirsumType = 5)
WHERE ()
AND sites.siteType=1 AND sites.`ifShow`=1
AND sites.siteid NOT IN(0)
group by sites.siteid
ORDER BY `sort` DESC, RAND()
LIMIT 0,24
1: class.udb.php:317 udb::query()
2: class.udb.php:311 udb::single_list()
3: js_ajax_res.php:160 udb::full_list()