X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid_top.php;h=36a5c007856fbe55ff9fffaa52399a9f51bd51f9;hb=dac6d0db6cce3da35e1ebf56960d5c05f640be59;hp=6d88d094bc08544fb870e7d070ec94103ad194c0;hpb=b0b5a841a592386c3e21724c216db5d1f451ede7;p=mailer.git diff --git a/mailid_top.php b/mailid_top.php index 6d88d094bc..36a5c00785 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -215,7 +215,6 @@ if ((isValidUserId($url_userid)) && (($url_mid > 0) || ($url_bid > 0)) && (!ifFa } // END - switch // Export data into constants for the template - $content['points'] = translateComma($payment); $content['banner'] = loadTemplate('mailid_banner', true); // Only when user extension = v0.1.2: Update mails-confirmed counter @@ -278,10 +277,7 @@ if ((isValidUserId($url_userid)) && (($url_mid > 0) || ($url_bid > 0)) && (!ifFa } // END - if // Load total points - $content['total'] = translateComma( - countSumTotalData($url_userid, 'user_points', 'points') - - countSumTotalData($url_userid, 'user_data', 'used_points') - ); + $content['total'] = getTotalPoints($url_userid); // Load template loadTemplate($template, false, $content);