Modified Dashboards for YSF, P25, and NXDN Reflector monitoring.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.8 KiB

  1. <?php
  2. $time = microtime();
  3. $time = explode(' ', $time);
  4. $time = $time[1] + $time[0];
  5. $start = $time;
  6. header("Cache-Control: no-cache, must-revalidate");
  7. header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
  8. // do not touch this includes!!! Never ever!!!
  9. include "config/config.php";
  10. include "include/tools.php";
  11. include "include/functions.php";
  12. include "include/init.php";
  13. include "version.php";
  14. ?>
  15. <!doctype html>
  16. <html lang="en">
  17. <head>
  18. <meta charset="utf-8">
  19. <!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
  20. -->
  21. <meta name="viewport" content="width=device-width, initial-scale=0.6,maximum-scale=1, user-scalable=yes">
  22. <meta http-equiv="refresh" content="<?php echo REFRESHAFTER?>">
  23. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script>
  24. <!-- Das neueste kompilierte und minimierte CSS -->
  25. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
  26. <!-- Optionales Theme -->
  27. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css">
  28. <!-- Das neueste kompilierte und minimierte JavaScript -->
  29. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  30. <!-- Datatables -->
  31. <link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css">
  32. <script type="text/javascript" src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
  33. <style>
  34. h4 {
  35. display: inline
  36. }
  37. body {
  38. padding: 10px;
  39. }
  40. </style>
  41. <title>[P25] 707 RuralMN Dashboard</title>
  42. </head>
  43. <body>
  44. <div class="page-header" style="position:relative;">
  45. <h1><center>707 RuralMN P25 Reflector</center></h1>
  46. </div>
  47. <?php
  48. checkSetup();
  49. // Here you can feel free to disable info-sections by commenting out with // before include
  50. include "include/txinfo.php";
  51. //include "include/sysinfo.php";
  52. //include "include/disk.php";
  53. //include "include/gateways.php";
  54. include "include/lh.php";
  55. include "include/allheard.php";
  56. include "include/gateways.php";
  57. ?>
  58. <div class="panel panel-info">
  59. <?php
  60. $lastReload = new DateTime();
  61. $lastReload->setTimezone(new DateTimeZone(TIMEZONE));
  62. echo "P25Reflector Dashboard v".VERSION." | Last Reload ".$lastReload->format('Y-m-d, H:i:s')." (".TIMEZONE.")";
  63. $time = microtime();
  64. $time = explode(' ', $time);
  65. $time = $time[1] + $time[0];
  66. $finish = $time;
  67. $total_time = round(($finish - $start), 4);
  68. echo '<!--Page generated in '.$total_time.' seconds.-->';
  69. ?> | Based on <a href="https://github.com/dg9vh/YSFReflector-Dashboard" target="_blank">DG9VH YSFReflector-Dashboard</a> | <a href="https://git.kd0ioe.com/alynch/ReflectorDashboard">Source</a>
  70. </div>
  71. </body>
  72. </html>