fg
This commit is contained in:
parent
a3a3706cda
commit
ad32b36247
170
Vue/gabarit.php
170
Vue/gabarit.php
|
|
@ -1,86 +1,116 @@
|
|||
<?php require_once 'head.php'; ?>
|
||||
<body class="d-flex flex-column min-vh-100 bg-light">
|
||||
<?php
|
||||
require_once 'gabarit_queries.php';
|
||||
$gabary = new Gabary();
|
||||
|
||||
$_SESSION['firstLevelMenu']='';
|
||||
$current_url = $_SERVER['REQUEST_URI'];
|
||||
$elements = explode("/", $current_url);
|
||||
$activeLink = $elements[1];
|
||||
$fullPath = $gabary->get_full_path($activeLink);
|
||||
$fullPath = explode("\ ", $fullPath);
|
||||
|
||||
$activeLevel1 = $activeLink;
|
||||
$activeLevel2 = sizeof($fullPath)>1?$fullPath[1]:'';
|
||||
$activeLevel3 =sizeof($fullPath)>2?$fullPath[2]:'';
|
||||
$activeLevel4 = sizeof($fullPath)>3?$fullPath[3]:'';
|
||||
$activeLevel5 = sizeof($fullPath)>4?$fullPath[4]:'';
|
||||
|
||||
$_SESSION['firstLevelMenu']=$activeLink;
|
||||
|
||||
const MAX_COMPANY_NAME_LENGTH = 20;
|
||||
|
||||
<?php include 'header.php'; ?>
|
||||
$companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
|
||||
$modeDev = $_SESSION['modeDev_C'];
|
||||
|
||||
$imgData = $_SESSION['photoAssureCrypte'];
|
||||
//
|
||||
?>
|
||||
|
||||
<div class="d-flex flex-grow-1" style="margin-top: 60px;">
|
||||
|
||||
<?php include 'sidebar.php'; ?>
|
||||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<?php require_once 'head.php'; ?>
|
||||
<body class="d-flex flex-column min-vh-100 bg-light">
|
||||
|
||||
<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>
|
||||
<?php include 'header.php'; ?>
|
||||
|
||||
<div class="container-fluid p-0">
|
||||
<?= $contenu; ?>
|
||||
</div>
|
||||
</main>
|
||||
<div class="d-flex flex-grow-1" style="margin-top: 60px;">
|
||||
|
||||
<?php include 'sidebar.php'; ?>
|
||||
|
||||
<?php include 'contexte.php'; ?>
|
||||
</div>
|
||||
<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 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 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 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>
|
||||
<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; ?>
|
||||
<?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 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');
|
||||
<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
|
||||
});
|
||||
});
|
||||
|
||||
// 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>
|
||||
</script>
|
||||
<div id="div_ajaxgabarit" class="d-none"></div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user