Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikia tokios paneles

Parašė Soo-2· 2008 Lap. 16 15:11:44
#1

Sveiki.. gal kas turite tokia radio panele..? vis kiek atsisiunciau tai man neveikia.. :|


Parašė Jupiter· 2008 Lap. 16 15:11:22
#2

Reikia 100lt.

Parašė Ginciuss· 2008 Lap. 16 15:11:57
#3

Turiu. Parašyk Pm. numesiu.

Parašė Soo-2· 2008 Lap. 16 16:11:28
#4

va ka man rodo kai online buna

 klausytoju: HTTP/1.0 200 OK Content-Length: %d Content-Type: text/xml  Any Address  56  1  9  Alternative  0  9000  20  MP3 audio  jetCast MP3_OGG_WMA Streaming (Version 2.00)  SINGLE_SOURCE  www.snox.ten.lt  Dangerous  www.snox.ten.lt  9001  DJ-KentazFm  10  jetCast Server V2.00 ( MP3 OGG WMA ) 0.101 MB 0.075 MB www.snox.ten.lt 1226844618
HTTP/1.0 200 OK Content-Length: %d Content-Type: text/xml <?xml version= Any Address 56 1 9 Alternative 0 9000 20 MP3 audio jetCast MP3_OGG_WMA Streaming (Version 2.00) SINGLE_SOURCE www.snox.ten.lt Dangerous www.snox.ten.lt 9001 DJ-KentazFm 10 jetCast Server V2.00 ( MP3 OGG WMA ) 0.101 MB 0.075 MB www.snox.ten.lt 1226844618 '>



Parašė Fanio· 2008 Lap. 16 16:11:59
#5

http://phpfusion.lt/infusions/mo...mod_id=231

Eik ir siuskis :)

Parašė Soo-2· 2008 Lap. 16 21:11:01
#6

kaip su JetCast pasijunk ta eterio info :(:(:(
Gal kas turit koda tik kur parodo serveris on ar off.. ir kiek klauso :s

Redagavo Soo-2· 2008 Lap. 16 21:11:39

Parašė blist· 2008 Lap. 16 22:11:10
#7

modu saite ieskok

Parašė bruzgis· 2008 Lap. 16 22:11:30
#8

i zaliuku gupe sita

Parašė Soo-2· 2008 Lap. 17 21:11:41
#9

gal kas gali padet padaryt sita koda kad rodytu TIK ar on ar off radio servas.. :| lb reikia

openside("RADIO INFO");

//konfiguravimas
$scdef = "Radio"; // serverio paw.
$scip = "82.135.249.18"; // ip arba URL (tik be jokiu html://)
$scport = "11111"; // Portas serverio
$scpass = "xxxxxxxx"; // Paswordas
$maxusers = "112"; //Kiek vienu sykiu klausosi zmoniu
//Konfiguracijos pabaiga


$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 30);
if(!$scfp) {
$scsuccs=1;
echo''.$scdef.' Neveikia';
}
if($scsuccs!=1){
fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n");
while(!feof($scfp)) {
$page .= fgets($scfp, 1000);
}

//tvarkome xml

$loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS");
$y=0;
while($loop[$y]!=''){
$pageed = ereg_replace(".*<$loop[$y]>", "", $page);
$scphp = strtolower($loop[$y]);
$$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed);
if($loop[$y]==SERVERGENRE || $loop[$y]==SERVERTITLE || $loop[$y]==SONGTITLE || $loop[$y]==SERVERTITLE)
$$scphp = urldecode($$scphp);

$y++;
}
//pabaiga xml sudarymas


$pageed = ereg_replace(".*<SONGHISTORY>", "", $page);
$pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed);
$songatime = explode("<SONG>", $pageed);
$r=1;
while($songatime[$r]!=""){
$t=$r-1;
$playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]);
$playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]);
$song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]);
$song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]);
$song[$t] = urldecode($song[$t]);
$dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page);
$dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed);
$r++;
}


fclose($scfp);
}

//ishvedam i ekrana
if($streamstatus == "1"){
echo'
<html>
<p align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="404">
<tr>
<td width="109" align="right">
<b>DJ:</b></td>
<td width="13" align="right">
</td>
<td width="282" nowrap>
'.$servertitle.'</td>
</tr>
<tr>
<td width="109" align="right">
<b>Klauso:</b></td>
<td width="13" align="right">
</td>
<td width="282" nowrap>
'.$currentlisteners.' / '.$maxusers.'</td>
</tr>
<tr>
<td width="109" align="right">
<b>
Grojo:</b></td>
<td width="13" align="right">
</td>
<td width="282" nowrap>
'.$song[0].'</td>
</tr>
<tr>
<td width="109" align="right"> </td>
<td width="13" align="right"> </td>
<td width="282" nowrap> </td>
</tr>

</table>
</body>

</html>
';
} else {
echo'Serveris neveikia';
}
?>
<html>
<br><br>
<b><center>Klausytis</center></b>
<center><br><a href="http://82.135.249.18:11111/listen.pls" target="_blank"><img src="http://ecoeco2.freehostia.com/w.GIF"></a> <a href="http://82.135.249.18:11111/listen.m3u" target="_blank"><img src="http://ecoeco2.freehostia.com/m.gif"></a></center>
</html>
<?
closeside();



Redagavo Soo-2· 2008 Lap. 17 21:11:57