_error; } function DecryptKey($Key) { $Key = eregi_replace("-", "", $Key); $Key = eregi_replace(sprintf("^%s", PRODUCT_ID), "", $Key); $Key = urldecode($Key); $Key = base64_decode($Key); $arrData = explode("|", $Key); if (sizeof($arrData) != 3) { $this->_error = true; return false; } $this->_users = $arrData[0]; $this->_domain = $arrData[1]; $this->_expires = $arrData[2]; } function GetUsers() { return $this->_users; } function GetDomain() { return $this->_domain; } function GetExpires() { return $this->_expires; } } function tp9024kwehbehb() { if (!defined('TRACKPOINT_ISSETUP') || !TRACKPOINT_ISSETUP) { return true; } $LicenseKey = TRACKPOINT_LICENSEKEY; $lice = tp02k31nnb($LicenseKey); if (!$lice) { return false; } $numLUsers = $lice->GetUsers(); $db = &GetDatabase(); $query = "SELECT COUNT(*) AS count FROM " . TRACKPOINT_TABLEPREFIX . "users"; $result = $db->Query($query); if (!$result) { return false; } $row = $db->Fetch($result); $numDBUsers = $row['count']; if($numLUsers <= $numDBUsers) { return false; } else { return true; } } function tpk23twgezm2() { if (!defined('TRACKPOINT_ISSETUP') || !TRACKPOINT_ISSETUP) { return true; } $LicenseKey = TRACKPOINT_LICENSEKEY; $lice = tp02k31nnb($LicenseKey); if (!$lice) { return false; } $numLUsers = $lice->GetUsers(); $db = &GetDatabase(); $query = "SELECT COUNT(*) AS count FROM " . TRACKPOINT_TABLEPREFIX . "users"; $result = $db->Query($query); if (!$result) { return false; } $row = $db->Fetch($result); $numDBUsers = $row['count']; if($numLUsers < $numDBUsers) { return GetLang('UserLimitReached'); } else { $numLeft = (int)($numLUsers - $numDBUsers); $current_users_qry = "SELECT COUNT(*) AS count FROM " . TRACKPOINT_TABLEPREFIX . "users WHERE admin != 1"; $result = $db->Query($current_users_qry); if (!$result) { return false; } $row = $db->Fetch($result); $current_users = $row['count']; $current_admins_qry = "SELECT COUNT(*) AS count FROM " . TRACKPOINT_TABLEPREFIX . "users WHERE admin = 1"; $result = $db->Query($current_admins_qry); if (!$result) { return false; } $row = $db->Fetch($result); $current_admins = $row['count']; $msg = "Current users: " . $current_users . " / Current Administrators: " . $current_admins; $msg .= " (Your license key allows you to create " . $numLeft . " more account"; if ($numLeft != 1) $msg .= "s"; $msg .= ")"; if($numLeft == 0) { $msg .= ""; } return $msg; } } function tpQmz44Rtt($LicenseKey=false) { if (!$LicenseKey) { if (!defined('TRACKPOINT_ISSETUP') || !TRACKPOINT_ISSETUP) { return array(false, ''); } $LicenseKey = TRACKPOINT_LICENSEKEY; } $lice = tp02k31nnb($LicenseKey); if (!$lice) { return array(true, 'Your license key is invalid - possibly an old license key'); } $domain = $lice->GetDomain(); $my_domain = $_SERVER['HTTP_HOST']; $domain_with_www = (strpos($my_domain, 'www.') === false) ? 'www.'.$my_domain : $my_domain; $domain_without_www = str_replace('www.', '', $my_domain); if ($domain != md5($domain_with_www) && $domain != md5($domain_without_www) && $domain != md5('localhost') && $domain != md5('127.0.0.1')) { return array(true, "Your license key is not for this domain"); } $expDate = $lice->GetExpires(); if($expDate != "") { $arrDate = explode("-", $expDate); if(sizeof($arrDate) == 3) { $tStamp = mktime(0, 0, 0, (int)$arrDate[0], (int)$arrDate[1], (int)$arrDate[2]); if($tStamp < time()) { return array(true, "Your license key expired on " . $arrDate[0] . "/" . $arrDate[1] . "/" . $arrDate[2]); } } else { return array(true, "Your license key contains an invalid expiration date"); } } return array(false, ''); } function tp02k31nnb($ss3ooo29i449) { $objLicense = new License(); $objLicense->DecryptKey($ss3ooo29i449); $error = $objLicense->GetError(); if ($error) return false; return $objLicense; } ?>
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/ububluc/public_html/track/functions/init.php on line 132

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/ububluc/public_html/track/functions/init.php on line 132

Warning: error_log(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/ububluc/public_html/track/functions/init.php on line 132

Warning: error_log(/home/ububluc/public_html/track/temp/db_errors.log): failed to open stream: Permission denied in /home/ububluc/public_html/track/functions/init.php on line 132

Warning: trigger_error(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/ububluc/public_html/track/functions/init.php on line 134

Fatal error: Access denied for user 'ububluc_track'@'localhost' (using password: YES) in /home/ububluc/public_html/track/functions/init.php on line 134