%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/www_bck/varak.net_bck/mpd.varak.net/rompr/
Upload File :
Create Path :
Current File : //data/www_bck/varak.net_bck/mpd.varak.net/rompr/somafm.php

<div class="containerbox indent padright wibble">
<b>Soma.FM is a listener supported commercial-free radio station from San Francisco.<br>
<a href="http://somafm.com" target="_blank">Please consider supporting Soma.FM if you like these stations</a></b>
</div>

<?php
$x = simplexml_load_file("resources/somafm.xml");
$count = 0;
print '<div class="noselection fullwidth">';
foreach($x->stations->station as $i => $station) {
    
    print '<div class="containerbox menuitem wibble">';
    print '<img src="images/toggle-closed.png" class="menu fixed" name="somafm'.$count.'">';
    print '<div class="smallcover fixed"><img height="32px" width="32px" src="'.$station->image.'" /></div>';
    print '<div class="expand"><span style="font-size:110%">'.utf8_encode($station->name).'</span><br><span class="whatdoicallthis">'.utf8_encode($station->description).'</span></div>';
    print '</div>';
   
    print '<div id="somafm'.$count.'" class="dropmenu wibble">';

    if ($station->longdesc) {
        print '<div class="containerbox indent padright wibble">';
        print '<div class="whatdoicallthis bum expand">'.utf8_encode($station->longdesc).'</div>';
        print '</div>';
    }
    foreach($station->link as $j => $link) {
        $pl = preg_replace('/ /', '&nbsp;', $link->desc);
        print '<div class="clickable clicksoma indent containerbox padright menuitem" name="'.$link->playlist.'" somaimg="'.$station->image.'" somaname="'.$station->name.'">';
        print '<div class="playlisticon fixed"><img height="12px" src="images/broadcast-12.png" /></div>';
        print '<div class="expand">'.utf8_encode($pl).'</div>';
        print '</div>';
    }
    print '</div>';
    $count++;

}
print '</div>';

?>

Zerion Mini Shell 1.0