Sitemap

getValue(category_id)); $cats = $cat->getRootCategories(); $rootcatSize = sizeof($cat->getRootCategories()); if ($rootcatSize != "0"){ print ''; if (is_array($cats)) { foreach ($cats as $cat) { $catId = $cat->getId(); $catName = $cat->getName(); if ($cat->isOnline(true)){ print '
  • '.$catName.'
  • '; } // START Unterkategorien aufzählen $cats = $cat->getChildren(); $catSize = sizeof($cat->getChildren()); if ($catSize != "0"){ print '
      '; if (is_array($cats)) { foreach ($cats as $cat) { $catId = $cat->getId(); $catName = $cat->getName(); if ($cat->isOnline(true)){ print '
    • '.$catName.'
    • '; } // START Unterartikel aufzählen /* $article = $cat->getArticles(); print '
        '; if (is_array($article)) { foreach ($article as $var) { $articleId = $var->getId(); $articleName = $var->getName(); if ($var->isOnline(true)){ print '
      • '.$articleName.'
      • '; }} print '
      '; } */ // ENDE der Unterartikel }} print '
    '; } // ENDE der Unterkategorien }} print ''; } ?>