Modification Accueil assuré

This commit is contained in:
KONE SOREL 2025-12-15 12:56:36 +00:00
parent 037f788dc0
commit 1c3b9c04d9
3 changed files with 33 additions and 12 deletions

View File

@ -147,7 +147,7 @@ class ControleurFichebeneficiaire extends Controleur {
$message = 'Chargement réussi !';
$this->beneficiaire->changerPhoto($id, $nomImageCrypte);
//
$this->beneficiaire->registerface($_SESSION['numeroBeneficiaire_C']);
$_SESSION['lienPhoto_C'] = $nomImageCrypte;

View File

@ -143,16 +143,26 @@
<div class="d-md-none">
<h4 id="h4_titre" class="mb-0 text-center text-truncate" style="max-width: 200px;">
<i class="fas fa-home me-2"></i>
<?= _("Famille") ?> <?= $adherent['nomAdherent'] ?>
<?= _("Bonjour Famille") ?>
</h4>
<div class="card-header bg-dark py-2">
<h5 class="mb-0 text-center text-light">
<?= $adherent['nomAdherent'] ?>
<span class="badge bg-light text-dark fs-8">
<?= $_SESSION['numeroAdherent_C'] ?>
</span>
</h5>
</div>
</div>
</div>
<div class="col-4 text-end">
<span class="badge bg-light text-dark fs-8">
<?= $_SESSION['numeroAdherent_C'] ?>
</span>
</div>
<div class="d-none d-md-block">
<div class="col-4 text-end">
<span class="badge bg-light text-dark fs-8">
<?= $_SESSION['numeroAdherent_C'] ?>
</span>
</div>
</div>
</div>
</div>

View File

@ -14,11 +14,22 @@
</div>
</div>
<!-- -->
<div class="card mb-3">
<div class="card-header bg-secondary py-2">
<h5 class="mb-0 text-center text-light text-truncate" style="max-width:280px;">
<?= $this->nettoyer($_SESSION['beneficiaire_C']). " ( " .$_SESSION['numeroBeneficiaire_C']. " )" ?>
</h5>
<div class="d-none d-md-block">
<div class="card-header bg-secondary py-2">
<h5 class="mb-0 text-center text-light">
<?= $this->nettoyer($_SESSION['beneficiaire_C']). " ( " .$_SESSION['numeroBeneficiaire_C']. " )" ?>
</h5>
</div>
</div>
<!-- Affichage mobile (cartes) -->
<div class="d-md-none">
<div class="card-header bg-dark py-2">
<h5 class="mb-0 text-center text-light text-truncate" style="max-width:280px;">
<?= $this->nettoyer($_SESSION['beneficiaire_C']). " ( " .$_SESSION['numeroBeneficiaire_C']. " )" ?>
</h5>
</div>
</div>
<div class="card-body">