if (!empty($_GET['userid'])) { if (!check_perms('users_override_paranoia')) { error(403); } $UserID = $_GET['userid']; $Sneaky = ($UserID != $LoggedUser['ID']); if (!is_number($UserID)) { error(404); } $DB->query("SELECT Username FROM users_main WHERE ID='$UserID'"); list($Username) = $DB->next_record(); } else { $UserID = $LoggedUser['ID']; } $Sneaky = ($UserID != $LoggedUser['ID']); //$ArtistList = Bookmarks::all_bookmarks('artist', $UserID); $DB->query(' SELECT ag.ArtistID, ag.Name FROM bookmarks_artists AS ba INNER JOIN artists_group AS ag ON ba.ArtistID = ag.ArtistID WHERE ba.UserID = '.$UserID.' ORDER BY ag.Name'); $ArtistList = $DB->to_array(); $Title = ($Sneaky) ? "$Username's bookmarked artists" : 'Your bookmarked artists'; View::show_header($Title,'browse'); ?>
Artist |
=$Name?> if (check_perms('site_torrents_notify')) { if (($Notify = $Cache->get_value('notify_artists_'.$LoggedUser['ID'])) === false) { $DB->query(" SELECT ID, Artists FROM users_notify_filters WHERE UserID='$LoggedUser[ID]' AND Label='Artist notifications' LIMIT 1"); $Notify = $DB->next_record(MYSQLI_ASSOC); $Cache->cache_value('notify_artists_'.$LoggedUser['ID'], $Notify, 0); } if (stripos($Notify['Artists'], '|'.$Name.'|') === false) { ?> Notify of new uploads } else { ?> Do not notify of new uploads } } ?> Remove bookmark |