query("delete from {chatban} where banid = ?", array($banId)); header("Location: $webimroot/operator/blocked.php"); exit; } } $blockedList = $db->query( "select banid, dtmtill as till,address,comment from {chatban}", NULL, array('return_rows' => Database::RETURN_ONE_ROW) ); setup_pagination($blockedList); prepare_menu($operator); start_html_output(); require('../view/blocked_visitors.php'); exit; ?>