Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panelės klaida [Skubiai]

Parašė somee32· 2011 Bal. 3 16:04:00
#1

Sveiki, taigi turiu radiją, atsisiunčiau radijo panelę, ir neina, nu veikia, bet error'ų labai daug, va ji:


openside("xxx.Too.Lt Radijas");
 
//konfiguravimas
$scdef = "xxx.Too.Lt Radijas"; // serverio paw.
$scip = "xx.xx.x.84"; // ip arba URL (tik be jokiu <a href='html://)' target='_blank'><span style='color:005C5B'>html://)</span></a>
$scport = "8000"; // Portas serverio
$scpass = "xxxxxfgw"; // Paswordas
$maxusers = "100"; //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 xxx.Too.Lt Radijas</center></b>
<center><br><a href="http://xx.xx.x.84:8000/listen.pls" target="_blank"><img src="http://www.krush925.net/images/listen_winamp.jpg"></a> <a href="http://xx.xx.x.84:8000/listen.m3u" target="_blank"><img src="http://www.krush925.net/images/listen_mediaplayer.jpg"></a></center>
</html>
<?
closeside();
 


ir errorai:


Notice: Undefined variable: scsuccs in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 17
 
Notice: Undefined variable: page in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 20
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 28
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 30
 
Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 28
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 30
 
Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 28
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 30
 
Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 28
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 30
 
Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 31
 
Notice: Undefined offset: 4 in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 27
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 39
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 40
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 45
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 46
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 47
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 48
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 50
 
Deprecated: Function ereg_replace() is deprecated in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 51
 
Notice: Undefined offset: 11 in /usr/home/www1/ftp/starfm/administration/panel_editor.php(128) : eval()'d code on line 43


Pažiūrėkite, kas galite.. Ačiū

Redagavo somee32· 2011 Bal. 3 16:04:50

Parašė Žmogus· 2011 Bal. 3 18:04:59
#2

Naudok kitą panelę