$page = new Common_Page();
$make = $DB ->getRow('goods_cars',car_make);
/* $sql = "SELECT catid FROM goods WHERE (carid = ".car_make." OR carid=0) GROUP BY catid";
$res = $DB -> Exec($sql);
$rows = $DB -> Count($res);
$goods_cats = array();
for ($i=0;$i<$rows;$i++ ) {
$cat= $DB -> Fetch($res);
$goods_cats[] = $cat['catid'];
}
if (!empty($goods_cats)) {
?>
$cats = new Products_Categories();
foreach ($goods_cats as $cat) {
$item = $cats -> getItem($cat);
$pic = $item['image'] ? '/images/category/'.$item['image'] : 'nopic.jpg';
$l = $cats -> getPath($item['id'], 'sef');
$l = implode('/',$l);
$link = '/shop/'.$l.'/?filter_make='.car_make;
echo '
'.$L->StrT('goods_categories','title', $item['id'], $item['title']).'
';
';
} */
?>
=$L->Str('%1$s',1,array($make['title']))?>
$page = new Common_Page();
echo $page -> showPagesRecursiveList(8,0);
?>
/*
$sql = "SELECT folderid FROM service_pages WHERE carid = ".car_make." OR carid=0 GROUP BY folderid";
$res = $DB -> Exec($sql);
$rows = $DB -> Count($res);
$goods_cats = array();
for ($i=0;$i<$rows;$i++ ) {
$cat= $DB -> Fetch($res);
$goods_cats[] = $cat['folderid'];
}
if (!empty($goods_cats)) {
?>
=$L->Str('Service for %1$s',1,array($make['title']))?>
$folders = $DB -> getArray("SELECT * FROM service_pages WHERE id IN (".implode(',',$goods_cats).")
ORDER BY position ASC");
foreach ($folders as $folder) {
if ($folder['icon']) {
$icon = '/images/service/'.$folder['icon'];
} else {
$icon = '';
}
$link = '/service/?folder='.$folder['folderid'];
//

echo '
'.$folder['title'].'
';
}
?>
}
*/
?>