<ul> <li><a href="#tabs-1" class="ptab" id="by_severity_tab"><?php echo _("By Severity"); ?> </a></li> <li><a href="#tabs-2" class="ptab" id="by_services_tab"><?php echo _("By Services - Top 10"); ?> </a></li> </ul> <div id="tabs-1" class="tab_box statistics_background"><?php stats_severity_services($type, $value, "severity"); ?> </div> <div id="tabs-2" class="tab_box statistics_background"><?php stats_severity_services($type, $value, "service"); ?> </div> </div> </td> <td style="width:45px;"> </td> <td width="48%"> <div id="atabs" style='width:100%;margin:0 auto;padding:0;height:100%;'> <ul> <li><a href="#tabs-1" class="ptab" id="top_10_hosts_tab"><?php echo _("Top 10 Hosts"); ?> </a></li> <li><a href="#tabs-2" class="ptab" id="top_10_networks_tab"><?php echo _("Top 10 Networks"); ?>
} } // draw the pager again, if viewing all hosts if (!$filteredView && $reportCount > 10) { echo "<p align=center>\n<a href=\"index.php?offset=0" . $url_allres . $url_filter . "\" class=\"pager\"><< " . _("First") . "</a>\n<a href=\"index.php?offset={$previous}" . $url_allres . $url_filter . "\" class=\"pager\">< " . _("Previous") . " </a>"; echo " [ " . ($offset + 1) . " - {$pageEnd} " . _("of") . " {$reportCount} ] "; if ($reportCount > $pageEnd) { echo "<a href=\"index.php?offset={$next}" . $url_allres . $url_filter . "\" class=\"pager\"> " . _("Next") . " ></a>\n <a href=\"index.php?offset={$last}" . $url_allres . $url_filter . "\" class=\"pager\"> " . _("Last") . " >></a>"; } echo "</p>"; } } echo "<center>"; echo "<table cellspacing=\"8\" cellpadding=\"0\" class=\"noborder\" width=\"900\" style=\"background-color:transparent\">"; echo "<tr><td class=\"nobborder\">"; stats_severity_services($type, $value); echo "</td></tr>"; echo "<tr><td class=\"nobborder\" style=\"padding-bottom:10px;\">"; //stats(); stats_networks_hosts($type, $value); echo "</td></tr>"; //echo "<tr><td class=\"nobborder\">"; //status(); //echo "</td></tr>"; echo "<tr><td class=\"nobborder\">"; switch ($disp) { case "delete": delete_results($scantime, $scantype, $reporttype, $key, $sortby, $allres, $fp, $nfp, $op, $output, $wh, $bg); break; default: list_results($type, $value, $sortby, $sortdir);