www_archline_hu/cadline/backend/maintenance2/webform/selectprogramdialog.php
LÁZÁR Imre AI Agent 3d4158c3ac feat(cadline): add common_cadline_libraries + maintenance backend
common_cadline_libraries (CRM hardlock/db/users classes; upstream cadline_web/cadcommonlib), maintenance/ (ARCHLine.XP license backend; upstream cadline_web/maintenance), maintenance2/. Vetted live files (byte-truth); upstream repos in PROVENANCE.md. NOTE: could be git submodules — kept as live files for byte-fidelity.

Signed-off-by: LÁZÁR Imre <imre@illusion.hu>
Assisted-by: claude-code@claude-opus-4-8
2026-07-16 11:34:30 +02:00

50 lines
1.7 KiB
PHP

<?php
error_reporting(E_ERROR | E_PARSE);
if (!class_exists('Authenticate')) require_once("../../common_cadline_libraries/crm_test.class.php");
$session = isset($_GET['session']) ? $_GET['session'] : '';
$authCode = isset($_GET['authCode']) ? $_GET['authCode'] : '';
$decodedSession = base64_decode($session);
$auth = new Authenticate();
$auth->setAuthCode($authCode);
$auth->setAuthSession($session);
$auth->auth();
$ctrID = isset($_GET['cnt']) ? $_GET['cnt'] : '';
$param = isset($_GET['param']) ? $_GET['param'] : '';
$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");
$se = Webform::get_valueFromStringUrl($decoded_param, "se");
$custom_login = Webform::get_valueFromStringUrl($decoded_param, "custom");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Select program dialog</h1>
<form action="progress.php" method="post">
<input type="hidden" name="action" value="selectProgramDialog" />
<input type="hidden" name="session" value="<?= $session ?>" />
<input type="submit" value="OK" name="result_ok" />
<input type="submit" value="Cancel" name="result_cancel" />
</form>
</body>
</html>