setAuthCode($authCode); $auth->setAuthSession($session); $auth->auth(); $ctrID = isset($_GET['cnt']) ? $_GET['cnt'] : ''; $param = isset($_GET['param']) ? $_GET['param'] : ''; $resource = new Resource($ctrID); $privatekey = Webform::GetWebformPrivateKey(); $decoded_param = Webform::decode($privatekey, $decodedSession, $param); // Adat decode-olása $decoded_param = "?{$decoded_param}"; $ex = Webform::get_valueFromStringUrl($decoded_param, "ex"); $trial = Webform::get_valueFromStringUrl($decoded_param, "trial"); $seatID = Webform::get_valueFromStringUrl($decoded_param, "seatID"); $specEdition = Webform::get_valueFromStringUrl($decoded_param, "se"); $custom_login = Webform::get_valueFromStringUrl($decoded_param, "custom"); $npid = Webform::get_valueFromStringUrl($decoded_param, "npid"); $isid = Webform::get_valueFromStringUrl($decoded_param, "isid"); $comp_name = Webform::get_valueFromStringUrl($decoded_param, "name"); $build = Webform::get_valueFromStringUrl($decoded_param, "build"); $type = Webform::get_valueFromStringUrl($decoded_param, "type"); $serial = Webform::get_valueFromStringUrl($decoded_param, "serial"); $tokenID = Webform::get_valueFromStringUrl($decoded_param, "tokenid"); $userID = crm_hardlock::GetUserIdFromToken($tokenID); $computer = crm_hardlock::GetComputerInfoByNpid($npid); $compName = $computer['custom_name'] != '' ? $computer['custom_name'] : $computer['computer_name']; if ($compName == '') { $compName = $resource->getDlgString(11812); } $notAvailables = array(); $programs = crm_hardlock::GetAllProgramsFromUser($userID, $product, $verID, $specEdition, $serial); $programYear = crm_hardlock::GetLaunchYearFromVer8And9($version); if (!crm_hardlock::isEmergencyServer($_GET['secondary']) && $custom_login != '') { $query = "SELECT * FROM cl_hlusers.custom_login_urls urls WHERE urls.id = ? AND urls.enabled = ? AND process = ?"; Database::getInstance()->query($query, array('sis', $custom_login, 1, 'login')); $urls = Database::getInstance()->fetchNext(); if (!empty($urls)) { $custom_url = base64_encode('https://www.archlinexp.com/maintenance/webform/progress.php'); $customUser = crm_hardlock::GetCustomUser(abs($userID)); $data = new stdClass(); $data->ver = (int)$_GET['ver']; $data->id = $param; $data->session = $session; $data->url = $custom_url; $data->customID = $customUser['custom_id']; $data->se = strval($specEdition); $data->serial = $serial; $dataJson = json_encode($data); $encoded_data = base64_encode($dataJson); $url = $urls['custom_serial_manager'] . "?param={$encoded_data}"; header("Location: {$url}"); exit(); } } $currentLicButton = $resource->getDlgString(11801); $licButton = $resource->getDlgString(11803); $cantSelectBtn = $resource->getDlgString(11802); $query = "SELECT * FROM `" . JMLADATBAZIS . "`.`jml_users` WHERE nUserID = ?"; Database::getInstance()->query($query, array('i', $userID)); $user = Database::getInstance()->fetchNext(); $extUrl = $ex != 'true' ? 'extern::' : ''; $logo = $ctrID == '36' ? 'https://www.archline.hu/public/img/icons/ARCHLineXP_logo_yellow_gray_web_2.png' : 'https://www.archlinexp.com/maintenance/webform/images/logo_eng.png'; $bgColor = $ctrID == '36' ? '#e67e22' : '#3d8fff'; $siteUrl = $ctrID == '36' ? $extUrl . 'https://www.archline.hu/felhasznalo' : $extUrl . 'https://www.archlinexp.com/user'; // type: 0 a general, az 1 pedig selectprogram ?> Select Program Dialog
Hello,
getDlgString(11813)) ?>
>
getDlgString(11808) ?> getDlgString(11800) ?> getDlgString(5171) ?> Lan getDlgString(5086) ?>

getDlgString(11820) ?>


getDlgString(11814), $siteUrl) ?>