77 lines
1.6 KiB
PHP
Executable File
77 lines
1.6 KiB
PHP
Executable File
<?php define('__ROOT__', dirname(dirname(dirname(__FILE__))) );
|
|
require_once __ROOT__.'/vendor/autoload.php';
|
|
use \generic\core\View;
|
|
?>
|
|
|
|
<!-- [1] Gestion du sous-menu de gauche -->
|
|
|
|
<nav class='sub-menu-side'>
|
|
<span data-sublink='info'>
|
|
<span class='svg'><?php echo file_get_contents( __PUBLIC__.'/src/static/sub-menu-side/view.svg' ); ?></span>
|
|
<span>Informations</span>
|
|
</span>
|
|
|
|
<span data-sublink='password' >
|
|
<span class='svg'><?php echo file_get_contents( __PUBLIC__.'/src/static/sub-menu-side/password.svg' ); ?></span>
|
|
<span>Mot de passe</span>
|
|
</span>
|
|
|
|
<span data-sublink='admins' >
|
|
<span class='svg'><?php echo file_get_contents( __PUBLIC__.'/src/static/sub-menu-side/user.svg' ); ?></span>
|
|
<span>Administrateurs</span>
|
|
</span>
|
|
|
|
<span data-sublink='admin' >
|
|
<span class='svg'><?php echo file_get_contents( __PUBLIC__.'/src/static/sub-menu-side/add.svg' ); ?></span>
|
|
<span>Administrateur</span>
|
|
</span>
|
|
|
|
</nav>
|
|
|
|
<?php
|
|
|
|
|
|
/* INFORMATIONS ENTREPOT
|
|
*
|
|
*/
|
|
echo "<section data-sublink='info'>";
|
|
|
|
$view = View::load('settings.view');
|
|
echo $view->render();
|
|
|
|
echo "</section>";
|
|
|
|
|
|
/* CHANGEMENT MOT DE PASSE
|
|
*
|
|
*/
|
|
echo "<section data-sublink='password'>";
|
|
|
|
$view = View::load('settings.password');
|
|
echo $view->render();
|
|
|
|
echo '</section>';
|
|
|
|
|
|
|
|
/* LISTE ADMINISTRATEURS
|
|
*
|
|
*/
|
|
echo "<section data-sublink='admins' class='list fstart'>";
|
|
|
|
$view = View::load('settings.admin.view');
|
|
echo $view->render();
|
|
|
|
echo '</section>';
|
|
|
|
|
|
|
|
/* CREATION ADMINISTRATEUR
|
|
*
|
|
*/
|
|
echo "<section data-sublink='admin'>";
|
|
|
|
$view = View::load('settings.admin.create');
|
|
echo $view->render();
|
|
|
|
echo '</section>';
|