mirror of https://github.com/ShaYmez/xlxd.git
parent
16d0961e6c
commit
db5976abe0
|
@ -1,3 +1,7 @@
|
||||||
|
xlx db v2.1.2
|
||||||
|
|
||||||
|
- "index.php" bugfix to correct an error if XLX name is equal to XLX000
|
||||||
|
|
||||||
xlx db v2.1.1
|
xlx db v2.1.1
|
||||||
|
|
||||||
- "peers.php" added hyperlink to the peers ip address
|
- "peers.php" added hyperlink to the peers ip address
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue