Empty commit

This commit is contained in:
Git 2013-11-26 08:01:14 +00:00
parent c1a2f0a83a
commit 818a33727c

View File

@ -152,12 +152,15 @@
</div> </div>
<div class="two_columns pad"> <div class="two_columns pad">
<? <?
$TrashForumIDs = '12';
$DB->query(" $DB->query("
SELECT u.Username, SELECT u.Username,
COUNT(f.LastPostAuthorID) as Trashed COUNT(f.LastPostAuthorID) as Trashed
FROM forums_topics AS f FROM forums_topics AS f
LEFT JOIN users_main AS u ON u.ID = f.LastPostAuthorID LEFT JOIN users_main AS u ON u.ID = f.LastPostAuthorID
WHERE f.ForumID = 12 WHERE f.ForumID IN ($TrashForumIDs)
GROUP BY f.LastPostAuthorID GROUP BY f.LastPostAuthorID
ORDER BY Trashed DESC ORDER BY Trashed DESC
LIMIT 30"); LIMIT 30");