Benefits->CanEditUsers){ throw new Exceptions\InvalidPermissionsException(); } // We got here because a `User` was successfully saved. if($isSaved){ session_unset(); } } catch(Exceptions\UserNotFoundException){ Template::ExitWithCode(Enums\HttpCode::NotFound); } catch(Exceptions\LoginRequiredException){ Template::RedirectToLogin(); } catch(Exceptions\InvalidPermissionsException){ Template::ExitWithCode(Enums\HttpCode::Forbidden); } ?>DisplayName, canonicalUrl: $user->Url, css: ['/css/user.css'] ) ?>

DisplayName) ?>

User saved!

Edit user

Benefits->CanManageProjects || $user->Benefits->CanReviewProjects){ ?>

Projects

Basics

User ID: UserId ?>
Email: Email) ?>
Name: Name) ?>
UUID: Uuid) ?>
Created: Created->format(Enums\DateTimeFormat::FullDateTime->value) ?>

Patron info

Patron !== null && $user->Patron->Ended === null){ ?> Patron->AlternateName !== null){ ?>
Is Patron: Patron !== null && $user->Patron->Ended === null){ ?>☑
Created: Patron->Created->format(Enums\DateTimeFormat::FullDateTime->value) ?>
Cycle type: Patron->CycleType !== null){ ?> Patron->CycleType->value) ?> Not set
Base cost: Patron->BaseCost !== null){ ?> Patron->BaseCost) ?> Not set
Is anonymous: Patron->IsAnonymous){ ?>☑
Alternate credit: Patron->AlternateName) ?>

Newsletter subscriptions

NewsletterSubscription === null || (!$user->NewsletterSubscription->IsSubscribedToNewsletter && !$user->NewsletterSubscription->IsSubscribedToSummary)){ ?>

None.

Registration info

IsRegistered){ ?>
Is registered: IsRegistered){ ?>☑
Can access feeds: Benefits->CanAccessFeeds){ ?>☑
Can vote: Benefits->CanVote){ ?>☑
Can bulk download: Benefits->CanBulkDownload){ ?>☑
Can upload artwork: Benefits->CanUploadArtwork){ ?>☑
Can review artwork: Benefits->CanReviewArtwork){ ?>☑
Can review own artwork: Benefits->CanReviewOwnArtwork){ ?>☑
Can edit users: Benefits->CanEditUsers){ ?>☑
Can edit ebook placeholders: Benefits->CanEditEbookPlaceholders){ ?>☑
Can edit projects: Benefits->CanEditProjects){ ?>☑
Can manage projects: Benefits->CanManageProjects){ ?>☑
Can review projects: Benefits->CanReviewProjects){ ?>☑

Payments

Payments) == 0){ ?>

None.

View all payments at Fractured Atlas

Payments as $payment){ ?>
Created Recurring? Gross Fee Net Transaction ID
IsRecurring){ ?> ☑ Amount) ?> Fee) ?> Amount - $payment->Fee) ?> TransactionId) ?>