ServerTime

This commit is contained in:
JonatanRek 2020-05-02 21:21:52 +02:00
parent c74f93890d
commit 4113296f86
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,8 @@ class Log extends Template
$template->prepare('ramFree', $this->getSystemMemInfo()["MemFree"]);
$template->prepare('ramTotal', $this->getSystemMemInfo()["MemTotal"]);
$template->prepare('diskTotal', disk_total_space("/"));
$template->prepare('serverTime', date('m. d. Y H:i:s - e'));

View File

@ -32,6 +32,8 @@
<progress value="<?php echo explode(" ", $RAMFREE)[0];?>" max="<?php echo explode(" ", $RAMTOTAL)[0];?>"> <?php echo $RAMFREE;?> </progress></br>
<label>DISKTOTAL: <?php echo $DISKTOTAL;?> bytes available</label></br>
<label>SERVER TIME: <?php echo $SERVERTIME;?></label></br>
<form method="post" action="">