<?php

// Fournir les variables attendues par header.php
$page_title = $page_title ?? 'Dashboard';

// Simuler accès CI3 si nécessaire
$CI = \Config\Services::session();
$this->session = $CI;

include FCPATH . '../inc/header.php';
include FCPATH . '../inc/nav.php';
include FCPATH . '../inc/ribbon.php';
?>

    <div id="content">
        <?= $this->renderSection('content') ?>
    </div>

<?php
include FCPATH . '../inc/footer.php';
include FCPATH . '../inc/scripts.php';
?>