private static function showCategoryTree($checked = array()) { ?> <div class="category_tree"> <?php require_once 'manager/CategoryManager.php'; $cat = CategoryManager::loadAllCategories(); $i = 0; ?> <ul class="category_tree_level_0"><?php foreach ($cat as $valore) { $i = self::writeCategoryNode($valore, $i, 1, $checked); } ?> </ul><?php ?> </div> <?php }