/** * Invite list * 2015.11.11 start */ public function Invite() { global $user; $inviteList = Invite::GetInvitesByUid($user->id, 0); include Template::load("panel/invite"); //throw new Error("This page is not available", 404); }
public function index() { $inviteList = \Model\Invite::GetInvitesByUid(-1); include Template::load('/home/invite'); }