dashboard\primary\error("Invalid blacklist type!"), 'failure' => dashboard\primary\error("Failed to add blacklists!"), 'success' => dashboard\primary\success("Successfully added blacklists!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } if (isset($_POST['delblacks'])) { $resp = misc\blacklist\deleteAll(); match($resp){ 'failure' => dashboard\primary\error("Failed to delete all whitelists!"), 'success' => dashboard\primary\success("Successfully deleted all whitelists!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } if (isset($_POST['deleteblack'])) { $resp = misc\blacklist\deleteSingular($_POST['deleteblack'], $_POST['type']); match($resp){ 'invalid' => dashboard\primary\error("Invalid blacklist type!"), 'failure' => dashboard\primary\error("Failed to delete blacklist!"), 'success' => dashboard\primary\success("Successfully deleted blacklist!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } if (isset($_POST["selected"]) && isset($_POST["action"])) { if ($_POST["action"] == "delete") { $data = json_decode($_POST["selected"], true); $array = array_map('urldecode', $data); foreach ($array as $item) { $decoded = json_decode($item, true); $resp = misc\blacklist\deleteSingular($decoded['value'], $decoded['type']); match($resp){ 'invalid' => dashboard\primary\error("Invalid blacklist type!"), 'failure' => dashboard\primary\error("Failed to delete blacklist!"), 'success' => dashboard\primary\success("Successfully deleted blacklist!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } }else { dashboard\primary\error("Unhandled Error! Contact us if you need help - Action:BLPxDB"); } } ?>

Blacklists

Block access from certain IPs/HWIDs Learn More.



Selection Blacklist Data Blacklist Type Actions

Dropdown actions in RED do not show a confirmation! Dropdown actions in BLUE will show a confirmation!