> // require 'includes/data/database.php'; $sql = 'SELECT time,until,reason,name,banned_by_name FROM bans INNER JOIN history on bans.uuid=history.uuid WHERE active=1 GROUP BY name ORDER BY time DESC LIMIT 20'; $retval = mysql_query($sql, $conn); if (!$retval) { die('Could not get data: ' . mysql_error($conn)); } ?>

Bans

> // $timeEpoch = $row['time']; $timeConvert = $timeEpoch / 1000; $timeResult = date('F j, Y, g:i a', $timeConvert); // <<-----------------Expiration Time Converter------------>> // $expiresEpoch = $row['until']; $expiresConvert = $expiresEpoch / 1000; $expiresResult = date('F j, Y, g:i a', $expiresConvert); ?>
Name
Banned By
Reason
Banned On
Banned Until
" . $banned; ?> " . $row['banned_by_name']; ?>
"; ?>