SELECT DISTINCT a.*, p.name as parent, p.id as parentid, c.name as cat, c.id as catid, u.name as user FROM #__adsmanager_ads as a LEFT JOIN #__adsmanager_adcat as adcat ON adcat.adid = a.id LEFT JOIN #__users as u ON a.userid = u.id LEFT JOIN #__adsmanager_categories as c ON adcat.catid = c.id LEFT JOIN #__adsmanager_categories as p ON c.parent = p.id WHERE a.id=10475 and c.published LIMIT 1
Ads arrow

$row->ad_headline

$row->ad_text
Price: $row->ad_price
Contact:
$row->ad_phone
nopic

WCLU Weather

36°
°F | °C
Fair
Humidity: 81%
Sun
Mostly Cloudy
36 | 46
2 | 7
Mon
Mostly Cloudy
50 | 57
10 | 13