A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index 47afe0509efc3a03274fc024db745ccce848db00..2eaa90720541809462e6f32a76eff72deeabe0cd 100644 (file)
@@ -46,14 +46,14 @@ addYouAreHereLink('admin', __FILE__);
 if (isGetRequestParameterSet('id')) {
        // Show detailed informations to a sponsor
        $result = SQL_QUERY_ESC("SELECT
-       `company`, `position`, `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
-       `phone`, `fax`, `cell`, `email`, `url`, `tax_ident`,
+       `company`,`position`,`gender`,`surname`,`family`,`street_nr1`,`street_nr2`,`zip`,`city`,`country`,
+       `phone`,`fax`,`cell`,`email`,`url`,`tax_ident`,
        `status`,
        UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
        UNIX_TIMESTAMP(`last_online`) AS `last_online`,
        UNIX_TIMESTAMP(`last_change`) AS `last_change`,
        `receive_warnings`,
-       `points_amount`, `points_used`, `remote_addr`, `warning_interval`, `refid`, `ref_count`
+       `points_amount`,`points_used`,`remote_addr`,`warning_interval`,`refid`,`ref_count`
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
 WHERE
@@ -100,11 +100,11 @@ WHERE
 
                // Sponsor found so let's list all his referals
                $result = SQL_QUERY_ESC("SELECT
-       `id`, `gender`, `surname`, `family`, `email`, `status`,
+       `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`, `ref_count`
+       `points_amount`,`points_used`,
+       `remote_addr`,`ref_count`
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
 WHERE
@@ -128,10 +128,10 @@ ORDER BY
 } else {
        // List all sponsors
        $result_main = SQL_QUERY("SELECT
-       `id`, `gender`, `surname`, `family`, `email`, `status`,
+       `id`,`gender`,`surname`,`family`,`email`,`status`,
        UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
        UNIX_TIMESTAMP(`last_online`) AS `last_online`,
-       `points_amount`, `points_used`,
+       `points_amount`,`points_used`,
        (`points_amount` + `points_used`) AS `points`,
        `remote_addr`
 FROM