Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit su thema le_music1

Parašė weberiz· 2008 Rugp. 17 17:08:46
#3

as mekos paslaugos parasysiu as turiu koda ir man reik su anuo sukunkt kad roditu ta mano koda nu radio info roditu va kodas
openside("J-FM");
header('Refresh: 60');
echo "<center>";
echo "<b>J-FM darbo laikas:</b><br>";
echo "Nuo 12 iki 24 gali buti ir ilgiau<br>";
$server2 = "62.80.252.50";
$server2port = "8002";
$server2pass = "SLAPTAZODIS"; //Passwort des Shoutcast Servers

$dateix = fsockopen("$server2", $server2port, &$errno, &$errstr);
if( !$dateix )
{
echo "<b>Šiuo metu radijas:</b><br><font color='red'><b>Išjunktas</b><font><br>";
fclose($dateix);
}
else
{
fputs($dateix,"GET /admin.cgi?pass=$server2pass&mode=viewxml HTTP/1.0\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT;)\r\n\r\n");
while (!(feof($dateix)))
{
$zeilex .= fgets($dateix, 4096);
}
fclose($dateix);
}
$tmpx = explode("<CURRENTLISTENERS>", $zeilex);
$tmpx = explode("</CURRENTLISTENERS>", $tmpx[1]);
$server2lauscher = $tmpx[0];
$pl2 = " ";
$tmpx = explode("<SERVERGENRE>", $tmpx[1]);
$tmpx = explode("</SERVERGENRE>", $tmpx[1]);
$tmp2x = explode("+", $tmpx[0]);
$nick2 = $tmp2x[0];

if(count($tmp2x) == 2)
$pl2 = $tmp2x[1];

$tmpx = explode("<SERVERTITLE>", $tmpx[1]);
$tmpx = explode("</SERVERTITLE>", $tmpx[1]);
$server2title = $tmpx[0];
$tmpx = explode("<SONGTITLE>", $tmpx[1]);
$tmpx = explode("</SONGTITLE>", $tmpx[1]);
$song2title = $tmpx[0];
$tmpx = explode("<STREAMSTATUS>", $tmpx[1]);
$tmpx = explode("</STREAMSTATUS>", $tmpx[1]);
$stream2status = $tmpx[0];

if ($stream2status == "1")
{
echo "<b>Šiuo metu radijas:</b><br><font color='green'><b>Įjunktas</b></font><br>";
echo "<b>Eteryje:</b><br><blink><font color='green'><b>$nick2</b></font></blink><br>";

//Playlist vorhanden?
if ($pl2 =="")
{
echo "";
}
else
{
echo "<a href=\"";
echo "$pl2";
echo "\" target=\"_blank\"></a>";
}

//Was wird gespielt?
echo "<b>Dabar eteryje groja:</b><br>
<marquee Behavior='scroll' Direction='right' ScrollDelay='100' width='100%' onmouseover='this.stop()' onmouseout='this.start()'>$song2title</marquee><br>";


echo "<b>Klausytojų:</b>$server2lauscher<br>

<a target='_blank' href='http://62.80.252.50:8002/listen.pls'><img src='http://img463.imageshack.us/img463/4828/mediawy9.png' border='0' title='J-FM' alt='J-FM'></a>

<a target='_blank'href='http://62.80.252.50:8002/listen.pls'><img src='http://img463.imageshack.us/img463/2893/winampasok3.png' border='0' title='J-FM' alt='J-FM'></a>";

}
echo "</center>";
closeside();

busiu labai dekingas jei sujungsi ;)

Redagavo bad_user· 2008 Rugp. 18 15:08:46