the banned IP * 'reason' => why the IP was banned * 'date' => when the ban started * 'end' => when the ban will end * ) */ public function display_bans($page, $bans) { $h_bans = ""; foreach($bans as $ban) { $h_bans .= " {$ban['ip']} {$ban['reason']} {$ban['end']}
"; } $html = " $h_bans
IPReasonUntilAction
"; $page->add_block(new Block("Edit IP Bans", $html)); } } ?>