Changeset 19642 for trunk/www


Ignore:
Timestamp:
09/15/19 14:51:50 (5 years ago)
Author:
Daniela Dorner
Message:
added total number of alerts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/flare_alerts/sent.php

    r19641 r19642  
    111111
    112112
    113     echo "<h2>Alert(s) from ".$start." to ".$stop.": </h2>";
    114113    if($_SERVER["HTTPS"] != "on")
    115114    {
     
    118117    }
    119118
    120     // table with alert from table FlareAlerts.FlareTriggers
    121     echo "<table border='1' style='border-collapse:collapse'>\n";
    122     $first_row = 0;
    123     $colnames = "";
    124 
    125119
    126120    $query="SELECT fSourceName AS 'Source', fSentTime AS 'Sent', CONCAT(fRecepient, ' [', fRecepientKey, ']') AS 'To [key]', fComment AS 'Comment' ";
     
    133127
    134128    $result = $db->query($query)->fetchAll(PDO::FETCH_ASSOC);
     129    echo "<h2>Found ".sizeOf($result)." Alert(s) from ".$start." to ".$stop.": </h2>";
     130    // table with alerts
     131    echo "<table border='1' style='border-collapse:collapse'>\n";
     132    $first_row = 0;
     133    $colnames = "";
    135134    foreach($result as $row)
    136135    {
Note: See TracChangeset for help on using the changeset viewer.