Le BMS monitoring en chiffre ...
Generate Report
Nombre de variables
query($sql);
if ($result->num_rows > 0) {
$row = $result->fetch_assoc();
echo $row["Nbre"];
$CptALL = $row["Nbre"];
}
?>
Nombre de d'envoies de mail configurés
query($sql);
if ($result->num_rows > 0) {
$row = $result->fetch_assoc();
echo $row["Nbre"];
}
?>
Historiques d'alarme depuis Novembre 2019
query($sql);
if ($result->num_rows > 0) {
$row = $result->fetch_assoc();
echo $row["Nbre"];
}
?>
Equipement communicants
query($sql);
if ($result->num_rows > 0) {
$row = $result->fetch_assoc();
echo $row["Nbre"];
}
?>
Projects
query($sql2);
if ($result2->num_rows > 0)
{
// output data of each row
$row2 = $result2->fetch_assoc();
$Pcent = round(($row2["cpt"] * 100)/ $CptALL,2);
}
?>
query($sql2);
if ($result2->num_rows > 0)
{
// output data of each row
$row2 = $result2->fetch_assoc();
$Pcent = round(($row2["cpt"] * 100)/ $CptALL,2);
}
?>
query($sql2);
if ($result2->num_rows > 0)
{
// output data of each row
$row2 = $result2->fetch_assoc();
$Pcent = round(($row2["cpt"] * 100)/ $CptALL,2);
}
?>
query($sql2);
if ($result2->num_rows > 0)
{
// output data of each row
$row2 = $result2->fetch_assoc();
$Pcent = round(($row2["cpt"] * 100)/ $CptALL,2);
}
?>
query($sql2);
if ($result2->num_rows > 0)
{
// output data of each row
$row2 = $result2->fetch_assoc();
$Pcent = round(($row2["cpt"] * 100)/ $CptALL,2);
}
?>