$plik2 = $covers . $nazwa . ".gif"; $plik3 = $covers . $nazwa . ".png"; if ($nazwa) { if (file_exists($plik)) { echo "<img src='{$plik}' width='200px' height='200px'>"; } else { if (file_exists($plik2)) { echo "<img src='{$plik2}'>"; } else { if (file_exists($plik3)) { echo "<img src='{$plik3}'>"; } else { echo "<img src='vinyl.png'>\n"; } } } } /* OKLADKI end */ echo "<br><br>Listeners: {$text['0']} of {$text['3']} (max: {$text['2']})<br>Quality: {$text['5']} kbps<br><br>"; } chan('Polska na topie', 'sc1.readycast.org:8888', '8888'); winstat('sc1.readycast.org', '8888'); chan('UK Charts', 'sc1.readycast.org:8026', '8026'); winstat('sc1.readycast.org', '8026'); chan('Trance', 'sc1.readycast.org:8558', '8558'); winstat('sc1.readycast.org', '8558'); chan('Chillout', 'sc1.readycast.org:8440', '8440'); winstat('sc1.readycast.org', '8440'); chan('Disco Polo', 'sc1.readycast.org:8544', '8544'); winstat('sc1.readycast.org', '8544');
} if (isset($_GET['detail'])) { $detail = $_GET['detail']; } if (in_array(@$page, $pages)) { if (in_array(@$detail, $pages) && $detail == 'history') { for ($j = 0; $j < count($allimg); $j++) { $lop = explode(", ", $lopo[$j]); if ($lop[2] == $page) { $obj->getServerInfo($lopo[$j]); echo '<span class="big-red">Kanał ' . $lop[3] . ' - historia utworów</span>'; echo '<div id="hr"></div>'; echo '<br />'; echo '<span style="float: left; width: 190px; height: 250px;">'; echo '<a href="?page=' . $obj->chan . '&detail=desc"><span class="channel-img" style="background: transparent url(' . $dir . $allimg[$j] . ') repeat;"></span></a></span>'; echo '<span style="float: left;">' . winstat($obj->ip, $obj->port) . '</span>'; } } } else { if (in_array(@$detail, $pages)) { for ($j = 0; $j < count($allimg); $j++) { $lop = explode(", ", $lopo[$j]); if ($lop[2] == $page) { echo '<span class="big-red">Kanał ' . $lop[3] . ' - taki tu gramy rodzaj muzyki</span>'; if (file_exists($pagesdb . $page . '.txt')) { echo '<span style="float: left;">' . $obj->convert2HTML($pagesdb . $page . '.txt') . '</span>'; } else { echo '<div id="hr"></div>'; echo '<br />Wkrotce uzupelnimy...'; } }