HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/local/lsws/admin/html.6.2.2/service/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();