if (isExtensionActive('bonus')) {
// Bonus mails sent by you
$SQL2 = "SELECT
`id`, `subject`, `text`, `receivers`, `points`, `time`, `data_type`, `timestamp`, `url`, `cat_id`, `target_send`,
if (isExtensionActive('bonus')) {
// Bonus mails sent by you
$SQL2 = "SELECT
`id`, `subject`, `text`, `receivers`, `points`, `time`, `data_type`, `timestamp`, `url`, `cat_id`, `target_send`,