Esempio n. 1
0
        /////////////////////////////////////////////////////////////////////////////////////////
        $aktuellertitel_n = ucwords($aktuellertitel_g);
        echo "<br>";
        echo " nach der ausbesserung:  " . $aktuellertitel_n;
        echo "<br>";
        ///////////////////////
        // MÖGLICHE AUSGABEN //
        ///////////////////////
        ?>

<!--Stream Title:            <?php 
        echo $shoutcast->GetServerTitle();
        ?>
<br>
Aktuelle Hörerzahl:        <?php 
        echo $shoutcast->GetCurrentListenersCount();
        ?>
<br>
Maximale Hörerzahl:        <?php 
        echo $shoutcast->GetMaxListenersCount();
        ?>
<br>
Hörer Peak:                <?php 
        echo $shoutcast->GetPeakListenersCount();
        ?>
<br>
Genre:                    <?php 
        echo $shoutcast->GetServerGenre();
        ?>
<br>-->
URL:                    <?php 
Esempio n. 2
0
             $djname = unesc($djname);
         }
         echo "<tr><td class=header><b>" . $language['BL_DJ'] . ":</b></td><td class=lista>&nbsp;<b>" . $djname . "</b></td></tr>";
     }
 } else {
     $djname = mysqli_real_escape_string($DBDT, $shoutcast->GetServerTitle());
     $petr1 = do_sqlquery("SELECT `u`.`id`, `ul`.`prefixcolor`, `ul`.`suffixcolor` FROM `{$TABLE_PREFIX}users` `u` LEFT JOIN `{$TABLE_PREFIX}users_level` `ul` ON `u`.`id_level`=`ul`.`id` WHERE `u`.`username`='" . $djname . "'");
     if (@mysqli_num_rows($petr1) > 0) {
         $fied = mysqli_fetch_assoc($petr1);
         $djname = "<a href='index.php?page=userdetails&id=" . $fied["id"] . "'>" . unesc($fied["prefixcolor"] . $djname . $fied["suffixcolor"]) . "</a>";
     } else {
         $djname = unesc($djname);
     }
     echo "<tr><td class=header><b>" . $language['BL_DJ'] . ":</b></td><td class=lista>&nbsp;<b>" . $djname . "</b></td></tr>";
 }
 echo "<tr><td class=header><b>" . $language['BL_LISTEN'] . ":</b></td><td class=lista>&nbsp;<br><b><a href='index.php?page=listeners'> (" . $shoutcast->GetCurrentListenersCount() . " of " . $shoutcast->GetMaxListenersCount() . " listeners, peak: " . $shoutcast->GetPeakListenersCount() . ")</a><p></b></td></tr>";
 echo "<tr><td class=header><b>" . $language['BL_SONG'] . ":</b></td><td class=lista>&nbsp;<b>" . cut_string($shoutcast->GetCurrentSongTitle(), intval(50)) . "</b></td></tr>\n";
 echo "<tr><td class=header><br><b>" . $language['BL_BRATE'] . ": </b></td><td class=lista><br><b>" . $shoutcast->GetBitRate() . " kbps&nbsp;<iframe src=\"" . $BASEURL . "/radioon.php\" width=\"0\" height=\"0\"></iframe></b></td></tr><tr><td colspan=2>&nbsp;</td></tr>";
 echo "</table><br><table border=0 cellpadding=0 cellspacing=0 align=center class=main><tr><td class=header>";
 echo "<center><b>" . $language['BL_HIST'] . ":</b></center>\n";
 $history = $shoutcast->GetSongHistory();
 echo "<textarea rows=3 cols=40 class=frm>";
 if (is_array($history)) {
     for ($i = 0; $i < sizeof($history); $i++) {
         echo "[" . get_date_time($history[$i]["playedat"]) . "] - " . $history[$i]["title"] . "\n";
     }
     echo "</textarea></td></tr></table><br />";
     echo '<center><a href="http://' . $btit_settings["radio_ip"] . ':' . $btit_settings["radio_port"] . '/listen.pls" target="_new"><img src=' . $BASEURL . '/radiostats/images/winamp.png width="48" height="48" title="Winamp" border="0"></a>&nbsp;<a href="javascript:PopRadio(\'mp\');"><img src=' . $BASEURL . '/radiostats/images/mp.png width="48" height="48" title="WMP" border="0"></a>&nbsp;<a href="javascript:PopRadio(\'rp\');"><img src=' . $BASEURL . '/radiostats/images/rp.png width="48" height="48" title="RealPlayer" border="0"></a>&nbsp;<a href="javascript:PopRadio(\'qt\');"><img src=' . $BASEURL . '/radiostats/images/qt.png width="48" height="48" title="QuickTime" border="0"></a></center>';
     echo '</td></tr></table>';
 } else {
     require "../" . load_language("lang_shoutcast.php");