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