-$URL = 'modules.php?module=index&what=sponsor_reg&refid=';
-
-// Get referal ID from ref or refid variable
-$ref = 0;
-if (REQUEST_ISSET_GET('ref')) $ref = bigintval(REQUEST_GET('ref'));
- elseif (REQUEST_ISSET_GET('refid')) $ref = bigintval(REQUEST_GET('refid'));