-if (defined('mxchange_installed') && (isBooleanConstantAndTrue(mxchange_installed))) {
- // Base URL for redirection
- $URL = URL."/modules.php?module=index&what=sponsor_reg&refid=";
-
- // Get referal ID from ref or refid variable
- $ref = 0;
- if (!empty($_GET['ref'])) $ref = bigintval($_GET['ref']);
- elseif (!empty($_GET['refid'])) $ref = bigintval($_GET['refid']);