secret_key(); $url_params['go'] = urlencode($url); $forceMobile = aff_get_aff_option('aff_force_mobile'); $isMobile = $detect->isMobile() || $detect->isTablet(); if ($forceMobile && $isMobile && $url_params['offer_key'] == 'lazada') { $url_params['offer_key'] = 'lazada-mobile'; } $affiliate_url = format_str($this::$URL_TEMP, $url_params); return $affiliate_url; } public function allow_domain ($domain = '') { return parent::allow_domain($domain); } } ?>