fg
This commit is contained in:
parent
a3a3706cda
commit
ad32b36247
|
|
@ -1,3 +1,33 @@
|
|||
<?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;
|
||||
|
||||
$companyDisplayName = htmlspecialchars($_SESSION['nomSociete'], ENT_QUOTES);
|
||||
$modeDev = $_SESSION['modeDev_C'];
|
||||
|
||||
$imgData = $_SESSION['photoAssureCrypte'];
|
||||
//
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="fr">
|
||||
<?php require_once 'head.php'; ?>
|
||||
<body class="d-flex flex-column min-vh-100 bg-light">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user