diff --git a/root/opt/mailstats/html/showSummaryLogs.php b/root/opt/mailstats/html/showSummaryLogs.php index 237cbc8..b55720d 100644 --- a/root/opt/mailstats/html/showSummaryLogs.php +++ b/root/opt/mailstats/html/showSummaryLogs.php @@ -31,6 +31,7 @@ if ($hour == 99){ } $stmt->execute(); $result = $stmt->get_result(); +$result_count = $result->num_rows; function generateLogDataTable($logData) { $data = json_decode($logData, true); @@ -73,7 +74,7 @@ function generateLogDataTable($logData) { $keys = array_keys($mergedData); $values = array_values($mergedData); - $output = '
Totals | Percent | Hour | -Cell | -
+
+ |
+