\n"; } print "$station_name \n"; ?> ERROR [Connection refused / Server down]"; $error[$i] = "1"; } else { fputs($fp, "GET /7.html HTTP/1.0\r\nUser-Agent: Mozilla\r\n\r\n"); while (!feof($fp)) { $info = fgets($fp); } $info = str_replace('', "", $info); $info = str_replace('', "", $info); $stats = explode(',', $info); if (empty($stats[1]) ) { $listeners[$i] = "0"; $msg[$i] = "Mukodo [Szerveren nincs adas]"; $error[$i] = "1"; } else { if ($stats[1] == "1") { $song[$i] = $stats[6]; $listeners[$i] = $stats[0]; $max[$i] = $stats[3]; $bitrate[$i] = $stats[5]; $peak[$i] = $stats[2]; if ($stats[0] == $max[$i]) { $msg[$i] .= ""; } $msg[$i] .= "Server is up at $bitrate[$i] kbps with $listeners[$i] of $max[$i] listeners"; if ($stats[0] == $max[$i]) { $msg[$i] .= ""; } $msg[$i] .= "\n

Listener peak: $peak[$i]"; } else { $listeners[$i] = "0"; $msg[$i] = " ERROR [Cannot get info from server]"; $error[$i] = "1"; } } } fclose($fp); $i++; } $total_listeners = array_sum($listeners) ; print "

\n
\n

A Gyergyoi Szekely Radiot $total_listeners Szemely hallgassa

\n
\n
\n
\n
\n

Jelenleg => $song[1]

\n
\n
\n
\n"; $i = "1"; while($i<=$servers) { print "
\n"; if ($max[$i] > 0) { $percentage = round(($listeners[$i] / $max[$i] * 250)); $timesby = (3000 / $max[$i]); $barlength = round(($listeners[$i] * "$timesby")); } if ($error[$i] != "1") { ?>
" target="_blank">Server    bar.gif" width="" height="12" alt="A szerver % kapacitassal rendelkezik">
  0% 50% 100%
" target="_blank">Server     
  0% 70% 100%
Status: $msg[$i]

\n
\n
\n"; $i++; } print "
\n"; $time_difference = "0"; // BST: 1 GMT: 0 $time_difference = ($time_difference * 60 * 60); $time = date("h:ia", time() + $time_difference); $date = date("jS F, Y", time() + 0); print "
\n
\n

www.Szekelyradio.top *** Public *** Domain ***

http://szekely.europeserv.org:8000/mp3 *** LIVE ***

http://live.szekelyradio.top:8000/live/ *** 2 LIVE ***

http://szekelyradio.top:8000/listen.pls *** listen ***

http://szekelyradio.wixsite.com/szekelyradio *** Dj.Robert * Gratis Website ***

\n
\n
\n"; ?>

© Szekelyradio.top 2017

Server Status
"; echo ''; print "Server Status Report\n"; print "\n"; print "Current date : "; system("date +'%m-%d-%Y | Time ---> %T %Z' | col -b",$return); print " Location : www.EuropeSERV.org\n"; print " URL name :www."; print ($_SERVER['SERVER_NAME']); print "\n"; $data = shell_exec('uptime'); $uptime = explode(' up ', $data); $uptime = explode(',', $uptime[1]); $uptime = $uptime[0].', '.$uptime[1]; $uptime = explode(',', $uptime); print ('Server uptime: '.$uptime[0].''); print "\n"; print ('Server Time : '.$uptime[1].''); print "\n"; print ('Server info : '.$data.''); print "\n"; // print "***** UPTIME ***************\n"; // system("uptime | col -b",$return); // print "\n"; ?>