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-10-11 12:05:59 +00:00
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/reset.css' /> <!-- Reset du css natif des browsers -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/font.css' /> <!-- Positionnement global des pages -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/layout.css' /> <!-- Positionnement global des pages -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/header.css' /> <!-- Gestion du header -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/menu-side.css' /> <!-- Gestion du menu -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/container.css' /> <!-- Gestion du container -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/global.css' /> <!-- Style global -->
|
|
|
|
<link type='text/css' rel='stylesheet' href='/css/min/notif.css' /> <!-- Inclusion du system de notifs -->
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Dépendences Javascript -->
|
2016-10-10 10:24:03 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/min/crc32.js' ></script> <!-- Système de hash unique et rapide -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/local-storage-interface.js' ></script> <!-- Interface de gestion du 'localStorage' -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/html-builder.js' ></script> <!-- Gestion de construction de HTML -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/input-checker.js' ></script> <!-- Gestion dynamique des saisies -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/form-deflater.js' ></script> <!-- Gestion des formulaires js-friendly -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/reset.js' ></script> <!-- Corrections Javascript natif (ajouts) -->
|
2016-10-11 10:44:53 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/api.js' ></script> <!-- Gestion des transactions avec le serveur -->
|
2016-10-10 10:24:03 +00:00
|
|
|
<script type='text/javascript' src='/js/lib/min/page-manager.js' ></script> <!-- Gestion réseau/chargement/liens/URL -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/notif.js' ></script> <!-- Gestion des notifications -->
|
|
|
|
<script type='text/javascript' src='/js/lib/min/shortcut-manager.js' ></script> <!-- Gestion des raccourcis clavier -->
|
2016-04-15 10:10:38 +00:00
|
|
|
|
2016-04-25 14:18:50 +00:00
|
|
|
<!-- Dépendences Spéficiques pré-chargeables -->
|
2016-10-10 10:24:03 +00:00
|
|
|
<script type='text/javascript' src='/js/includes/min/input-html-phone-data.js' ></script> <!-- Gestion du constructeur HTML pour la page d'acquisition 'phone' -->
|
|
|
|
<script type='text/javascript' src='/js/includes/min/input-html-facebook-data.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-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-10-11 10:44:53 +00:00
|
|
|
<script type='text/javascript' src='/js/action-script.js'></script>
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
</body>
|
2016-04-18 06:42:26 +00:00
|
|
|
</html>
|