לופטים בתל אביב עם מערכות תאורה
התקבלו 4 לופטים
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.0852999) ) * cos( radians( sites.gpsLat ) ) * ...' 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 (1886,289,346,1334) and sites_domains.active = 1 AND
sites.siteID IN (135,235,289,342,346,797,909,914,917,921,938,972,973,974,1000,1002,1057,1085,1102,1102,1161,1171,1182,1196,1205,1267,1331,1334,1574,1590,1619,1629,1629,1676,1698,1700,1801,909,1863,1886) ORDER BY ,( 6371 * acos( cos( radians(32.0852999) ) * cos( radians( sites.gpsLat ) ) * cos( radians( sites.gpsLong ) - radians(34.7817676) ) + sin( radians(32.0852999) ) * 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()