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=9911 and c.published LIMIT 1
Ads arrow

$row->ad_headline

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

WCLU Weather

52°
11°
°F | °C
Cloudy
Humidity: 71%
Sun
Rain
54 | 61
12 | 16
Mon
AM Showers/Wind
31 | 54
0 | 12