junk removal
This commit is contained in:
parent
fd100eec75
commit
f0e35e3bbe
|
|
@ -47,7 +47,6 @@ if (UserModerationManager::IsBanned($user->id))
|
||||||
$bandisplay = "";
|
$bandisplay = "";
|
||||||
$date = "";
|
$date = "";
|
||||||
$banexpirationdisplay = "";
|
$banexpirationdisplay = "";
|
||||||
$banappealdiscorddisplay = "";
|
|
||||||
$banagreement = "";
|
$banagreement = "";
|
||||||
if ($banType == 0)
|
if ($banType == 0)
|
||||||
{
|
{
|
||||||
|
|
@ -67,17 +66,12 @@ if (UserModerationManager::IsBanned($user->id))
|
||||||
{
|
{
|
||||||
$banagreement = '<button type="submit" name="agree" class="btn btn-success">I\'ve read the ban reason</button><br><br>';
|
$banagreement = '<button type="submit" name="agree" class="btn btn-success">I\'ve read the ban reason</button><br><br>';
|
||||||
}
|
}
|
||||||
else //ban isnt expired, show discord appeal link
|
|
||||||
{
|
|
||||||
//$banappealdiscorddisplay = '<p>If you wish to appeal your Ban, make an appeal on our discord <a href="https://discord.gg/4Ut9sbkQ5b" class="red-a">here</a></p>';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
elseif ($banType == 2)
|
elseif ($banType == 2)
|
||||||
{
|
{
|
||||||
//permanent ban stuff
|
//permanent ban stuff
|
||||||
$bandisplay = '<h5 class="text-center mb-3">You\'ve been permanently banned</h5>';
|
$bandisplay = '<h5 class="text-center mb-3">You\'ve been permanently banned</h5>';
|
||||||
$date = '<p><b>Reviewed:</b> '.$banDate.'</p>';
|
$date = '<p><b>Reviewed:</b> '.$banDate.'</p>';
|
||||||
//$banappealdiscorddisplay = '<p>If you wish to appeal your Termination, make an appeal on our discord <a href="https://discord.gg/4Ut9sbkQ5b" class="red-a">here</a></p>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo getCSS(); //print out site css
|
echo getCSS(); //print out site css
|
||||||
|
|
@ -93,7 +87,6 @@ if (UserModerationManager::IsBanned($user->id))
|
||||||
'.$banexpirationdisplay.'
|
'.$banexpirationdisplay.'
|
||||||
<p><b>Reason:</b> '.$banreason.'</p>
|
<p><b>Reason:</b> '.$banreason.'</p>
|
||||||
<hr>
|
<hr>
|
||||||
'.$banappealdiscorddisplay.'
|
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<form method="post">
|
<form method="post">
|
||||||
'.$banagreement.'
|
'.$banagreement.'
|
||||||
|
|
|
||||||
|
|
@ -136,14 +136,6 @@ if(!isLoggedIn())
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
EOT;
|
EOT;
|
||||||
/*
|
|
||||||
<div class="index-row">
|
|
||||||
<h5 class="text-white">Alphaland is currently in the Alpha stage</h5>
|
|
||||||
</div>
|
|
||||||
<div class="index-row">
|
|
||||||
<h6 class="text-white">Invite only</h6>
|
|
||||||
</div>
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue