diff --git a/sections/reports/stats.php b/sections/reports/stats.php index 0347eb3c..61ff60bd 100644 --- a/sections/reports/stats.php +++ b/sections/reports/stats.php @@ -1,9 +1,8 @@ @@ -16,11 +15,12 @@
+ query("SELECT um.Username, COUNT(r.ID) AS Reports FROM reports AS r JOIN users_main AS um ON um.ID=r.ResolverID WHERE r.ReportedTime > '2009-08-21 22:39:41' AND r.ReportedTime > NOW() - INTERVAL 24 HOUR GROUP BY r.ResolverID ORDER BY Reports DESC"); $Results = $DB->to_array(); ?> -
Reports resolved in the last 24h @@ -109,6 +109,34 @@
+ + + query("select u.Username, count(LastPostAuthorID) as Trashed from forums_topics as f left join users_main as u on u.id = LastPostAuthorID where ForumID = 12 group by LastPostAuthorID order by Trashed desc limit 30;"); + $Results = $DB->to_array(); + ?> + Threads trashed since the beginning of time + + + + + + + + + + + + + + +
PlaceUsernameTrashed
+ +
[Report] "; $('#preview' + postid).raw().innerHTML = response; $('#editbox' + postid).hide(); }); diff --git a/static/functions/multiformat_uploader.js b/static/functions/multiformat_uploader.js index 08eaf73b..057639fd 100644 --- a/static/functions/multiformat_uploader.js +++ b/static/functions/multiformat_uploader.js @@ -2,7 +2,7 @@ var count = 1; var MAX_EXTRAS = 5; var FORMATS = [ 'MP3', 'FLAC', 'AAC', 'AC3', 'DTS' ]; - var BITRATES = [ '192', 'APS (VBR)', 'V2 (VBR)', 'V1 (VBR)', '256', 'APX (VBR)', 'V0 (VBR)', 'q8.x (VBR)', '320', 'Lossless', '24bit Lossless']; + var BITRATES = [ '192', 'APS (VBR)', 'V2 (VBR)', 'V1 (VBR)', '256', 'APX (VBR)', 'V0 (VBR)', '320', 'Lossless', '24bit Lossless']; var filenames = new Array(); $(document).ready(function () { $("#add_format").click(function () { diff --git a/static/functions/musicbrainz.js b/static/functions/musicbrainz.js index 631ecf91..c8663166 100644 --- a/static/functions/musicbrainz.js +++ b/static/functions/musicbrainz.js @@ -58,7 +58,7 @@ $(document).ready(function() { jQuery('#popup_back').empty(); $.ajax({ type: "GET", - url: "http://musicbrainz.org/ws/2/release-group/" + $id + "?inc=artist-credits%2Breleases+tags+media", + url: "https://musicbrainz.org/ws/2/release-group/" + $id + "?inc=artist-credits%2Breleases+tags+media", dataType: "xml", success: showReleases }); @@ -72,7 +72,7 @@ $(document).ready(function() { $.ajax({ type: "GET", - url: "http://musicbrainz.org/ws/2/release/" + $id + "?inc=artist-credits%2Blabels%2Bdiscids%2Brecordings+tags+media+label-rels", + url: "https://musicbrainz.org/ws/2/release/" + $id + "?inc=artist-credits%2Blabels%2Bdiscids%2Brecordings+tags+media+label-rels", dataType: "xml", success: populateForm }); @@ -136,7 +136,7 @@ function showReleases(xml) { $year_original = $date_release_group.substring(0,4); $release_type = $(xml).find("release-group").attr("type"); $release_group_id = $(xml).find("release-group").attr("id"); - jQuery('#popup_title').html("Choose Release " + "(View on MusicBrainz)"); jQuery('#popup_back').html("[Go Back]"); @@ -158,7 +158,7 @@ function showReleases(xml) { var $result = $title + " [Year: " + $year + ", Format: " + $format + ", Tracks: " + $tracks + ", Country: " + $country + "]"; $("" + $result + "").attr("id", $release_id).appendTo("#results2"); - $(" (View on MB)" + "

").attr("id", "mb").appendTo("#results2"); + $(" (View on MB)" + "

").attr("id", "mb").appendTo("#results2"); }); parseTags(xml); @@ -231,7 +231,7 @@ function showReleases(xml) { $barcode_text = "Barcode: " + $barcode + "\n"; } var $description = $amazon_link + - "[url=http://musicbrainz.org/release-group/" + $release_group_id + "]MusicBrainz[/url]" + "\n" + "\n" + + "[url=https://musicbrainz.org/release-group/" + $release_group_id + "]MusicBrainz[/url]" + "\n" + "\n" + $country_text + $barcode_text + "Tracks: " + $track_count + "\n" + "\n" +