|
|
|
@ -26,7 +26,7 @@ $Reflector = new xReflector();
|
|
|
|
$Reflector->SetFlagFile("./pgs/country.csv");
|
|
|
|
$Reflector->SetFlagFile("./pgs/country.csv");
|
|
|
|
|
|
|
|
|
|
|
|
$ServiceName = substr($FILECONTENT, strpos($FILECONTENT, "<XLX")+4, 3);
|
|
|
|
$ServiceName = substr($FILECONTENT, strpos($FILECONTENT, "<XLX")+4, 3);
|
|
|
|
if (intval($ServiceName) !== 0) {
|
|
|
|
if (is_numeric($ServiceName)) {
|
|
|
|
$LinkedPeersName = "XLX".$ServiceName." linked peers";
|
|
|
|
$LinkedPeersName = "XLX".$ServiceName." linked peers";
|
|
|
|
$LinkedNodesName = "XLX".$ServiceName." linked nodes";
|
|
|
|
$LinkedNodesName = "XLX".$ServiceName." linked nodes";
|
|
|
|
$LinkedUsersName = "XLX".$ServiceName." heard users";
|
|
|
|
$LinkedUsersName = "XLX".$ServiceName." heard users";
|
|
|
|
@ -80,7 +80,7 @@ for ($i=0;$i<count($tmpPeers);$i++) {
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<div id="top"><img src="./img/header.jpg" alt="XLX Multiprotocol Gateway Reflector" style="margin-top:15px;" />
|
|
|
|
<div id="top"><img src="./img/header.jpg" alt="XLX Multiprotocol Gateway Reflector" style="margin-top:15px;" />
|
|
|
|
<br /> XLX<?php echo $ServiceName; ?> v<?php echo $XML->GetElement($FILECONTENT, "Version"); ?> - Dashboard v2.1.1 / Service uptime: <?php
|
|
|
|
<br /> XLX<?php echo $ServiceName; ?> v<?php echo $XML->GetElement($FILECONTENT, "Version"); ?> - Dashboard v2.1.2 / Service uptime: <?php
|
|
|
|
if (file_exists($PID) && is_readable($PID)) {
|
|
|
|
if (file_exists($PID) && is_readable($PID)) {
|
|
|
|
echo FormatSeconds(time()-filectime($PID));
|
|
|
|
echo FormatSeconds(time()-filectime($PID));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|