getAllLicenseTypes(); FragmentRenderer::render('form/_licence', [ 'adminMode' => true, 'accessTypeId' => $_POST['access_type_id'] ?? '', 'licenseId' => $_POST['license_id'] ?? '', 'licenseCustom' => $_POST['license_custom'] ?? '', 'cc2r' => !empty($_POST['cc2r']), 'wantLicense' => !empty($_POST['want_license']), 'hxPost' => '/admin/fragments/licence.php', 'licenseTypes' => $licenseTypes, ]);