וילות, מתחמי קיץ, מתחמי אירועים ומתחמי אירוח בבאר שבע
התקבלו 5 לופטים
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(31.252973) ) * cos( radians( sites.gpsLat ) ) * c...' 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 (1178,1182,1262,124,1116) and sites_domains.active = 1 AND
sites.siteID IN (124,1116,1178,1262,1400) ORDER BY ,( 6371 * acos( cos( radians(31.252973) ) * cos( radians( sites.gpsLat ) ) * cos( radians( sites.gpsLong ) - radians(34.791462) ) + sin( radians(31.252973) ) * 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()