86 lines
3.5 KiB
PHP
Executable File
86 lines
3.5 KiB
PHP
Executable File
<?php require_once 'head.php'; ?>
|
|
<body class="d-flex flex-column min-vh-100 bg-light">
|
|
|
|
<?php include 'header.php'; ?>
|
|
|
|
<div class="d-flex flex-grow-1" style="margin-top: 60px;">
|
|
|
|
<?php include 'sidebar.php'; ?>
|
|
|
|
<main id="main" class="main flex-grow-1 p-3 p-md-4 transition">
|
|
<nav aria-label="breadcrumb" class="mb-4 d-none d-md-block">
|
|
<ol class="breadcrumb shadow-sm bg-white p-2 px-3 rounded-pill">
|
|
<li class="breadcrumb-item small"><a href="#" class="text-decoration-none text-muted"><?= _("INTER SANTE") ?></a></li>
|
|
<li class="breadcrumb-item small text-primary fw-bold active"><?= strtoupper(_($activeLevel1)) ?></li>
|
|
</ol>
|
|
</nav>
|
|
|
|
<div class="container-fluid p-0">
|
|
<?= $contenu; ?>
|
|
</div>
|
|
</main>
|
|
|
|
<?php include 'contexte.php'; ?>
|
|
</div>
|
|
|
|
<div id="modals-container">
|
|
<div class="modal fade" id="popmessagerie" tabindex="-1" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg modal-dialog-centered">
|
|
<div class="modal-content border-0 shadow-lg">
|
|
<div class="modal-header bg-light">
|
|
<h5 class="modal-title fw-bold text-primary"><i class="bi bi-envelope-paper me-2"></i><?= _("Messages non lus") ?></h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
|
</div>
|
|
<div class="modal-body"><div id="div_messagerie"></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal fade" id="pop_photo" tabindex="-1" aria-hidden="true">
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
<div class="modal-content border-0 shadow-lg text-center p-3">
|
|
<img src="data:image/png;base64,<?= $_SESSION['photoAssureCrypte'] ?>" class="img-fluid rounded shadow">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="Bootstrap/js/jquery.min.js"></script>
|
|
<script src="Bootstrap/js/jquery-ui.js"></script>
|
|
<script src="Bootstrap/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<script src="Bootstrap_new/datatables/datatable.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
<script src="Js/html2pdf.js"></script>
|
|
<script src="Bootstrap_new/js/select2.min.js"></script>
|
|
<script src="Bootstrap/js/timer.jquery.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
|
|
|
<?php if (est_anglophone()) : ?>
|
|
<script src="Js/datepicker-eng.js"></script>
|
|
<?php else: ?>
|
|
<script src="Js/datepicker-fr.js"></script>
|
|
<?php endif; ?>
|
|
|
|
<script src="Js/fonctions.js?ver=2025.11.29.09"></script>
|
|
<script src="<?= $_SESSION['dossierSociete'].'/Js/societe.js' ?>"></script>
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
// Toggle Sidebar
|
|
$('.toggle-sidebar-btn').on('click', function() {
|
|
$('body').toggleClass('toggle-sidebar');
|
|
});
|
|
|
|
// Initialisation métier
|
|
raffraichier_gabarit();
|
|
|
|
$('#timer').timer({
|
|
duration: '60s',
|
|
callback: function() { raffraichier_messagerie(); },
|
|
repeat: true
|
|
});
|
|
});
|
|
</script>
|
|
<div id="div_ajaxgabarit" class="d-none"></div>
|
|
</body>
|
|
</html>
|