Não consegui encontrar o erro de sintaxe no código abaixo:
foreach( $rows as $row ) { if ($level >= $levelStart) : $itemid = modVMFullCategoryList::vmFCLGetVMItemId($row->category_id); $itemid = ($itemid ? '&Itemid='.$itemid : ''); $link = JFilterOutput::ampReplace(JRoute::_('index.php?option=com_virtuemart' .'&page=shop.browse&category_id='.$row->category_id . $itemid )); ?> <?php if($row->category_id == 82) { echo ""; } else { ?> <li<?php echo ($currentCat == $row->category_id ? ' id="current"' : '') ?>> <a class="level<?php echo $level . $menuClass . ($currentCat == $row->category_id ? ' active' : '') ?>" href="<?php echo $link ?>" target="_self"> <?php echo htmlspecialchars(stripslashes($row->category_name), ENT_COMPAT, 'UTF-8') ?></a> <?php endif; // Check for sub categories vmFCLBuildMenu($row->category_id, $level + 1, $params, $currentCat); if ($level >= $levelStart) : ?> </li> <?php endif; } ?> <?php endif; } // end foreach
Alguem pode me ajudar?