uid) ? (int)$session->uid : 0;
$name = isset($session->username) ? $session->username : 'Unknown';
$reason = 'No reason specified';
/* =========================
DB CONNECTION SAFE CHECK
========================= */
if($uid > 0){
$query = "SELECT reason FROM ".TB_PREFIX."banlist WHERE uid = $uid LIMIT 1";
// 🔥 AICI E FIXUL IMPORTANT
$res = mysqli_query($database->dblink, $query);
if($res && mysqli_num_rows($res) > 0){
$row = mysqli_fetch_assoc($res);
if(!empty($row['reason'])){
$reason = $row['reason'];
}
}
}
?>
Hello !
You have been banned due to a violation of the rules.
Your banning reason is .
To ensure that you won't get banned again in the future, you should read the rules carefully:
» Game rules
To continue playing contact the Multihunter and put things straight with him/her
» Write Message
Heed the following advice when writing your message:
● There is always a reason for a ban. Try to think about possible reasons for this ban and put things straight with the Multihunter.
● Multihunters can review enormous amounts of information about accounts. Stick to the truth and do not make excuses to justify your violation of the rules.
● Be cooperative and insightful, this might reduce the punishment.
● If the Multihunter does not answer immediately, then he/she is probably not online. The issue will not be resolved any faster by sending multiple messages, especially if he/she did not even read the first one yet.
● If you have really been banned unjustly, try to stay calm and polite while talking to the Multihunter and telling him/her about your point of view.