= escapeHtml($co_info['title']) ?>
Done Skipped for now= escapeHtml($co_info['about']) ?>
0 ? $co_keys[$co_at - 1] : ''); $co_next = $co_step === 'done' ? '' : clientOnboardingAfter($co_step, $co_steps); $co_info = $co_steps[$co_step] ?? null; $co_total = count($co_keys_all); // What was typed, when a save came back with something to put right (settingsRefuse()) $settings_kept = []; if (($_SESSION['settings_kept']['page'] ?? '') === "client_onboarding_$co_step" && time() - ($_SESSION['settings_kept']['at'] ?? 0) < 300) { $settings_kept = $_SESSION['settings_kept']; } unset($_SESSION['settings_kept']); // The message a save left for this page $co_alert = ''; $co_alert_type = 'info'; if (!empty($_SESSION['alert_message'])) { $co_alert = (string) $_SESSION['alert_message']; $co_alert_type = alertStyleClass($_SESSION['alert_type'] ?? 'success'); unset($_SESSION['alert_message'], $_SESSION['alert_type']); } $co_company = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT company_name, company_logo FROM companies WHERE company_id = 1")) ?: []; $co_name = $co_client ? (string) $co_client['client_name'] : ''; $co_title = $co_step === 'done' ? 'Where it stands' : $co_info['title']; $co_leave = $client_id ? "/agent/client_overview.php?client_id=$client_id" : '/agent/clients.php'; define('FROM_CLIENT_ONBOARDING', true); ?>
= escapeHtml($co_info['about']) ?>