* *
* -------------------------------------------------------------------- *
* File : what-email_details.php *
* *
* -------------------------------------------------------------------- *
* File : what-email_details.php *
if ((!empty($SQL2)) && ($WHO == getMessage('_ALL'))) $result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__);
// Calculate pages
if ((!empty($SQL2)) && ($WHO == getMessage('_ALL'))) $result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__);
// Calculate pages
if (isConfigEntrySet('mails_page')) {
$PAGES = round(SQL_NUMROWS($result_normal) / getConfig('mails_page') + 0.3);
} // END - if
if (isConfigEntrySet('mails_page')) {
$PAGES = round(SQL_NUMROWS($result_normal) / getConfig('mails_page') + 0.3);
} // END - if
$pool['unconfirmed'] = $pool['sent_email'] - $pool['clicks'];
if ($pool['unconfirmed'] > 0) {
// Add link to list_unconfirmed what-file
$pool['unconfirmed'] = $pool['sent_email'] - $pool['clicks'];
if ($pool['unconfirmed'] > 0) {
// Add link to list_unconfirmed what-file
} elseif ($pool['unconfirmed'] < 0) {
// Sometimes rarely displayed minus values will be "fixed" to zero
} elseif ($pool['unconfirmed'] < 0) {
// Sometimes rarely displayed minus values will be "fixed" to zero
if ((isExtensionActive('bonus')) && ($WHO == getMessage('_ALL'))) {
// Check only if bonus extension is active
if (SQL_NUMROWS($result_bonus) > 0) outputHtml('<br /><br />');
if ((isExtensionActive('bonus')) && ($WHO == getMessage('_ALL'))) {
// Check only if bonus extension is active
if (SQL_NUMROWS($result_bonus) > 0) outputHtml('<br /><br />');