X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/100f34ebf3e5f5c4706bdf044f4bf1ac2cd85ed7..c6e155714d4facf6297b5159057c1483a59609c8:/wblist.php diff --git a/wblist.php b/wblist.php index 1d95424..1f42f94 100644 --- a/wblist.php +++ b/wblist.php @@ -3,18 +3,65 @@ require_once 'config.php'; require_once $CFG->root . 'lib/utils.inc.php'; + function createHeader($data) { + $out = '
$i | "; + foreach ($obj as $value) { + $r .= "$value | "; + } + $r .= '
Connection to REST service failed
'; + } + } else if ($subfunction == 'blacklist') { + } else if ($subfunction == 'whitelist') { + } else { + header('Location: index.php'); + } + } else if($function == 'add') { + } else if($function == 'del') { + } else { + header('Location: index.php'); + } $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 {