diff --git a/sections/collages/collage.php b/sections/collages/collage.php index 53dc195b..13e72217 100644 --- a/sections/collages/collage.php +++ b/sections/collages/collage.php @@ -61,7 +61,7 @@ function compare($X, $Y) { $CollageSubscriptions = array(); } -if (in_array($CollageID, $CollagepSubscriptions)) { +if (in_array($CollageID, $CollageSubscriptions)) { $Cache->delete_value('collage_subs_user_new_'.$LoggedUser['ID']); } $DB->query(" diff --git a/sections/reportsv2/ajax_new_report.php b/sections/reportsv2/ajax_new_report.php index e5af0bf8..f9605e22 100644 --- a/sections/reportsv2/ajax_new_report.php +++ b/sections/reportsv2/ajax_new_report.php @@ -60,13 +60,13 @@ t.UserID AS UploaderID, uploader.Username FROM reportsv2 AS r - LEFT JOIN torrents AS t ON t.ID=r.TorrentID - LEFT JOIN torrents_group AS tg ON tg.ID=t.GroupID - LEFT JOIN torrents_artists AS ta ON ta.GroupID=tg.ID AND ta.Importance='1' - LEFT JOIN artists_alias AS aa ON aa.AliasID=ta.AliasID - LEFT JOIN users_main AS resolver ON resolver.ID=r.ResolverID - LEFT JOIN users_main AS reporter ON reporter.ID=r.ReporterID - LEFT JOIN users_main AS uploader ON uploader.ID=t.UserID + LEFT JOIN torrents AS t ON t.ID = r.TorrentID + LEFT JOIN torrents_group AS tg ON tg.ID = t.GroupID + LEFT JOIN torrents_artists AS ta ON ta.GroupID = tg.ID AND ta.Importance = '1' + LEFT JOIN artists_alias AS aa ON aa.AliasID = ta.AliasID + LEFT JOIN users_main AS resolver ON resolver.ID = r.ResolverID + LEFT JOIN users_main AS reporter ON reporter.ID = r.ReporterID + LEFT JOIN users_main AS uploader ON uploader.ID = t.UserID WHERE r.Status = 'New' GROUP BY r.ID ORDER BY ReportedTime ASC @@ -85,10 +85,10 @@ $DB->query(" UPDATE reportsv2 SET - Status='Resolved', - LastChangeTime='".sqltime()."', - ModComment='Report already dealt with (torrent deleted)' - WHERE ID=".$ReportID); + Status = 'Resolved', + LastChangeTime = '".sqltime()."', + ModComment = 'Report already dealt with (torrent deleted)' + WHERE ID = $ReportID"); ?>
Relevant tracks: | - =str_replace(" ", ", ", $Tracks)?> + =str_replace(' ', ', ', $Tracks)?> | Relevant links: | - $Links = explode(" ", $Links); + $Links = explode(' ', $Links); foreach ($Links as $Link) { if ($local_url = $Text->local_url($Link)) { @@ -280,11 +280,11 @@ t.UserID AS UploaderID, uploader.Username FROM torrents AS t - LEFT JOIN torrents_group AS tg ON tg.ID=t.GroupID - LEFT JOIN torrents_artists AS ta ON ta.GroupID=tg.ID AND ta.Importance='1' - LEFT JOIN artists_alias AS aa ON aa.AliasID=ta.AliasID - LEFT JOIN users_main AS uploader ON uploader.ID=t.UserID - WHERE t.ID='$ExtraID' + LEFT JOIN torrents_group AS tg ON tg.ID = t.GroupID + LEFT JOIN torrents_artists AS ta ON ta.GroupID = tg.ID AND ta.Importance = '1' + LEFT JOIN artists_alias AS aa ON aa.AliasID = ta.AliasID + LEFT JOIN users_main AS uploader ON uploader.ID = t.UserID + WHERE t.ID = '$ExtraID' GROUP BY tg.ID"); list($ExtraGroupName, $ExtraGroupID, $ExtraArtistID, $ExtraArtistName, $ExtraYear, $ExtraTime, $ExtraRemastered, $ExtraRemasterTitle, @@ -319,10 +319,10 @@ | Relevant images: | - $Images = explode(" ", $Images); + $Images = explode(' ', $Images); foreach ($Images as $Image) { ?> - + } ?> | @@ -338,15 +338,15 @@Report comment: | - + | ||||||||||||||||||||||||
- Resolve + Resolve: | - | @@ -402,7 +398,7 @@ - +||||||||||||||||||||||||||||||
- Resolve + Resolve: |
- =$FillerName?> used this torrent to fill this request =time_diff($FilledTime)?>
+ =$FillerName?> used this torrent to fill this request =time_diff($FilledTime)?>
}
}
@@ -235,10 +235,10 @@
// END REPORTED STUFF :|: BEGIN MOD STUFF ?>
- Resolve
+ Resolve:
|
- |
PM uploader |
+ PM uploader: |
-
+
-
+
|
Broadcast to #fbi: |
+ Paste user stats: |
-
+
|
diff --git a/sections/wiki/search.php b/sections/wiki/search.php
index 82bd50c5..3a5644b3 100644
--- a/sections/wiki/search.php
+++ b/sections/wiki/search.php
@@ -55,7 +55,7 @@
$SQL .= "%' ";
}
-$SQL.= "
+$SQL .= "
ORDER BY $Order $Way
LIMIT $Limit ";
$RS = $DB->query($SQL);
@@ -81,16 +81,16 @@
|
=$Pages?>
diff --git a/static/common/banners/donorinfographic.jpg b/static/common/banners/donorinfographic.jpg
new file mode 100644
index 00000000..83cf1b14
Binary files /dev/null and b/static/common/banners/donorinfographic.jpg differ
|