query("SELECT Image, Summary FROM cover_art WHERE ID = '$ID'"); list($Image, $Summary) = $DB->next_record(); $DB->query("DELETE FROM cover_art WHERE ID = '$ID'"); $DB->query("INSERT INTO group_log (GroupID, UserID, Time, Info) VALUES ('$GroupID',".$LoggedUser['ID'].",'".sqltime()."','".db_string('Additional Cover "'.$Summary . ' - ' . $Image .'" removed from group')."')"); $Cache->delete_value('torrents_cover_art_' . $GroupID); header('Location: '.$_SERVER['HTTP_REFERER']); ?>