Reviewed:
Moderator Note:
Reason:
Please abide by the Community Guidelines so that can be fun for all users.
You may re-activate your account by agreeing to our Terms of Service.
header(); // Now here the fun starts... // Basically I will make the text change by the severity of the ban, it could be just a warning so I'm gonna rename it. $ban = Array( "title" => "Warning", "description" => "Our content monitors have determined that your behavior at Roblox has been in violation of our Terms of Service. We will terminate your account if you do not abide by the rules.", "time" => date('m/d/Y H:i:s A'), "note" => "robus." ); $query = $con->prepare('SELECT * FROM bans WHERE user=:user ORDER BY time desc LIMIT 1'); $query->bindParam(':user', $_SESSION['user']); $query->execute(); $ban = $query->fetch(); if(empty($ban)) { header('Location: /home'); exit; } if($ban['type'] == 1) { $ban['title'] = "Warning"; $ban['description'] = "Our content monitors have determined that your behavior at ".$sitename." has been in violation of our Terms of Service. We will terminate your account if you do not abide by the rules."; } elseif($ban['type'] == 2) { $ban['title'] = "Banned for 1 day"; $ban['description'] = "Our content monitors have determined that your behavior at ".$sitename." has been in violation of our Terms of Service. We will terminate your account if you do not abide by the rules."; } elseif($ban['type'] == 3) { $ban['title'] = "Banned for 7 days"; $ban['description'] = "Our content monitors have determined that your behavior at ".$sitename." has been in violation of our Terms of Service."; } else { $ban['title'] = "Account deleted"; } ?>
Reviewed:
Moderator Note:
Reason:
Please abide by the Community Guidelines so that can be fun for all users.
You may re-activate your account by agreeing to our Terms of Service.