getValue(category_id)); $parentcat = $cat2->getParent(); $cats = $parentcat->getChildren(); print '
'; if (is_array($cats)) { foreach ($cats as $cat) { $catId = $cat->getId(); $catName = $cat->getName(); if ($this->getValue(category_id) == $catId) { print ''.$catName.''; } else { print ''.$catName.''; } } } print '
'; print '

'.$cat2->getName().'

'; ?>