Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Darstellung der Statistikwerte in der index.php angepasst.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tronde committed Jan 27, 2016
1 parent 1d72a78 commit 31ccf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function GetVarsDays($days)
$res = explode ("\t", $letzte_zeile);
$stats = implode(",",file("statistic_data.csv"));
$stats_res = explode (",", $stats);
print("<h2>". $res[0]. "<br /> Temperatur: ".$res[2]."&deg;C</h2><br /> Durchschnittliche Temperatur: ".$stats_res[0]."&deg;C<br /> Minimum: ".$stats_res[1]."&deg;C<br /> Maximum: ".$stats_res[2]."&deg;C<br /> <h2>Luftfeuchtigkeit: ".$res[3]."%</h2><br /> Durchschnittliche Luftfeuchtigkeit: ".$stats_res[3]."%<br /> Minimum: ".$stats_res[4]."%<br /> Maximum: ".$stats_res[5]."%<br />");
print("<h2>". $res[0]. "<br /> Temperatur: ".$res[2]."&deg;C</h2><br /> Durchschnittliche Temperatur: ".$stats_res[0]."&deg;C<br /> Minimum: ".$stats_res[2]."&deg;C (".$stats_res[1].")<br /> Maximum: ".$stats_res[4]."&deg;C (".$stats_res[3].")<br /> <h2>Luftfeuchtigkeit: ".$res[3]."%</h2><br /> Durchschnittliche Luftfeuchtigkeit: ".$stats_res[5]."%<br /> Minimum: ".$stats_res[7]."% (".$stats_res[6].")<br /> Maximum: ".$stats_res[9]."% (".$stats_res[8].")<br />");
?>


Expand Down

0 comments on commit 31ccf9a

Please sign in to comment.