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');
foreach ($objects as $uid=>$object_data) {
if (in_array($object_data['1'],$normal_array)) {
$object = new $object_data['1']($object_data['0']);
$object->format();
}
else {
$object = new Random();
$object->f_link = Random::get_type_name($object_data['1']);
}
?>
-
f_link; ?>
-
...