playlist->get_items();
}
// Limit the number of objects we show here
if (count($objects) > 100) {
$truncated = (count($objects) - 100);
$objects = array_slice($objects,0,100);
}
$normal_array = array('radio','song','video','random');
foreach ($objects as $uid=>$object_data) {
$type = array_shift($object_data);
if (in_array($type,$normal_array)) {
$object = new $type(array_shift($object_data));
$object->format();
}
if ($type == 'random') {
$object->f_link = Random::get_type_name($type);
}
?>
-
f_link; ?>
-
...