diff --git a/includes/header.php b/includes/header.php index 04b286c..693ff31 100644 --- a/includes/header.php +++ b/includes/header.php @@ -18,7 +18,6 @@ diff --git a/ipbans.php b/ipbans.php deleted file mode 100644 index 1ea0daa..0000000 --- a/ipbans.php +++ /dev/null @@ -1,98 +0,0 @@ - - - - IP Bans - <?php echo $name; ?> - -> // -require 'includes/data/database.php'; - -$sql = 'SELECT ip, reason, banner, time, expires FROM ipbans ORDER BY time DESC LIMIT 20'; - -$retval = mysql_query($sql, $conn); -if (!$retval) { - die('Could not get data: ' . mysql_error()); -} -?> - -
- -
- -
-

IP Bans

- -
- -
-
-
- - - - - - - - - - - - > // - $timeEpoch = $row['time']; - $timeConvert = $timeEpoch / 1000; - $timeResult = date('F j, Y, g:i a', $timeConvert); - // <<-----------------Expiration Time Converter------------>> // - $expiresEpoch = $row['expires']; - $expiresConvert = $expiresEpoch / 1000; - $expiresResult = date('F j, Y, g:i a', $expiresConvert); - ?> - - - - - - - -
-
IP
-
-
Banned By
-
-
Reason
-
-
Banned On
-
-
Banned Until
-
- - " . $row['banner']; ?>
"; - ?> -
-
- -
\ No newline at end of file