PHP 8.2.30
Preview: blockip_html.php Size: 648 B
//proc/thread-self/root/proc/thread-self/root/usr/local/lsws/admin/html/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();

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
648 B lrw-r--r-- 2026-02-26 14:15:13
Edit Download
7.04 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
3.21 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
5.30 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
2.10 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
11.44 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
6.89 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
634 B lrw-r--r-- 2026-02-26 14:15:13
Edit Download
2.07 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
3.42 KB lrw-r--r-- 2026-02-26 14:15:13
Edit Download
525 B lrw-r--r-- 2026-02-26 14:15:13
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).