Fotos



getValue(category_id)); $cats = $cat->getChildren(); if (is_array($cats)) { foreach ($cats as $cat) { $catId = $cat->getId(); $catName = $cat->getName(); print ''.$catName.''; $cat1 = OOCategory::getCategoryById($catId); $cats1 = $cat1->getChildren(); if (is_array($cats1)) { print '
'; $i = 0; foreach ($cats1 as $cat1) { $catId1 = $cat1->getId(); $catName1 = $cat1->getName(); if($i!=0) {print' - ';} print ''.$catName1.''; $i=1; } print '
'; } print '

'; } } ?>