if (isGetRequestElementSet('id')) {
// Show detailed informations to a sponsor
$result = sqlQueryEscaped("SELECT
- `company`, `position`, `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
+ `company`, `position`, `sex`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
`phone`, `fax`, `cell`, `email`, `url`, `tax_ident`,
`status`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
// Sponsor found so let's list all his referrals
$result = sqlQueryEscaped("SELECT
`id`,
- `gender`,
+ `sex`,
`surname`,
`family`,
`email`,
} else {
// List all sponsors
$result_main = sqlQuery("SELECT
- `id`, `gender`, `surname`, `family`, `email`, `status`,
+ `id`, `sex`, `surname`, `family`, `email`, `status`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
UNIX_TIMESTAMP(`last_online`) AS `last_online`,
`points_amount`, `points_used`,