Array
(
[featured] => 1
[listing_office] => 62
[stype] => 1
)
SELECT p.province_combi,p.county_combi,p.price_reduced,p.id AS id, p.mls_id, p.mls_apimo, p.price, p.exc, p.liv, p.vtour, p.office, p.video,p.feature1, p.feature2, p.feature3,p.feature4,p.feature1_fr, p.feature2_fr, p.feature3_fr,p.feature4_fr, p.call_for_price, p.show_map, p.hide_address, p.price2, p.stype_freq, p.title AS title, p.beds, p.baths, p.sqft, p.sav,p.lot_acres, p.lotsize, p.street_num, p.street_dir, p.street, p.street2, p.province_num, p.drainage, p.apt, p.description as description, p.short_description, p.created, p.created_by, p.modified, p.stype, p.listing_office, p.city, p.locstate, p.county, p.region, p.subdivision, p.country, p.province, p.alias as alias, p.featured, p.latitude, p.longitude, p.available, p.income, p.tax, p.publish_up, p.state, p.checked_out, p.checked_out_time, p.hits, p.listing_info, pm.cat_id
FROM j7m8s_iproperty AS p
LEFT JOIN j7m8s_iproperty_propmid as pm ON pm.prop_id = p.id
WHERE pm.cat_id != 0 AND `p`.`featured` IN ('1') AND `p`.`listing_office` IN ('62') AND `p`.`stype` IN ('1') AND p.access IN (1,1,5) AND (p.publish_up = '0000-00-00 00:00:00' OR p.publish_up <= '2025-01-18 06:47:51') AND (p.publish_down = '0000-00-00 00:00:00' OR p.publish_down >= '2025-01-18 06:47:51') AND p.state = 1 AND p.approved = 1 AND p.id IN (SELECT pm.prop_id FROM j7m8s_iproperty_propmid pm WHERE pm.cat_id IN (SELECT id FROM j7m8s_iproperty_categories c WHERE c.state = 1 AND (c.publish_up = '0000-00-00 00:00:00' OR c.publish_up <= '2025-01-18 06:47:51') AND (c.publish_down = '0000-00-00 00:00:00' OR c.publish_down >= '2025-01-18 06:47:51') AND c.access IN (1,1,5)))
GROUP BY p.id
ORDER BY RAND()
€214,000
Vienne (86)
€1,100,000
Hérault (34)
€89,000
Tarn (81)
€392,200
Dordogne (24)
€695,000
Gers (32)
€1,000,000
Exclusive
Gers (32)
€540,750
Charente-Maritime (17)
€219,000
Exclusive
Charente (16)
€65,850
Charente (16)
€2,190,000
Bouches-du-Rhône (13)
€650,000
Tarn-et-Garonne (82)
€159,000
Exclusive
Dordogne (24)