2016-02-03 22:22:18 +00:00
|
|
|
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
|
|
|
|
require_once __ROOT__.'/manager/autoloader.php';
|
2016-02-13 17:47:20 +00:00
|
|
|
use \manager\ModuleRequest;
|
|
|
|
use \manager\ManagerError;
|
|
|
|
use \manager\ResourceDispatcher;
|
2016-02-03 22:22:18 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- [1] Gestion du sous-menu de gauche -->
|
|
|
|
|
|
|
|
<nav class='sub-menu-side'>
|
|
|
|
<span data-sublink='view'>
|
2016-02-13 17:47:20 +00:00
|
|
|
<span class='svg'><?php echo ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
|
2016-02-03 22:22:18 +00:00
|
|
|
<span>Mon Profil</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span data-sublink='password'>
|
2016-02-13 17:47:20 +00:00
|
|
|
<span class='svg'><?php echo ResourceDispatcher::getResource( 'f/svg/password/st/sub-menu-side' ); ?></span>
|
2016-02-03 22:22:18 +00:00
|
|
|
<span>Mot de passe</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$post = array();
|
|
|
|
foreach($_POST as $k=>$v)
|
|
|
|
array_push($post, $k);
|
|
|
|
|
|
|
|
$sublink = $post[0];
|
|
|
|
|
|
|
|
|
|
|
|
/* MON PROFIL
|
|
|
|
*
|
|
|
|
*/
|
2016-02-06 10:41:50 +00:00
|
|
|
// if( $sublink == 'view' ){
|
2016-02-03 22:22:18 +00:00
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
echo "<section data-sublink='view'>";
|
2016-02-03 22:22:18 +00:00
|
|
|
echo 'Profil';
|
|
|
|
echo '</section>';
|
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
// }
|
2016-02-03 22:22:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* CHANGER MOT DE PASSE
|
|
|
|
*
|
|
|
|
*/
|
2016-02-06 10:41:50 +00:00
|
|
|
// if( $sublink == 'password' ){
|
2016-02-03 22:22:18 +00:00
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
echo "<section data-sublink='password'>";
|
2016-02-03 22:22:18 +00:00
|
|
|
echo 'Changement de mot de passe';
|
|
|
|
echo '</section>';
|
|
|
|
|
2016-02-06 10:41:50 +00:00
|
|
|
// }
|
2016-02-03 22:22:18 +00:00
|
|
|
|
|
|
|
?>
|