if (empty($sup) && $num != "all") { $sup = $inf + $num; } ?> <?php $db = new ossim_db(); $conn = $db->connect(); if ($show_anom != "1") { $count = Host_mac::get_list_count($conn); if ($num == "all") { $sup = $count; $inf = 0; } $host_mac_list = Host_mac::get_list($conn, $inf, $sup); } else { $host_mac_list = Host_mac::get_anom_list($conn, "", "all"); $count = count($host_mac_list); $sup = $count; $inf = 0; } ?> <?php if ($show_anom != "1") { ?> <form method="GET" action="mac.php"> <?php echo gettext("Show"); ?>