diff --git a/dashboard/pgs/peers.php b/dashboard/pgs/peers.php index 3b8ea77..960aba2 100644 --- a/dashboard/pgs/peers.php +++ b/dashboard/pgs/peers.php @@ -1,3 +1,20 @@ +GetElement($INPUT, "reflectorlist"); +$Reflectors = $XML->GetAllElements($Reflectorlist, "reflector"); + +?> @@ -25,8 +42,16 @@ for ($i=0;$i<$Reflector->PeerCount();$i++) { echo ' - - + '; + $Name = $Reflector->Peers[$i]->GetCallSign(); + for ($j=1;$jGetElement($Reflectors[$j], "name")) { + $URL = $XML->GetElement($Reflectors[$j], "dashboardurl"); + break; + } + } + echo ' +
#
'.($i+1).''.$Reflector->Peers[$i]->GetCallSign().''.($i+1).''.$Name.' '.date("d.m.Y H:i", $Reflector->Peers[$i]->GetLastHeardTime()).' '.FormatSeconds(time()-$Reflector->Peers[$i]->GetConnectTime()).' s '.$Reflector->Peers[$i]->GetProtocol().'