Mam Kod:
<?php $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]); ?> <?php require_once INCLUDES."theme_functions_include.php"; // theme settings $body_text = "#bab9bc"; $body_bg = "#0f0b17"; $theme_width = "880"; $theme_width_l = "188"; $theme_width_r = "188"; // Right Panels off in Forum Mode //$theme_panels_exclude = array("/forum/"); echo ' <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;"> <a href="http://s1.superhost24.pl/9000.pls"><img border="0" src="images/win.png" class="przezroczystosc" width="28" height="28"></a><br> <a href="http://s1.superhost24.pl/9000.pls"><img border="0" src="images/aimp.png" class="przezroczystosc" width="28" height="28"></a><br> <a href="http://s1.superhost24.pl/9000.asx"><img border="0" src="images/wmp.png" class="przezroczystosc" width="28" height="28"></a><br> <a href="hhttp://s1.superhost24.pl/9000.ram"><img border="0" src="images/real.png" class="przezroczystosc" width="28" height="28"></a><br> </div> <div style="font-family: Arial; color: #000; font-size: 14px; margin-left: 320px; margin-top: -50px; position: absolute;"> <marquee behavior="alternate" scrollamount="1" scrolldelay="2" width="138" direction="left"><b><?php echo $sc[table1]; ?> </b></marquee> </div> <div style="font-family: Arial; color: #000; font-size: 14px; margin-left: 312px; margin-top: 3px; position: absolute;"> <marquee scrollamount="2" scrolldelay="1" width="151" direction="left"><b><?php echo $sc[table2]; ?></b></marquee> </div> <div style="font-family: Arial; color: #000; font-size: 14px; margin-left: 372px; margin-top: 50px; position: absolute;"> <b><?php echo $sc[table4]; ?></b> </div> </td> </tr> </table> '; ?>
Jest wszystko dobrze tylko nie pokazuje mi się w okienku taki tekst który jest pobierany przez kod ten na samej Górze.
Proszę o Pomoc.