54 lines
1.4 KiB
PHP
54 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* MSIN-4578 — Tableau de bord temporaire gestionnaire de dossards (ops MS1).
|
|
* Chrome compte (Info via compte.php). Pas le hub promoteur.
|
|
*/
|
|
|
|
require_once('php/inc_start_time.php');
|
|
require_once('php/inc_fonctions.php');
|
|
require_once('php/inc_fx_messages.php');
|
|
require_once('php/inc_v2_assets.php');
|
|
require_once('php/inc_fx_eve_acces.php');
|
|
require_once('php/inc_fx_promoteur.php');
|
|
|
|
global $vDomaine, $vPage, $strLangue;
|
|
|
|
$_SERVER['PHP_SELF'] = '/compte.php';
|
|
$_SERVER['SCRIPT_NAME'] = '/compte.php';
|
|
|
|
$strLangue = $_GET['lang'] ?? $_SESSION['lang'] ?? 'fr';
|
|
if (!in_array($strLangue, ['fr', 'en'], true)) {
|
|
$strLangue = 'fr';
|
|
}
|
|
$_SESSION['lang'] = $strLangue;
|
|
|
|
$vPage = 'compte.php';
|
|
$footer_script = false;
|
|
$strCode = 'bib_ops';
|
|
$strPage = ($strLangue === 'en') ? 'account' : 'compte';
|
|
$vtexte_page = obtenirTextepage($vPage, $strLangue, 2);
|
|
|
|
$strLienFr = '/bib_ops.php';
|
|
$strLienEn = '/bib_ops.php';
|
|
$blnHideCompteTitle = true;
|
|
|
|
if (!fxBibOpsUserCanAccessGlobal()) {
|
|
header('Location: ' . $vDomaine . '/' . $strPage);
|
|
exit;
|
|
}
|
|
|
|
$strMetaTitle = fxBibTexte('bib_v5_ops_page_title', 0);
|
|
$strMetaDescription = $strMetaTitle;
|
|
|
|
require_once('inc_header.php');
|
|
?>
|
|
<div id="page">
|
|
<div id="main">
|
|
<div class="container bg-white p-3 p-xl-5">
|
|
<?php echo fxBibOpsRenderDashboard($strLangue); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
require_once('inc_footer.php');
|