Sveiki,noreciau sulaukti jusu pagalbos,reikia Radio paneles kad keistusi Dj nuotrauka. pvz kaip groja Autodj rodytu autoDj nuotrauka,o kaip butu eteryje zmogus pvz Dj Sta tai rodytu Dj Sta nuotrauka manau supratote.
va turiu siokę tokia panele ji rodo tada tik kaip pakeity nuotraukos nuoroda
openside("Ign-Fm");
?>
<?
//Configuration:
$server2 = "Ip"; //IP des Shoutcast Servers
$server2port = "Portas"; //Port des Shoutcast Server - Bsp.: 8000
$server2pass = "Pass"; //Passwort des Shoutcast Servers
$dateix = fsockopen("$server2", $server2port, &$errno, &$errstr);
if( !$dateix )
{
echo "<font face='Verdana' size='2' color='black'><b>Radija Išjunkta<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")
{
//OnAir? Dann das hier:
echo "<center><img src='/komanda/djsta.jpg' border='1' alt=''/></a><br/></center> </a>";
//Welcher Moderator?
//Playlist vorhanden?
if ($pl2 =="")
{
echo "";
}
else
{
echo "<a href=\"";
echo "$pl2";
echo "\" target=\"_blank\"></a>";
}
//Was wird gespielt?
echo "<font face='Verdana' size='2'><center><b>Dabar eteryje groja:</b></center><br><center>
<marquee Behavior='scroll' Direction='left' ScrollDelay='100' width='100%' onmouseover='this.stop()' onmouseout='this.start()'>
<span>$song2title </span>
</marquee></center></font><br>";
echo "<font face='Verdana' size='2'><b><center>Klausytojų:</b> $server2lauscher</center><br><center>
Klausytis Per Winamp Player<br/>
<a target='_blank'href='http://shoutcast.static.lt:7030/listen.pls'><img src='http://ign-fm.geras.in/images/winamp.png' border='0' title='IGN-FM Radijas' alt='M-FM Radijas'></a></center>";
?>
<br><center>
Klausytis Per Online Player<br/>
<a target='_blank'href='http://ign.listen2myradio.com/'><img src='http://ign-fm.geras.in/images/online.png' border='0' title='IGN-FM Radijas' alt='M-FM Radijas'></a></center>
<?
}
//Offair? Dann hier das:
else
{
echo "<font face='Verdana' size='2' color='grey'><b></b></font>";
}
?>
<?
closeside();
|