$quotecount['quotes'] holds the number of quotes that are approved and meet the rating threshold the user has set.
If you want to add more, in quotes.php find:
PHP Code:
$gradient2 = str_replace('#', '', $stylevar['alt2_bgcolor']);
Under that you can add:
PHP Code:
$totalcount = $DB_site->query_first('
SELECT COUNT(*) AS all FROM ' . TABLE_PREFIX . 'quotes
');
or
PHP Code:
$modcount = $DB_site->query_first('
SELECT COUNT(*) AS moderation FROM ' . TABLE_PREFIX . 'quotes
WHERE approved = 0
');
In this example, $totalcount['all'] will be the number of total quotes (add "WHERE approved = 1" to only count quotes that have been approved) and $modcount['moderation'] will be the number of quotes awaiting moderation.