Exemple #1
0
function printFileItem($displayname, $fullpath, $time)
{
    global $prefs;
    $ext = strtolower(pathinfo($fullpath, PATHINFO_EXTENSION));
    print '<div class="clickable clicktrack ninesix draggable indent containerbox padright line" name="' . rawurlencode($fullpath) . '">';
    print '<i class="' . audioClass($ext) . ' fixed smallicon"></i>';
    print '<div class="expand">' . $displayname . '</div>';
    if ($time > 0) {
        print '<div class="fixed playlistrow2 tracktime">' . format_time($time) . '</div>';
    }
    print '</div>';
}
Exemple #2
0
                print '<div class="containerbox indent padright menuitem">';
                if ($imgname === null) {
                    // print '<i class="icon-radio-tower fixed smallcover-svg"></i>';
                    print '<div class="smallcover fixed"><img class="smallcover" src="newimages/broadcast.svg" /></div>';
                } else {
                    print '<div class="smallcover fixed"><img class="smallcover" src="' . $imgname . '" /></div>';
                }
                print '<div class="expand" style="margin-top:6px"><span style="font-size:120%" class="searchable">' . $track['title'] . '</span></div>';
                print '</div>';
                print '<div class="containerbox padright bum">';
                print '<div class="smallcoverpadder fixed"></div><div class="expand searchable">' . implode(' ', $track['meta']) . '</div>';
                print '</div>';
                foreach ($track['links'] as $k) {
                    print '<div class="clickable clickstream draggable containerbox padright menuitem" name="' . $k['url'] . '" streamname="' . $track['title'] . '" streamimg="' . $imgname . '">';
                    print '<div class="smallicon fixed"></div>';
                    print '<i class="' . audioClass($k['type']) . ' fixed smallicon"></i>';
                    print '<div class="expand">' . $k['text'] . ' ' . $k['type'] . '</div>';
                    print '</div>';
                }
                print '<div style="border-top:1px solid #999999"></div>';
                print '</div>';
            }
        }
    }
    debuglog("Finished", "RADIOPARSER");
    print '</div>';
} else {
    ?>
<div class="containerbox menuitem noselection multidrop">
<?php 
    print '<i class="icon-toggle-closed mh menu fixed" name="bbclist"></i>';