Na mojej stronie wkleiłem Taki kod:
<table width="470" height="150" align="center" cellspacing="0" cellpadding="0" background="tlo.png"> <tr> <td> <head> </head> <div style="margin-left: 250px; margin-top: -50px; position: absolute;"> </div> <div style="font-family: Arial; color: #000; font-size: 14px; margin-left: 320px; margin-top: -50px; position: absolute;"> </div> <div style="font-family: Arial; color: #000; font-size: 14px; margin-left: 312px; margin-top: 3px; position: absolute;"> </div> <div style="font-family: Arial; color: #000; font-size: 14px; margin-left: 372px; margin-top: 50px; position: absolute;"> </div> </td> </tr> </table>
W Odpowiednim Miejscu.
I Kod:
$sc[ip] = "s1.superhost24.pl"; //Ip serwera shoutcast $sc[port] = "9000"; //Port serwera shoutcast $sc[czas] = "40"; //Czas odświeżania statywu // Tutaj nic nie ruszać! $sc[table1] = "<b>[dj][status]</b>"; $sc[table2] = "<b>[audycja][status]</b>"; $sc[table3] = "<b>[nuta][status]</b>"; $sc[table4] = "<b>[ile]/22</b>"; { # echo $in; // [status] $m[0]="Server is currently"; $m[1]=""; if( $tmp[1][0] == "up" ) $dat[status] = ""; elseif( $tmp[1][0] == "down" ) $dat[status] = "Aktualnie nie nadajemy"; else $dat[status] = "Uzupełnij poprawnie SHOUTcast"; if($dat[status]=="") { // [audycja] $m[0]="Stream Title:"; $m[1]="Content Type:"; if( $tmp[1] ) $dat[audycja] = $tmp[1]; else $dat[audycja] = "Uzupełnij poprawnie SHOUTcast"; // [dj] $m[0]="Stream Genre:"; $m[1]="Stream URL:"; if( $tmp[1] ) $dat[dj] = $tmp[1]; else $dat[dj] = "Uzupełnij poprawnie SHOUTcast"; // [statyw] $m[0]="Stream AIM:"; $m[1]="Stream IRC:"; if( $tmp[1] ) $dat[statyw] = $tmp[1]; else $dat[statyw] = "pilot"; // [gg] $m[0]="Stream ICQ:"; $m[1]="Stream AIM:"; if( $tmp[1] ) $dat[gg] = $tmp[1]; else $dat[gg] = "Uzupełnij poprawnie SHOUTcast"; // [ile] $m[0]="kbps with"; $m[1]="listeners"; if( $tmp[1] ) $dat[ile] = $tmp[1][0]; else $dat[ile] = "Uzupełnij poprawnie SHOUTcast"; // [peak] $m[0]="Listener Peak:"; $m[1]="Average"; if( $tmp[1] ) $dat[peak] = $tmp[1]; else $dat[peak] = "Uzupełnij poprawnie SHOUTcast"; // [nuta] $m[0]="Current Song:"; $m[1]="Written by Ste"; if( $tmp[1] ) $dat[nuta] = $tmp[1]; else $dat[nuta] = "Uzupełnij poprawnie SHOUTcast"; } } else { $dat[status]="err"; } $naco = array($dat[status],$dat[audycja],$dat[dj],$dat[statyw],$dat[gg],$dat[ile],$dat[peak],$dat[nuta]);
Na górze pliku w Którym umieściłem Poprzedni Kod.
Niestety pojawia się tylko w tym miejscu Obrazek: tlo.png
Lecz nie pokazują się teksty , które miały być pobierane za Pomocą powyższego Kodu.
Co się Może dziać?