Benefits->CanManageProjects && !Session::$User->Benefits->CanReviewProjects && !Session::$User->Benefits->CanEditProjects ){ throw new Exceptions\InvalidPermissionsException(); } session_start(); $isCreated = HttpInput::Bool(SESSION, 'is-project-created') ?? false; if($isCreated){ // We got here because a `Project` was successfully submitted. http_response_code(Enums\HttpCode::Created->value); session_unset(); } $inProgressProjects = Project::GetAllByStatus(Enums\ProjectStatusType::InProgress); $stalledProjects = Project::GetAllByStatus(Enums\ProjectStatusType::Stalled); } catch(Exceptions\LoginRequiredException){ Template::RedirectToLogin(); } catch(Exceptions\InvalidPermissionsException){ Template::Emit403(); } ?> 'Projects', 'css' => ['/css/project.css'], 'description' => 'Ebook projects currently underway at Standard Ebooks.' ]) ?>

Projects

Project created!

Active projects

None.

$inProgressProjects, 'includeStatus' => false]) ?>
0){ ?>

Stalled projects

$stalledProjects, 'includeStatus' => false]) ?>