Add get_teams and get_top functions for User class

This commit is contained in:
Quentin Grosyeux 2013-10-22 07:58:39 +02:00
commit 68dcb996c9
7 changed files with 158 additions and 25 deletions

View file

@ -2,6 +2,11 @@
if(!defined('ONYX')) exit;
$t = Team::get_teams();
foreach ($t as $tt){
var_dump ($tt->get_username());
}
if ($SESS->level < 1)
{
$page = "public/home";