errorCode(404); if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST["reactivate"]) && Users::UndoUserModeration(SESSION["user"]["id"])) { redirect("/"); } $moderationInfo = Users::GetUserModeration(SESSION["user"]["id"]); if (!$moderationInfo) PageBuilder::instance()->errorCode(404); $text = [ "title" => [ 1 => "Warning", 2 => "Banned for ".timeSince("@".((($moderationInfo->timeEnds-$moderationInfo->timeStarted)+time())+1), false, false), 3 => "Account Deleted" ], "header" => [ 1 => "This is just a heads-up to remind you to follow the rules", 2 => "Your account has been banned for violating our rules", 3 => "Your account has been permanently banned for violating our rules" ], "footer" => [ 1 => "Please re-read the rules and abide by them to prevent yourself from facing a ban", 2 => "Your ban end".($moderationInfo->timeEnds > time() ? "s":"ed")." at ".date('j/n/Y g:i:s A \G\M\T', $moderationInfo->timeEnds).($moderationInfo->timeEnds > time() ? ", or in ".timeSince("@".($moderationInfo->timeEnds+1), true, false)."

Circumventing your ban on an alternate account while it is active may cause your ban time to be extended" : ""), 3 => "Circumventing your ban by using an alternate account will lower your chance of appeal (if your ban was appealable)" ] ]; $pageBuilder = new PageBuilder(["title" => SITE_CONFIG["site"]["name"]." Moderation"]); $pageBuilder->buildHeader(); ?>
Moderation

banType]?>

banType]?>

Done at: timeStarted)?>

Moderator note:

', '

', $markdown->setEmbedsEnabled(true)->text($moderationInfo->reason))?>


banType]?>

banType == 1 || $moderationInfo->banType == 2 && $moderationInfo->timeEnds < time()) { ?>
buildFooter(); ?>