SetFlagFile("./pgs/country.csv"); $Reflector->SetPIDFile($Service['PIDFile']); $Reflector->SetXMLFile($Service['XMLFile']); $Reflector->LoadXML(); if ($CallingHome['Active']) { $CallHomeNow = false; if (!file_exists($CallingHome['HashFile'])) { $Hash = CreateCode(16); $LastSync = 0; $Ressource = @fopen($CallingHome['HashFile'],"w"); if ($Ressource) { @fwrite($Ressource, "'); @fclose($Ressource); @exec("chmod 777 ".$CallingHome['HashFile']); $CallHomeNow = true; } } else { include($CallingHome['HashFile']); if ($LastSync < (time() - $CallingHome['PushDelay'])) { $Ressource = @fopen($CallingHome['HashFile'],"w"); if ($Ressource) { @fwrite($Ressource, "'); @fclose($Ressource); } $CallHomeNow = true; } } if ($CallHomeNow || isset($_GET['callhome'])) { $Reflector->SetCallingHome($CallingHome, $Hash); $Reflector->ReadInterlinkFile(); $Reflector->PrepareInterlinkXML(); $Reflector->PrepareReflectorXML(); $Reflector->CallHome(); } } else { $Hash = ""; } ?> <?php echo $Reflector->GetReflectorName(); ?> Reflector Dashboard var PageRefresh; function ReloadPage() { document.location.href = "./index.php'; if (isset($_GET['show'])) { echo '?show='.$_GET['show']; } echo '"; }'; if (!isset($_GET['show']) || (($_GET['show'] != 'liveircddb') && ($_GET['show'] != 'reflectors') && ($_GET['show'] != 'interlinks'))) { echo ' PageRefresh = setTimeout(ReloadPage, '.$PageOptions['PageRefreshDelay'].');'; } echo ' function SuspendPageRefresh() { clearTimeout(PageRefresh); } '; } ?>
XLX Multiprotocol Gateway Reflector
   GetReflectorName(); ?> vGetVersion(); ?> - Dashboard v  /  Service uptime: GetServiceUptime()); ?>
your private hash in '.$CallingHome['HashFile'].' could not be created, please check your config file and the permissions for the defined folder.
'; } } if (!isset($_GET['show'])) $_GET['show'] = ""; switch ($_GET['show']) { case 'users' : require_once("./pgs/users.php"); break; case 'repeaters' : require_once("./pgs/repeaters.php"); break; case 'liveircddb' : require_once("./pgs/liveircddb.php"); break; case 'peers' : require_once("./pgs/peers.php"); break; case 'reflectors' : require_once("./pgs/reflectors.php"); break; default : require_once("./pgs/users.php"); } ?>