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=5698 and c.published LIMIT 1

$row->ad_headline

$row->ad_text
Цена: $row->ad_price €
Контакты:
$row->name
$row->ad_phone
$row->ad_city
Отправить на E-mail
nopic

Добавить комментарий


Защитный код
Обновить











Вход

Связь с Админом








4 + 9 =

Statistics

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday2481
mod_vvisit_counterYesterday1897
mod_vvisit_counterThis week13483
mod_vvisit_counterThis month43886
mod_vvisit_counterAll days4650235

Your IP: 23.20.50.146
Today: Июл 22, 2017
'; // Inline CSS styles for external extensions if($enable_style_cb == inset style=yesyes 0) { ?div class=