-
Notifications
You must be signed in to change notification settings - Fork 0
/
foot.php
executable file
·41 lines (30 loc) · 1.04 KB
/
foot.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/*
$fTbl = new Table(array("", ""));
$fRow = $fTbl->createRow();
$cntr = new Counter();
$fRow->setAttribute(0, $cntr);
$fTbl->addRow($fRow);
$fTbl->setWidth(940);
$fTbl->show();
*/
// $t = new Text("Arduino URL: ".$_SESSION['config']->PUBLICVARS['arduino_url'], 2, false, true, false);
$versionInfo = "Status-Info";
$t = new Link("http://status.smarthomeyourself.de", $versionInfo, false, "status");
$l = new Link("/?run=logView", "Logs", false);
$versionInfo = "Version: " .file_get_contents('version.txt');;
$lVersion = new Link("/versionHistory.txt", $versionInfo, false, "versionHist");
$fTbl = new Table(array("", "", ""));
$fTbl->setAlignments(array("left","left","right"));
$fTbl->setColSizes(array("100","100"));
$fTbl->setWidth($bannerWidth+15);
$fRow = $fTbl->createRow();
$fRow->setAttribute(0,$t);
$fRow->setAttribute(1,$l);
$fRow->setAttribute(2,$lVersion);
$fTbl->addRow($fRow);
$fTbl->show();
echo "</body>
</html>
";
?>