get_name(); echo " (" . $teams[$i]->get_pts() . " pts)
"; } //END TOP10 //RANK echo "

"; $t = new Team(10); echo $t->get_rank() . "/"; echo Team::get_nbTeams(); //END RANK //BEGIN LISTING THEMES echo "

"; $themes = Theme::get_themes(); foreach ($themes as $theme){ echo $theme->get_name()."
"; echo $t->get_nbResExercisesByTheme($theme->get_id()) . "/"; echo $theme->get_nbExercices()."
"; } //END LISTING THEMES $template->assign("teams", Team::get_teams()); $template->assign("top", Team::get_top()); return "public/home";