root . 'lib/utils.inc.php'; $util = new Utils; if ($util->isLoggedIn()) { $util->setHeading('WB List and Quarantine Administration'); echo $util->getHeader(); echo $util->getHeading(); $list = $util->makeRestCall('/show'); if ($list) { $out = var_export($list, true); } else { $out = '

Connection to REST service failed

'; } echo $out; echo $util->getFooter(); } else { header('Location: auth.php'); } ?>