mirror of
https://github.com/ThunixdotNet/www.git
synced 2026-01-24 07:10:18 +00:00
Add headers
This commit is contained in:
@@ -33,6 +33,11 @@ $f = fopen("./report", "r");
|
|||||||
|
|
||||||
echo "Last update: " . date ("H:i", filemtime('./report'))."<p>\n";
|
echo "Last update: " . date ("H:i", filemtime('./report'))."<p>\n";
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
|
echo " <tr>
|
||||||
|
<th>Host</th>
|
||||||
|
<th>Check</th>
|
||||||
|
<th>Status</th>
|
||||||
|
</tr>";
|
||||||
while (($line = fgetcsv($f)) !== false) {
|
while (($line = fgetcsv($f)) !== false) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
if ($hosts == "failed" ) {
|
if ($hosts == "failed" ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user