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) { global $user; $h_bans = ""; foreach($bans as $ban) { $end_human = date('Y-m-d', $ban['end_timestamp']); $h_bans .= "
IP | Reason | By | Until | Action | $h_bans