+
+
$DB->query("
SELECT
@@ -43,10 +42,10 @@
$Results = $DB->to_array();
?>
Reports resolved in the last 24 hours
-
-
- Username |
- Reports |
+
+
+ Username |
+ Reports |
foreach ($Results as $Result) {
list($UserID, $Username, $Reports) = $Result;
@@ -57,7 +56,6 @@
} ?>
-
$DB->query("
SELECT
@@ -72,10 +70,10 @@
$Results = $DB->to_array();
?>
Reports resolved in the last week
-
-
- Username |
- Reports |
+
+
+ Username |
+ Reports |
foreach ($Results as $Result) {
list($UserID, $Username, $Reports) = $Result;
@@ -86,7 +84,6 @@
} ?>
-
$DB->query("
SELECT
@@ -101,10 +98,10 @@
$Results = $DB->to_array();
?>
Reports resolved in the last month
-
-
- Username |
- Reports |
+
+
+ Username |
+ Reports |
foreach ($Results as $Result) {
list($UserID, $Username, $Reports) = $Result;
@@ -115,7 +112,6 @@
} ?>
-
$DB->query("
SELECT
@@ -129,10 +125,10 @@
$Results = $DB->to_array();
?>
Reports resolved since Reports v2 (2009-07-27)
-
-
- Username |
- Reports |
+
+
+ Username |
+ Reports |
foreach ($Results as $Result) {
list($UserID, $Username, $Reports) = $Result;
@@ -143,72 +139,66 @@
} ?>
-
Different view modes by person
-
- By ID of torrent reported:
-
-
- By group ID of torrent reported:
-
-
- By report ID:
-
-
- By reporter ID:
-
-
- By uploader ID:
-
-
- By resolver ID:
-
-
- For browsing anything more complicated than these, use the search feature.
-
-
+
+ By ID of torrent reported:
+
+ By group ID of torrent reported:
+
+ By report ID:
+
+ By reporter ID:
+
+ By uploader ID:
+
+ By resolver ID:
+
+ For browsing anything more complicated than these, use the search feature.
+
+
+
$DB->query("
SELECT
@@ -223,10 +213,10 @@
$Staff = $DB->to_array();
?>
Currently assigned reports by staff member
-
+
- Staff Member |
- Current Count |
+ Staff Member |
+ Current Count |
foreach ($Staff as $Array) { ?>
@@ -239,7 +229,6 @@
} ?>
-
Different view modes by report type
$DB->query("
@@ -252,10 +241,10 @@
$Current = $DB->to_array();
if (!empty($Current)) {
?>
-
+
- Type |
- Current Count |
+ Type |
+ Current Count |
foreach ($Current as $Array) {
@@ -280,7 +269,7 @@
}
?>
-
+
View::show_footer();
diff --git a/sections/tools/development/update_geoip.php b/sections/tools/development/update_geoip.php
index 68d377ba..b4e10bcd 100644
--- a/sections/tools/development/update_geoip.php
+++ b/sections/tools/development/update_geoip.php
@@ -13,7 +13,7 @@
shell_exec('unzip GeoLiteCity-latest.zip');
shell_exec('rm GeoLiteCity-latest.zip');
-if (($Locations = file("GeoLiteCity_".date('Ym')."06/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
+if (($Locations = file("GeoLiteCity_".date('Ym')."01/GeoLiteCity-Location.csv", FILE_IGNORE_NEW_LINES)) === false) {
error('Download or extraction of maxmind database failed');
}
array_shift($Locations);
@@ -32,7 +32,7 @@
echo 'There are '.count($CountryIDs).' CountryIDs';
echo ' ';
-if (($Blocks = file("GeoLiteCity_".date('Ym')."06/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
+if (($Blocks = file("GeoLiteCity_".date('Ym')."01/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) {
echo 'Error';
}
array_shift($Blocks);
diff --git a/sections/top10/lastfm.php b/sections/top10/lastfm.php
index b5757696..851b9ffa 100644
--- a/sections/top10/lastfm.php
+++ b/sections/top10/lastfm.php
@@ -12,7 +12,6 @@
$View = in_array($View, array('tiles', 'list')) ? $View : 'tiles';
switch ($Category) {
-
case 'weekly':
$Artists = json_decode(LastFM::get_weekly_artists(LIMIT), true)['artists']['artist'];
break;
@@ -28,14 +27,15 @@
- Top10View::render_artist_links($Category, $View); ?>
- Top10View::render_artist_controls($Category, $View); ?>
+ Top10View::render_artist_links($Category, $View); ?>
+ Top10View::render_artist_controls($Category, $View); ?>
if ($View == 'tiles') { ?>
- foreach ($Artists as $Artist) {
+
+ foreach ($Artists as $Artist) {
Top10View::render_artist_tile($Artist, $Category);
} ?>
@@ -43,7 +43,8 @@
} else { ?>
- foreach ($Artists as $Artist) {
+
+ foreach ($Artists as $Artist) {
Top10View::render_artist_list($Artist, $Category);
} ?>
diff --git a/sections/torrents/delete.php b/sections/torrents/delete.php
index e7bb60ae..bc455c54 100644
--- a/sections/torrents/delete.php
+++ b/sections/torrents/delete.php
@@ -46,8 +46,8 @@
View::show_header('Delete torrent', 'reportsv2');
?>
-
-
+
@@ -151,7 +154,7 @@
$BBName = "[url=artist.php?id=$ArtistID]".$ArtistName."[/url] - [url=torrents.php?id=$GroupID]$GroupName".($Year ? " ($Year)" : '')."[/url] [url=torrents.php?torrentid=$TorrentID][$Format/$Encoding/$Media]{$RemasterDisplayString}[/url] " . ($HasLog ? " [url=torrents.php?action=viewlog&torrentid=$TorrentID&groupid=$GroupID](Log: {$LogScore}%)[/url]" : '').' ('.number_format($Size / (1024 * 1024), 2).' MB)';
}
?>
- | |