X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor.php;h=d518b7f4058f404787daab4031c19fe44223b164;hb=c5173c4d66be7ec72fbf8051a2097cbb377e87a0;hp=89db1c6400e981f4625d30f1147e5e2fb66f6763;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php index 89db1c6400..d518b7f405 100644 --- a/inc/modules/admin/what-list_sponsor.php +++ b/inc/modules/admin/what-list_sponsor.php @@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isGetRequestParameterSet('id')) { // Show detailed informations to a sponsor @@ -131,7 +131,9 @@ ORDER BY `id`, `gender`, `surname`, `family`, `email`, `status`, UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`, UNIX_TIMESTAMP(`last_online`) AS `last_online`, - `points_amount`, `points_used`, `remote_addr` + `points_amount`, `points_used`, + (`points_amount` + `points_used`) AS `points`, + `remote_addr` FROM `{?_MYSQL_PREFIX?}_sponsor_data` ORDER BY @@ -145,7 +147,6 @@ ORDER BY $content['email'] = generateEmailLink($content['email'], 'sponsor_data'); $content['sponsor_created'] = generateDateTime($content['sponsor_created'], 2); $content['last_online'] = generateDateTime($content['last_online'], 2); - $content['points'] = ($content['points_amount'] - $content['points_used']); // Load row template $OUT .= loadTemplate('admin_list_sponsor_row', true, $content);