} else
$active_projects = $user->getAssignedProjects();
$smarty->assign('active_projects', $active_projects);
$smarty->assign('inactive_projects', $inactive_projects);
} else
$active_projects = $user->getAssignedProjects();
$smarty->assign('active_projects', $active_projects);
$smarty->assign('inactive_projects', $inactive_projects);