2016-09-11 10:06:40 +00:00
|
|
|
<?php use \manager\MenuManager; ?>
|
2016-04-12 08:21:12 +00:00
|
|
|
|
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2016-04-05 13:08:42 +00:00
|
|
|
<title>SOCIOVIEW - Tableau de bord</title>
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
<!-- Informations de la page -->
|
|
|
|
<meta name='Content-Type' content='text/html; charset=utf-8'>
|
|
|
|
<meta charset='utf-8'>
|
|
|
|
<meta name='author' content='Adrien MARQUÈS alias {xdrm};'>
|
2016-04-05 13:08:42 +00:00
|
|
|
<meta name='description' content="Tableau de bord pour une enquete sociologique sur les liens sociaux entre les reseaux sociaux et la vie hors-ligne">
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
<!-- Dépendences CSS -->
|
2016-09-11 10:06:40 +00:00
|
|
|
<link type='text/css' rel='stylesheet' href='/css/reset/min.css' /> <!-- Reset du css natif des browsers -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/font/min.css' /> <!-- Positionnement global des pages -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/layout/min.css' /> <!-- Positionnement global des pages -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/header/min.css' /> <!-- Gestion du header -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/menu-side/min.css' /> <!-- Gestion du menu -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/container/min.css' /> <!-- Gestion du container -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/global/min.css' /> <!-- Style global -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/notif/min.css' /> <!-- Inclusion du system de notifs -->
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Dépendences Javascript -->
|
2016-09-11 10:06:40 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/crc32-min.js' ></script> <!-- Système de hash unique et rapide -->
|
|
|
|
<script type='text/javascript' src='/js/lib/local-storage-interface-min.js' ></script> <!-- Interface de gestion du 'localStorage' -->
|
|
|
|
<script type='text/javascript' src='/js/lib/html-builder-min.js' ></script> <!-- Gestion de construction de HTML -->
|
|
|
|
<script type='text/javascript' src='/js/lib/input-checker-min.js' ></script> <!-- Gestion dynamique des saisies -->
|
|
|
|
<script type='text/javascript' src='/js/lib/form-deflater-min.js' ></script> <!-- Gestion des formulaires js-friendly -->
|
|
|
|
<script type='text/javascript' src='/js/lib/reset-min.js' ></script> <!-- Corrections Javascript natif (ajouts) -->
|
|
|
|
<script type='text/javascript' src='/js/lib/api-min.js' ></script> <!-- Gestion des transactions avec le serveur -->
|
|
|
|
<script type='text/javascript' src='/js/lib/page-manager-min.js' ></script> <!-- Gestion réseau/chargement/liens/URL -->
|
|
|
|
<script type='text/javascript' src='/js/lib/notif-min.js' ></script> <!-- Gestion des notifications -->
|
|
|
|
<script type='text/javascript' src='/js/lib/shortcut-manager.js' ></script> <!-- Gestion des raccourcis clavier -->
|
2016-04-15 10:10:38 +00:00
|
|
|
|
2016-09-17 15:14:41 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/form-builder.js' ></script> <!-- Gestion de construction de <form> -->
|
|
|
|
|
2016-04-25 14:18:50 +00:00
|
|
|
<!-- Dépendences Spéficiques pré-chargeables -->
|
2016-09-11 10:06:40 +00:00
|
|
|
<script type='text/javascript' src='/js/includes/input-html-phone-data-min.js' ></script> <!-- Gestion du constructeur HTML pour la page d'acquisition 'phone' -->
|
|
|
|
<script type='text/javascript' src='/js/includes/input-html-facebook-data-min.js' ></script> <!-- Gestion du constructeur HTML pour la page d'acquisition 'facebook' -->
|
2016-04-25 14:18:50 +00:00
|
|
|
|
2016-04-15 10:10:38 +00:00
|
|
|
<!-- Librairies Externes Javascript -->
|
2016-09-11 10:06:40 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/highcharts/js/highcharts.js' ></script> <!-- Librairie pour les graphiques -->
|
|
|
|
<script type='text/javascript' src='/js/highcharts/js/modules/exporting.js' ></script> <!-- Librairie pour les graphiques -->
|
|
|
|
<script type='text/javascript' src='/js/lib/_charts-min.js' ></script> <!-- Librairie pour les graphiques -->
|
2016-05-23 09:10:24 +00:00
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-12 08:21:12 +00:00
|
|
|
<!-- LOGIN -->
|
2016-04-12 12:27:54 +00:00
|
|
|
<?php if( connected() ) echo "<div id='LOGIN'>";
|
2016-04-18 06:42:26 +00:00
|
|
|
else echo "<div id='LOGIN' class='active'>"; ?>
|
|
|
|
|
2016-04-13 11:36:49 +00:00
|
|
|
<?php //var_dump(session_id()); ?>
|
2016-04-12 08:21:12 +00:00
|
|
|
<div id='login-icon'></div>
|
2016-04-12 14:30:14 +00:00
|
|
|
<div id='login-close'>Accéder à la plateforme</div>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-13 11:36:49 +00:00
|
|
|
<form method='POST' action='' id='login-form'>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-13 13:20:57 +00:00
|
|
|
<!-- SI ON EST PAS CONNECTE -> FORMULAIRE DE LOGIN -->
|
|
|
|
<?php if( !connected() ){ ?>
|
|
|
|
<input type='text' placeholder='Identifiant ou adresse mail' name='login' id='login-login'>
|
|
|
|
<input type='password' placeholder='Mot de passe' name='password' id='login-password'>
|
|
|
|
<input type='submit' value='Connexion' name='login-sub'>
|
2016-04-12 12:27:54 +00:00
|
|
|
|
2016-04-13 13:20:57 +00:00
|
|
|
<span id='lost-password'>Mot de passe oublié ?</span>
|
|
|
|
|
|
|
|
<!-- SI ON EST CONNECTE -> FORMULAIRE DE LOGOUT -->
|
|
|
|
<?php }else{ ?>
|
2016-04-13 13:27:28 +00:00
|
|
|
<input type='submit' value='Déconnexion' name='logout-sub'>
|
2016-04-13 13:20:57 +00:00
|
|
|
<?php } ?>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-12 15:46:34 +00:00
|
|
|
</form>
|
2016-04-12 08:21:12 +00:00
|
|
|
</div>
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
|
2016-05-10 14:51:09 +00:00
|
|
|
<!-- CONTENEUR DES NOTIFICATIONS -->
|
2016-05-10 15:56:45 +00:00
|
|
|
<div id='notification-container'></div>
|
2016-05-10 14:51:09 +00:00
|
|
|
|
|
|
|
|
2016-04-13 12:49:53 +00:00
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
<!-- CORPS DE LA PAGE -->
|
|
|
|
<div id='WRAPPER'>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
<!-- HEADER DE LA PAGE -->
|
|
|
|
<div id='HEADER'>
|
2016-04-08 09:56:04 +00:00
|
|
|
|
|
|
|
<!-- ZONE DE RECHERCHE -->
|
|
|
|
<input type='text' placeholder='Recherche...' id='searchbar'>
|
|
|
|
|
|
|
|
<!-- ZONE UTILISATEUR -->
|
2016-04-12 09:47:03 +00:00
|
|
|
<div id='user-data'>
|
|
|
|
<?php if( connected() ){
|
|
|
|
echo "<span id='user-name'>".$_SESSION['username']."</span>";
|
|
|
|
echo "<span id='user-picture' class='active'></span>";
|
|
|
|
}else{
|
|
|
|
echo "<span id='user-name'>Me connecter</span>";
|
|
|
|
echo "<span id='user-picture'></span>";
|
|
|
|
}?>
|
|
|
|
</div>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-08 09:56:04 +00:00
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MENU DE LA PAGE -->
|
|
|
|
<nav id='MENU-SIDE'>
|
2016-04-13 14:45:15 +00:00
|
|
|
<?php
|
|
|
|
$menuInflater = new MenuManager();
|
|
|
|
echo $menuInflater->inflate();
|
2016-04-18 06:42:26 +00:00
|
|
|
?>
|
2016-04-04 09:47:17 +00:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- CONTENEUR DE LA PAGE -->
|
|
|
|
<div id='CONTAINER'></div>
|
|
|
|
|
|
|
|
</div>
|
2016-04-18 06:42:26 +00:00
|
|
|
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Dépendences Javascript après chargement des éléments -->
|
2016-09-15 17:53:51 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/form-builder/main.js'></script>
|
2016-09-20 18:16:00 +00:00
|
|
|
<script type='text/javascript' src='/js/action-script-min.js'></script>
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
</body>
|
2016-04-18 06:42:26 +00:00
|
|
|
</html>
|