MMDVMHost-Dashboard/index.php

60 lines
2.1 KiB
PHP
Raw Normal View History

2016-04-30 15:38:12 +02:00
<?php
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$start = $time;
2016-05-10 21:50:33 +02:00
// do not touch this includes!!! Never ever!!!
2016-04-30 15:38:12 +02:00
include "config/config.php";
2016-04-30 19:33:41 +02:00
include "include/tools.php";
2016-04-30 15:38:12 +02:00
include "include/functions.php";
?>
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="<?php echo REFRESHAFTER?>">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<!-- Das neueste kompilierte und minimierte CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Optionales Theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<!-- Das neueste kompilierte und minimierte JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
2016-05-09 22:39:47 +02:00
<title><?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH</title>
2016-04-30 15:38:12 +02:00
</head>
<body>
<div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH for <?php
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater";
} else {
echo "Hotspot";
}
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX - Version: <?php echo getMMDVMHostVersion() ?></h4>
2016-04-30 15:38:12 +02:00
</div>
<?php
2016-05-10 21:50:33 +02:00
// Here you can feel free to disable info-sections by commenting out with // before include
2016-04-30 19:33:41 +02:00
include "include/sysinfo.php";
2016-05-02 10:19:08 +02:00
include "include/repeaterinfo.php";
2016-05-09 22:39:47 +02:00
include "include/modes.php";
2016-04-30 15:38:12 +02:00
include "include/lh.php";
2016-05-11 23:16:05 +02:00
include "include/localtx.php";
2016-04-30 15:38:12 +02:00
?>
<div class="panel panel-info">
<?php
$datum = date("Y-m-d");
$uhrzeit = date("H:i:s");
echo "Last Update $datum, $uhrzeit";
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
echo '<!--Page generated in '.$total_time.' seconds.-->';
2016-04-30 15:38:12 +02:00
?>
</div>
</body>
</html>