prepare("SELECT * FROM praticien WHERE id = ?"); $stmt->execute([$id]); $praticien = $stmt->fetch(); if (! $praticien) { http_response_code(404); exit(htmlspecialchars($translations['praticien_introuvable'] ?? 'Introuvable.')); } // Traduction courante $stmtTr = $pdo->prepare(" SELECT * FROM praticien_traduction WHERE praticien_id = ? AND langue = ? LIMIT 1 "); $stmtTr->execute([$id, $currentLang]); $traduction = $stmtTr->fetch() ?: null; // Valeurs affichées avec fallback $nomAffiche = $traduction['nom_affiche'] ?? $praticien['nom'] ?? ''; $prenomAffiche = $traduction['prenom_affiche'] ?? $praticien['prenom'] ?? ''; $villeAffichee = $traduction['ville_affichee'] ?? $praticien['ville'] ?? ''; $titreAffiche = $traduction['titre'] ?? $praticien['titre'] ?? ''; $specialiteAffiche = $traduction['specialite'] ?? $praticien['specialite'] ?? ''; $presentationAffiche = $traduction['presentation'] ?? $praticien['presentation'] ?? ''; $dispoAffiche = $traduction['disponibilite'] ?? $praticien['disponibilite'] ?? ''; require_once __DIR__ . '/../includes/header.php'; ?>

:

:

:

:

:

<?php echo htmlspecialchars($translations['alt_photo']) ?>

:

:

:

:

:

:

:

: