Add new global rank page
This commit is contained in:
parent
d442b1d3b3
commit
a229a10f25
3 changed files with 44 additions and 2 deletions
11
onyx/include/public/rank.php
Normal file
11
onyx/include/public/rank.php
Normal 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";
|
||||
Reference in a new issue