switch ($label) { case "Home": include 'overview.php'; DisplayOverview(); break; case "Graphs": include "overview.php"; switch ($_SESSION['sub_tab']) { case "0": DisplayGraphs("flows"); break; case "1": DisplayGraphs("packets"); break; case "2": DisplayGraphs("traffic"); break; } break; case "Details": DisplayDetails(); DisplayProcessing(); break; /*case "Alerts": DisplayAlerts(); break; case "Stats": DisplayAdminPage(); break; case "Plugins":
<body> <div class="page"> <?php $tab = 'Test Result'; $nosubheader = true; $headerType = 'video'; $filmstrip = $_REQUEST['tests']; include 'header.inc'; if ($error) { echo "<h1>{$error}</h1>"; } elseif ($ready) { if (isset($location) && strlen($location)) { echo "<div id=\"location\">Tested From: {$location}</div>"; } ScreenShotTable(); DisplayGraphs(); } else { DisplayStatus(); } ?> <?php include 'footer.inc'; ?> </div> <script type="text/javascript"> function ShowAdvanced() { $("#advanced").modal({opacity:80}); }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta HTTP-EQUIV="Cache-Control" content="no-cache"> <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> <link rel="stylesheet" type="text/css" href="/usr/local/apache/qb/nfsen/css/nfsen.css"> <link rel="stylesheet" type="text/css" href="/usr/local/apache/qb/nfsen/css/profileadmin.css"> <script language="Javascript" src="/usr/local/apache/qb/nfsen/js/global.js" type="text/javascript"> </script> <script language="Javascript" src="/usr/local/apache/qb/nfsen/js/menu.js" type="text/javascript"> </script> <?php session_start(); include "/usr/local/apache/qb/nfsen/conf.php"; include "/usr/local/apache/qb/nfsen/nfsenutil.php"; include "/usr/local/apache/qb/nfsen/navigator.php"; require "/usr/local/apache/qb/nfsen/overview.php"; DisplayGraphs("flows"); ?> <div id="hintbox"></div> </body> </html>