Home
MacRadio
Podcast
Radio internetowe
Radio publiczne
RSS
Telewizja
Shoutbox
MacPortal
MacPortal
Radio, Telewizja, Wiadomości
RSS Feed Widget
Published on
November 9th, 2015
MacRadio
$nag = "Radio"; $text = ''; $hosty = array("88.198.100.43"); // tutaj daj IP servera $porty = array("9988"); // a tutaj port $l = 0; while ($l < count($hosty)) { $ktory = $l + 1; // Connect to server $fp1 = @fsockopen($hosty[$l], $porty[$l], &$errno, &$errstr, 10); if (!$fp1) { $text .= "
Server $ktory
- Wyłączony
"; } else { // Get data from server fputs($fp1, "GET /7 HTTP/1.1\nUser-Agent:Mozilla\n\n"); // exit if connection broken for($i = 0; $i < 1; $i++) { if (feof($fp1)) break; $fp_data1 = fread($fp1, 31337); usleep(500000); } // Strip useless junk from source data $fp_data1 = ereg_replace("^.*
", "", $fp_data1); $fp_data1 = ereg_replace("
.*", "", $fp_data1); // Place values from source into variable names list($current1, $status1, $peak1, $max1, $reported1, $bit1) = explode(",", $fp_data1, 7); $z2 = $current1; $rekord2 = $peak1; $pojemnosc2 = $max1; if ($status1 == "1") { $text .= "
Serwer WHMSonic
$z2 / $max1 osób.
(jakość $bit1 kbps)
"; $text .= "
Rekord słuchaczy:
$rekord2
"; } else { $text .= "
Serwer WHMSonic
- Wyłączony
"; $z2 = 0; $rekord2 = 0; $max1 = 0; } } $text .= "
"; $l++; } $text = "
" . $text . "
"; print $text; ?>
Przetłumacz
Kalendarz
Strony medialne
2025 -
MacPortal
Cardinal Theme by
Cagintranet
Powered by GetSimple