Add get_teams and get_top functions for User class
This commit is contained in:
parent
b69ecd3e70
commit
68dcb996c9
7 changed files with 158 additions and 25 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Reference in a new issue