protected function execute() { global $smarty; $showImmune = false; if (isset($_GET['showimmune'])) { $showImmune = true; } $smarty->assign("showImmune", $showImmune); $inactiveUsers = User::getAllInactive(gGetDb()); $smarty->assign("inactiveUsers", $inactiveUsers); return $smarty->fetch("statistics/inactiveusers.tpl"); }