This commit is contained in:
KONE SOREL 2026-01-30 18:26:47 +00:00
parent 95ac4cbbef
commit 0f84f39a0b
2 changed files with 10 additions and 14 deletions

View File

@ -60,8 +60,6 @@ $activeChildId = $menuData['child'];
$imgData = $_SESSION['photoAssureCrypte'];
$photoAssureCrypte = $_SESSION['photoAssureCrypte'];
var_dump($_SESSION['vue']);
?>
@ -395,16 +393,7 @@ var_dump($_SESSION['vue']);
</nav>
</aside>
<?php
/*
$infovue = $gabary->getInfosVue($_SESSION['vue']);
$descriptionVue = est_anglophone() ? $infovue['DescriptionEng'] : $infovue['Description'];
$retourVue = $infovue['lienRetour'];
var_dump(array("Descrip =" => $descriptionVue, "retour" => $retourVue));
*/
?>
<!-- Main Content -->
<main class="app-main" id="mainContent">
@ -445,7 +434,14 @@ var_dump($_SESSION['vue']);
<div class="card-body">
<div id="contenu">
<div id="div_test_gabarit"></div>
<?php
$infovue = $gabary->getInfosVue($_SESSION['vue']);
$descriptionVue = est_anglophone() ? $infovue['DescriptionEng'] : $infovue['Description'];
$retourVue = $infovue['lienRetour'];
var_dump(array("Descrip =" => $descriptionVue, "retour" => $retourVue));
?>
<?= $contenu ?>
</div>
</div>

View File

@ -43,7 +43,7 @@ class Gabary extends Modele {
$resultat = $this->executerRequete($sql, array($vue));
$infovue = $resultat->fetchAll();
$infovue = $resultat->fetch();
return $infovue;
}