has_access(100) AND isset($_REQUEST['user_id'])) { $working_user = new User($_REQUEST['user_id']); } else { $working_user = $GLOBALS['user']; } show_template('header'); $title = $working_user->fullname . ' ' . _('Favorites') . ':'; ?>
get_favorites('artist') ) { $items = $working_user->format_favorites($items); show_info_box('Favorite Artists', 'artist', $items); } else { echo "" . _('Not Enough Data') . ""; } ?> get_favorites('song') ) { $items = $working_user->format_favorites($items); show_info_box('Favorite Songs', 'your_song', $items); } else { echo "" . _('Not Enough Data') . ""; } ?> get_favorites('album') ) { $items = $working_user->format_favorites($items); show_info_box('Favorite Albums', 'album', $items); } else { echo "" . _('Not Enough Data') . ""; } ?>