|
@@ -84,8 +84,8 @@ foreach($blacklist as $blip) {
|
|
|
<table border="0">
|
|
<table border="0">
|
|
|
<?php
|
|
<?php
|
|
|
$whitelist = (new action)->getWhiteList();
|
|
$whitelist = (new action)->getWhiteList();
|
|
|
-foreach($whitelist as $blip) {
|
|
|
|
|
- echo "<tr><td>" . $blip . "</td><td><a href=admin.php?token=" . $token . "&action=dewhitelist&ip=" . long2ip($blip) . ">remove from whitelist</a></td></tr>";
|
|
|
|
|
|
|
+foreach($whitelist as $wlip) {
|
|
|
|
|
+ echo "<tr><td>" . $wlip . "</td><td><a href=admin.php?token=" . $token . "&action=dewhitelist&ip=" . long2ip($wlip) . ">remove from whitelist</a></td></tr>";
|
|
|
}
|
|
}
|
|
|
?>
|
|
?>
|
|
|
</table>
|
|
</table>
|
|
@@ -93,8 +93,8 @@ foreach($whitelist as $blip) {
|
|
|
<table border="0">
|
|
<table border="0">
|
|
|
<?php
|
|
<?php
|
|
|
$blacklist = (new action)->getBlackList();
|
|
$blacklist = (new action)->getBlackList();
|
|
|
-foreach($blacklist as $blip) {
|
|
|
|
|
- echo "<tr><td>" . $blip . "</td><td><a href=admin.php?token=" . $token . "&action=delist&ip=" . long2ip($blip) . ">remove from list</a></td></tr>";
|
|
|
|
|
|
|
+foreach($list as $lip) {
|
|
|
|
|
+ echo "<tr><td>" . $lip . "</td><td><a href=admin.php?token=" . $token . "&action=delist&ip=" . long2ip($lip) . ">remove from list</a></td></tr>";
|
|
|
}
|
|
}
|
|
|
?>
|
|
?>
|
|
|
</table>
|
|
</table>
|