UpdateAlertCache($db); } $criteria_clauses = ProcessCriteria(); if (!$printing_ag) { /* ***** Generate and print the criteria in human readable form */ echo '<TABLE WIDTH="100%"> <TR> <TD WIDTH="60%" VALIGN=TOP>'; if (!array_key_exists("minimal_view", $_GET)) { PrintCriteria($caller); } echo '</TD></tr><tr> <TD VALIGN=TOP>'; if (!array_key_exists("minimal_view", $_GET)) { PrintFramedBoxHeader(gettext("Summary Statistics"), "#669999", "#FFFFFF"); PrintGeneralStats($db, 1, $show_summary_stats, "{$join_sql} ", "{$where_sql} {$criteria_sql}"); } PrintFramedBoxFooter(); echo ' </TD> </TR> </TABLE> <!-- END HEADER TABLE --> </div> </TD> </TR> </TABLE>'; } $criteria = $criteria_clauses[0] . " " . $criteria_clauses[1]; $from = " FROM acid_event " . $criteria_clauses[0]; $where = " WHERE " . $criteria_clauses[1]; // use accumulate tables only with timestamp criteria
?> </a><br /><br /> <?php DBLink(); ?> </td> </tr> </table> <hr /> <table style='border:0' width='100%'> <tr> <td width='30%' valign='top'> <?php /* mstone 20050309 avoid count(*) if requested */ PrintGeneralStats($db, 0, $main_page_detail, "", "", $avoid_counts != 1); /* mstone 20050309 make show_stats even leaner! */ if ($main_page_detail == 1) { echo ' </td> <td width="70%" valign="top"> <strong>' . gettext("Traffic Profile by Protocol") . '</strong>'; PrintProtocolProfileGraphs($db); } ?> </td> </tr> </table> <p> <hr />