$subscribers = $db->query_first("SELECT COUNT(*) AS totalactive FROM " . TABLE_PREFIX . "subscriptionlog WHERE status=1"); $subscribers['totalactive'] = vb_number_format($subscribers['totalactive']);
$subscribers = $db->query_first("SELECT COUNT(*) AS totalactivesub1 FROM " . TABLE_PREFIX . "subscriptionlog WHERE status=1 AND subscriptionid = 1"); $subscribers['totalactivesub1'] = vb_number_format($subscribers['totalactivesub1']);