SetFlagFile("./pgs/country.csv"); $Reflector->SetPIDFile($Service['PIDFile']); $Reflector->SetXMLFile($Service['XMLFile']); $Reflector->LoadXML(); if ($CallingHome['Active']) { $CallHomeNow = false; $LastSync = 0; $Hash = ""; if (!file_exists($CallingHome['HashFile'])) { $Ressource = fopen($CallingHome['HashFile'], "w+"); if ($Ressource) { $Hash = CreateCode(16); @fwrite($Ressource, "'); @fflush($Ressource); @fclose($Ressource); @chmod($HashFile, 0777); } } else { require_once($CallingHome['HashFile']); } if (@file_exists($CallingHome['LastCallHomefile'])) { if (@is_readable($CallingHome['LastCallHomefile'])) { $tmp = @file($CallingHome['LastCallHomefile']); if (isset($tmp[0])) { $LastSync = $tmp[0]; } unset($tmp); } } if ($LastSync < (time() - $CallingHome['PushDelay'])) { $CallHomeNow = true; $Ressource = @fopen($CallingHome['LastCallHomefile'], "w+"); if ($Ressource) { @fwrite($Ressource, time()); @fflush($Ressource); @fclose($Ressource); @chmod($HashFile, 0777); } } 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 '; } if (!isset($_GET['show'])) $_GET['show'] = ""; ?>
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.
'; } } 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 'modules' : require_once("./pgs/modules.php"); break; case 'reflectors' : require_once("./pgs/reflectors.php"); break; case 'traffic' : require_once("./pgs/traffic.php"); break; default : require_once("./pgs/users.php"); } ?>