לופטים עם בריכת שחייה מחוממת בירכא
התקבלו 3 לופטים
class.udb.php:184 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '( 6371 * acos( cos( radians(32.95345) ) * cos( radians( sites.gpsLat ) ) * co...' at line 14
SELECT sites.*,promotedDomains.active as promoted,sites_domains.hideContactMethods,settlements.lat_y,settlements.lon_x,sites_langs.siteName as siteLangName, sites_langs.reviewLocation, sites_langs.owners, IF(sites.exBits & 1 OR (sites.externalEngine > '' AND sites.externalID > ''), 0, 1) AS `noDates`,
sites_domains.avgScore, sites_domains.forCouples, sites_domains.ServiceLevelAgreement, sites_domains.checkedDate, sites_domains.checkedBy,
sites_domains.maskyooPhone, sites_domains.phone,
sites_domains.hostPhrase as hostPhraseDomain,
areas.TITLE as areaName,settlements.TITLE as cityName, main_areas.TITLE as mainAreaName,`promotedsearchDomains`.active as promotS
FROM `sites` INNER JOIN `sites_domains` ON (sites.siteID = sites_domains.siteID AND sites_domains.domainID = 109)
INNER JOIN `sites_langs` ON (sites.siteID = sites_langs.siteID AND sites_langs.domainID = 109 AND sites_langs.langID = 1)
LEFT JOIN `settlements` ON (sites.`settlementID` = settlements.settlementID)
LEFT JOIN `areas` ON (areas.areaID = settlements.areaID)
LEFT JOIN `main_areas` ON (areas.main_areaID = main_areas.main_areaID)
LEFT JOIN `promotedsearchDomains` ON (promotedsearchDomains.siteID = sites.siteID and promotedsearchDomains.domainID = 109 )
left join promotedDomains on (promotedDomains.siteID=sites_domains.siteID and promotedDomains.domainID=109 and promotedDomains.active=1)
WHERE 1 and sites.siteID not in (642,1236,1503) and sites_domains.active = 1 AND
sites.siteID IN (642,812,1236,1406,1503,1758) ORDER BY ,( 6371 * acos( cos( radians(32.95345) ) * cos( radians( sites.gpsLat ) ) * cos( radians( sites.gpsLong ) - radians(35.19102) ) + sin( radians(32.95345) ) * sin( radians( sites.gpsLat ) ) ) ) ASC LIMIT 12
1: class.udb.php:374 udb::query()
2: class.InSearch.php:556 udb::key_row()
3: search-results.php:392 InSearch::fullSitesResults()
4: index.php:356 include()