if (isGetRequestParameterSet('hash')) {
// Lookup sponsor
$result = SQL_QUERY_ESC("SELECT
- `id`, `status`, `gender`, `surname`, `family`,
- `company`, `position`, `tax_ident`,
- `street_nr1`, `street_nr2`, `country`, `zip`, `city`, `email`, `phone`, `fax`, `cell`,
- `points_amount` AS `points`, `last_payment`, `last_currency`
+ `id`,`status`,`gender`,`surname`,`family`,
+ `company`,`position`,`tax_ident`,
+ `street_nr1`,`street_nr2`,`country`,`zip`,`city`,`email`,`phone`,`fax`,`cell`,
+ `points_amount` AS `points`,`last_payment`,`last_currency`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
WHERE
if (isFormSent()) {
// Check email
$result = SQL_QUERY_ESC("SELECT
- `id`, `hash`, `status`, `remote_addr`, `gender`, `surname`, `family`,
+ `id`,`hash`,`status`,`remote_addr`,`gender`,`surname`,`family`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`
if (isFormSent()) {
// Check email
$result = SQL_QUERY_ESC("SELECT
- `id`, `hash`, `remote_addr`, `gender`, `surname`, `family`,
+ `id`,`hash`,`remote_addr`,`gender`,`surname`,`family`,
UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`
FROM
`{?_MYSQL_PREFIX?}_sponsor_data`