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 = ''; + $output = '
'; // Divide keys and values into sets of 6 $chunks = array_chunk($keys, 6); @@ -124,6 +125,7 @@ function generateLogDataTable($logData) {
"

Summary Logs for Date:

+

Found records.

diff --git a/root/opt/mailstats/templates/mailstats.html.pt b/root/opt/mailstats/templates/mailstats.html.pt index adf14e9..9192df7 100644 --- a/root/opt/mailstats/templates/mailstats.html.pt +++ b/root/opt/mailstats/templates/mailstats.html.pt @@ -59,8 +59,15 @@ - - + +
Totals Percent HourCell
+ + + Cell + + + Cell +