Add new global rank page

This commit is contained in:
nemunaire 2014-01-14 16:11:59 +01:00
commit a229a10f25
3 changed files with 44 additions and 2 deletions

View file

@ -0,0 +1,11 @@
<?php
if(!defined('ONYX')) exit;
$template->assign("top", Team::get_top(10));
$template->assign("rank", Team::get_top());
$template->assign("themes", Theme::get_themes());
$template->assign("nbExoMax", Exercice::get_nb_exo_max());
return "public/rank";