New router and associated pages
This commit is contained in:
parent
68dcb996c9
commit
bed471d75a
12 changed files with 133 additions and 114 deletions
|
|
@ -2,16 +2,7 @@
|
|||
|
||||
if(!defined('ONYX')) exit;
|
||||
|
||||
$t = Team::get_teams();
|
||||
foreach ($t as $tt){
|
||||
var_dump ($tt->get_username());
|
||||
}
|
||||
|
||||
if ($SESS->level < 1)
|
||||
{
|
||||
$page = "public/home";
|
||||
}
|
||||
else
|
||||
{
|
||||
$page = "users/home";
|
||||
}
|
||||
$template->assign("teams", Team::get_teams());
|
||||
$template->assign("top", Team::get_top());
|
||||
|
||||
return "public/home";
|
||||
|
|
|
|||
Reference in a new issue