Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : blockip_html.php
<?php
require_once('../includes/auth.php');

$stats = new STATS();
$stats->parse_all();
$blocked_count = count($stats->blocked_ip);

$help_key = 'antiddos_blocked_ip';
$dhelp_item = DATTR_HELP::GetInstance()->GetItem($help_key);
$help = '&nbsp;&nbsp;&nbsp;&nbsp' . $dhelp_item->render($help_key);

echo GUI::header();

?>
<table class="xtbl" width="100%" border="0" cellpadding="4" cellspacing="1">
<tr height="15"><td class="xtbl_title">Current Blocked IP List (Total <?php echo $blocked_count . ')' . $help; ?> </tr>

<tr class="xtbl_value"><td>

<?php
	echo join(', ', $stats->blocked_ip);
?>			

</td></tr>
</table>

<?php

echo GUI::footer();
© 2025 XylotrechusZ