query(" INSERT IGNORE INTO cover_art (GroupID, Image, Summary, UserID, Time) VALUES ('$GroupID', '$Image', '$Summary', '$UserID', '$Time')"); if ($DB->affected_rows()) { $Changed = true; } } if ($Changed) { $Cache->delete_value("torrents_cover_art_$GroupID"); } header('Location: '.$_SERVER['HTTP_REFERER']); ?>