Seitenstruktur von Amp-Performance.de

'; if (!function_exists('drawCat')){ function drawCat ($catArray = false) { if (is_array($catArray)&&sizeof($catArray)) { echo "
    \n"; foreach ($catArray as $cat) { if ($cat->isOnline(true)) { $catId = $cat->getId(); $catName = $cat->getName(); echo "\t".'
  • '.$catName.''."\n"; $sc = $cat->getChildren(); drawCat($sc); echo "\t".'
  • '."\n"; } /* end of if (isOnline()) */ } /* end of foreach */ echo '
'; } /* end of is_array */ }} $cats = OOCategory :: getRootCategories(); drawCat($cats); echo '
'; /* $cats = OOCategory :: getRootCategories(); if (is_array($cats)&&sizeof($cats)) { echo ''."\n"; }*/ ?>