Suggestions

Marked

query("SELECT s.UserID, count(s.ThreadID) AS C FROM marked_suggestions AS s GROUP BY s.UserID ORDER BY c DESC LIMIT 15"); $Row = 'b'; while ( list ($UserID, $Count) = $DB->next_record() ) { $Row = ($Row == 'a') ? 'b' : 'a'; ?>
Username Count

Implemented

query("SELECT LastPostAuthorID, count(LastPostAuthorID) AS C FROM forums_topics AS f WHERE ForumID = 63 AND f.Title LIKE '[implemented]%' GROUP BY LastPostAuthorID ORDER BY c DESC LIMIT 15"); $Row = 'b'; while ( list ($UserID, $Count) = $DB->next_record() ) { $Row = ($Row == 'a') ? 'b' : 'a'; ?>
Username Count

Rejected

query("SELECT LastPostAuthorID, count(LastPostAuthorID) AS C FROM forums_topics AS f WHERE ForumID = 63 AND f.Title LIKE '[rejected]%' GROUP BY LastPostAuthorID ORDER BY c DESC LIMIT 15"); $Row = 'b'; while ( list ($UserID, $Count) = $DB->next_record() ) { $Row = ($Row == 'a') ? 'b' : 'a'; ?>
Username Count
$Value) { $DB->query("SELECT f.Title, s.ThreadID, s.URL, s.UserID, s.Notes FROM marked_suggestions AS s LEFT JOIN forums_topics AS f ON s.ThreadID = f.ID WHERE f.ForumID IN ($Forums) AND s.Category = $Key ORDER BY f.Title ASC"); ?>

(record_count()?>)