|
|
@ -68,14 +68,14 @@ function getBanlist() {
|
|
|
|
$user = censorIP((string)$ban['ip']);
|
|
|
|
$user = censorIP((string)$ban['ip']);
|
|
|
|
|
|
|
|
|
|
|
|
if (!empty($ban['lastnickname']))
|
|
|
|
if (!empty($ban['lastnickname']))
|
|
|
|
$user = htmlentities((string)$ban['lastnickname']);
|
|
|
|
$user = htmlspecialchars((string)$ban['lastnickname']);
|
|
|
|
|
|
|
|
|
|
|
|
if (empty($user))
|
|
|
|
if (empty($user))
|
|
|
|
$user = "<i>Unknown</i>";
|
|
|
|
$user = "<i>Unknown</i>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reason = htmlentities((string)$ban['reason']);
|
|
|
|
$reason = htmlspecialchars((string)$ban['reason']);
|
|
|
|
$invokername = htmlentities((string)$ban['invokername']);
|
|
|
|
$invokername = htmlspecialchars((string)$ban['invokername']);
|
|
|
|
$duration = $ban['duration'];
|
|
|
|
$duration = $ban['duration'];
|
|
|
|
$createdepoch = $ban['created'];
|
|
|
|
$createdepoch = $ban['created'];
|
|
|
|
$expiresepoch = $ban['created'] + $duration;
|
|
|
|
$expiresepoch = $ban['created'] + $duration;
|
|
|
|