2016-04-04 09:47:17 +00:00
|
|
|
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
|
|
|
|
require_once __ROOT__.'/manager/autoloader.php';
|
|
|
|
use \manager\ModuleRequest;
|
|
|
|
use \manager\ManagerError;
|
|
|
|
use \manager\Repo;
|
2016-05-27 10:50:32 +00:00
|
|
|
debug();
|
2016-04-04 09:47:17 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-17 10:34:24 +00:00
|
|
|
<?php /* [1] ADMIN -> Donnees de questionnaire
|
|
|
|
=========================================================*/
|
|
|
|
?><section data-sublink='survey'>
|
2016-05-26 14:33:00 +00:00
|
|
|
|
|
|
|
<h6>Rechercher l'identifiant d'un sujet</h6><br>
|
|
|
|
|
|
|
|
<!-- CHAMPS DE RECHERCHE -->
|
|
|
|
<input type='text' id='search-field' placeholder='Recherche de sujet' data-name='search_subject'>
|
|
|
|
<input type='button' id='search-subject' class='primary' value='Rechercher'><br><br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- RESULTATS DE LA RECHERCHE -->
|
|
|
|
<section data-panel-list>
|
|
|
|
<!-- Header -->
|
|
|
|
<div data-header>
|
|
|
|
<span>Recherche de sujets</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Description des résultats actifs -->
|
|
|
|
<div data-description>Liste des sujets classés par noms. Leurs identifiants sont indiqués dans les encadrés.</div>
|
|
|
|
|
|
|
|
<!-- Conteneur de la liste des elements -->
|
|
|
|
<ul data-list></ul>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
2016-04-17 10:34:24 +00:00
|
|
|
</section>
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-26 14:33:00 +00:00
|
|
|
|
|
|
|
|
2016-04-17 10:34:24 +00:00
|
|
|
<?php /* [3] ADMIN -> Donnees du Telephone
|
|
|
|
=========================================================*/
|
2016-05-27 10:13:19 +00:00
|
|
|
|
|
|
|
/* (1) On récupére la liste de tous les sujets */
|
|
|
|
$getAll = new ModuleRequest('subject/getAll', array());
|
|
|
|
$getAllR = $getAll->dispatch();
|
|
|
|
|
|
|
|
$allSub = array();
|
|
|
|
if( $getAllR->error == ManagerError::Success )
|
|
|
|
$allSub = $getAllR->get('subjects');
|
|
|
|
|
2016-04-20 13:21:01 +00:00
|
|
|
?><section data-sublink='phone'> <!-- IMPORT ou SAISIE -->
|
|
|
|
|
2016-04-20 14:57:59 +00:00
|
|
|
<section data-timeline>
|
2016-04-28 14:00:49 +00:00
|
|
|
|
|
|
|
<h3 data-n='0' class='color4'>Effacer les données de la dernière enquête</h3>
|
|
|
|
<span data-space></span>
|
2016-05-03 13:10:56 +00:00
|
|
|
<h4 class='self color2' data-icon=''>
|
2016-05-18 12:46:13 +00:00
|
|
|
<a style='display:none' id='p_download-target'></a>
|
|
|
|
<input type='submit' class='primary' id='p_export-all' value="Sauvegarder l'enquête"><br>
|
2016-05-03 09:11:41 +00:00
|
|
|
</h4>
|
|
|
|
|
2016-05-03 13:10:56 +00:00
|
|
|
<h4 class='self color2' data-icon='u'>
|
2016-05-18 12:46:13 +00:00
|
|
|
<input type='file' id='p_local-upload' style='display: none;'>
|
|
|
|
<input type='submit' class='primary' id='p_import-all' value='Récupérer une sauvegarde'><br>
|
2016-05-03 09:11:41 +00:00
|
|
|
</h4>
|
|
|
|
|
2016-05-03 13:10:56 +00:00
|
|
|
<h4 class='self color2' data-icon='w'>
|
2016-05-18 12:46:13 +00:00
|
|
|
<input type='submit' class='primary' id='p_clear-all' value='Tout effacer'>
|
2016-04-28 14:00:49 +00:00
|
|
|
</h4>
|
|
|
|
<span data-space></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-25 08:39:04 +00:00
|
|
|
<h3 data-n='1' class='color4'>Identifier l'enquêté</h3>
|
2016-04-22 17:35:05 +00:00
|
|
|
<article class='subject-panel'>
|
2016-04-25 08:39:04 +00:00
|
|
|
<h4 class='self color2' data-icon='a'>
|
2016-05-12 19:47:52 +00:00
|
|
|
<input type='hidden' data-name='tmp_id' value=''>
|
2016-05-27 10:13:19 +00:00
|
|
|
|
|
|
|
<span class='select-container nobold'><select data-name='subject_id'>
|
|
|
|
<option value='.' disabled selected>Identifiant</option>
|
|
|
|
<?php foreach($allSub as $id=>$data)
|
2016-05-30 14:54:41 +00:00
|
|
|
// if( !isset($data['phone']) ) // Si aucune donnée pour phone
|
2016-05-27 10:50:32 +00:00
|
|
|
echo "<option value='$id'>".$data['name']." [$id]</option>";
|
2016-05-27 10:13:19 +00:00
|
|
|
?>
|
2016-05-27 10:50:32 +00:00
|
|
|
</select></span>
|
2016-05-27 10:13:19 +00:00
|
|
|
|
2016-05-27 14:32:26 +00:00
|
|
|
<input type='submit' class='primary' data-name='submit' id='store_p_subject' data-store value='Enregistrer'>
|
2016-04-22 17:35:05 +00:00
|
|
|
</h4>
|
|
|
|
</article>
|
2016-04-22 08:27:58 +00:00
|
|
|
|
|
|
|
|
2016-04-25 08:39:04 +00:00
|
|
|
<h3 data-n='2' class='color4'>Importer un journal d'appel</h3>
|
2016-04-21 09:26:21 +00:00
|
|
|
<span data-space></span>
|
2016-04-25 08:43:33 +00:00
|
|
|
<h5 data-text="Seuls les fichiers au format XML et spécifiques sont pris en compte."></h5>
|
2016-04-25 08:39:04 +00:00
|
|
|
<h4 data-icon='u' class='color2'>
|
2016-05-18 12:46:13 +00:00
|
|
|
<input type='file' id='p_call_log-import'>
|
2016-04-22 09:48:25 +00:00
|
|
|
<span class='file-input'>Importer un journal d'appels</span>
|
2016-04-21 08:33:03 +00:00
|
|
|
</h4>
|
2016-04-21 09:26:21 +00:00
|
|
|
<span data-space></span>
|
|
|
|
<!-- <span data-tag='OU'></span> -->
|
2016-04-25 08:39:04 +00:00
|
|
|
<h3 data-n='2' class='color4'>Saisir manuellement les contacts</h3>
|
2016-04-21 14:41:11 +00:00
|
|
|
|
2016-04-29 13:24:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-21 14:41:11 +00:00
|
|
|
<!-- GESTION DE L'AJOUT DES CONTACTS -->
|
2016-04-29 13:24:03 +00:00
|
|
|
<span data-space></span>
|
2016-05-18 12:46:13 +00:00
|
|
|
<div class='arrow-container line' id='p_nav-contact'></div>
|
2016-04-29 13:24:03 +00:00
|
|
|
|
2016-04-21 14:41:11 +00:00
|
|
|
<article class='contact-panel'>
|
|
|
|
</article>
|
2016-04-21 15:14:50 +00:00
|
|
|
<span data-space></span>
|
2016-04-25 08:43:33 +00:00
|
|
|
|
2016-04-25 13:41:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- GESTION DES MINI-FICHES RELATIONS -->
|
2016-04-25 14:18:50 +00:00
|
|
|
<h3 data-n='3' class='color4'>Remplir les fiches relations rapides pour tous les contacts</h3>
|
2016-04-26 16:44:39 +00:00
|
|
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
2016-04-25 14:18:50 +00:00
|
|
|
<span data-space></span>
|
2016-05-18 12:46:13 +00:00
|
|
|
<div class='arrow-container line' id='p_nav-mini'></div>
|
2016-04-26 16:44:39 +00:00
|
|
|
|
2016-04-25 13:41:25 +00:00
|
|
|
<article class='mini-relation-panel'>
|
|
|
|
|
|
|
|
</article>
|
2016-04-25 14:18:50 +00:00
|
|
|
<span data-space></span>
|
2016-04-25 13:41:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-21 15:14:50 +00:00
|
|
|
<!-- GESTION DES FICHES RELATIONS -->
|
2016-04-25 14:18:50 +00:00
|
|
|
<h3 data-n='4' class='color4'>Remplir les fiches relations complètes des contacts les plus contactés</h3>
|
2016-04-26 16:44:39 +00:00
|
|
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
2016-05-18 12:46:13 +00:00
|
|
|
<div class='arrow-container line' id='p_nav-fiche'></div>
|
2016-04-30 09:33:01 +00:00
|
|
|
<article class='relation-panel'></article>
|
|
|
|
<span data-space></span>
|
2016-04-25 14:42:59 +00:00
|
|
|
|
2016-05-09 07:45:45 +00:00
|
|
|
|
|
|
|
|
2016-05-08 16:31:58 +00:00
|
|
|
<!-- MATRICE RELATIONNELLE DES 2 TOP 10 -->
|
|
|
|
<h3 data-n='5' class='color4'>Saisir les matrices des relations entre les contacts les plus contactés</h3>
|
|
|
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
2016-05-24 09:51:46 +00:00
|
|
|
<article class='matrice-panel' id='snake'></article>
|
2016-04-27 09:36:07 +00:00
|
|
|
|
2016-04-21 15:14:50 +00:00
|
|
|
|
2016-05-08 16:31:58 +00:00
|
|
|
<!-- BOUTON D'ENVOI DU FORMULAIRE -->
|
|
|
|
<h3 data-n='6' class='color4'>Envoi des données</h3>
|
|
|
|
<article class='submit-panel'>
|
|
|
|
<h4>
|
2016-05-18 12:46:13 +00:00
|
|
|
<input type='submit' class='line' value='Envoyer le formulaire' id='p_submit-all'>
|
2016-05-08 16:31:58 +00:00
|
|
|
</h4>
|
|
|
|
</article>
|
2016-04-30 09:33:01 +00:00
|
|
|
|
2016-04-20 14:57:59 +00:00
|
|
|
</section>
|
2016-04-25 14:18:50 +00:00
|
|
|
<span data-space></span>
|
2016-04-20 09:59:21 +00:00
|
|
|
|
2016-04-17 10:34:24 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-18 12:46:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php /* [4] ADMIN -> Donnees Facebook
|
2016-04-17 10:34:24 +00:00
|
|
|
=========================================================*/
|
2016-05-18 12:46:13 +00:00
|
|
|
?><section data-sublink='facebook'> <!-- IMPORT ou SAISIE -->
|
|
|
|
|
|
|
|
<section data-timeline>
|
|
|
|
|
|
|
|
<h3 data-n='0' class='color4'>Effacer les données de la dernière enquête</h3>
|
|
|
|
<span data-space></span>
|
|
|
|
<h4 class='self color2' data-icon=''>
|
|
|
|
<a style='display:none' id='f_download-target'></a>
|
|
|
|
<input type='submit' class='primary' id='f_export-all' value="Sauvegarder l'enquête"><br>
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<h4 class='self color2' data-icon='u'>
|
|
|
|
<input type='file' id='f_local-upload' style='display: none;'>
|
|
|
|
<input type='submit' class='primary' id='f_import-all' value='Récupérer une sauvegarde'><br>
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<h4 class='self color2' data-icon='w'>
|
|
|
|
<input type='submit' class='primary' id='f_clear-all' value='Tout effacer'>
|
|
|
|
</h4>
|
|
|
|
<span data-space></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 data-n='1' class='color4'>Identifier l'enquêté</h3>
|
|
|
|
<article class='subject-panel'>
|
|
|
|
<h4 class='self color2' data-icon='a'>
|
2016-05-27 10:13:19 +00:00
|
|
|
|
|
|
|
<span class='select-container nobold'><select data-name='subject_id'>
|
|
|
|
<option value='.' disabled selected>Identifiant</option>
|
|
|
|
<?php foreach($allSub as $id=>$data)
|
2016-05-30 14:54:41 +00:00
|
|
|
// if( !isset($data['facebook']) ) // Si aucune donnée pour fb
|
2016-05-27 10:50:32 +00:00
|
|
|
echo "<option value='$id'>".$data['name']." [$id]</option>";
|
2016-05-27 10:13:19 +00:00
|
|
|
?>
|
2016-05-27 10:50:32 +00:00
|
|
|
</select></span>
|
|
|
|
|
2016-05-18 12:46:13 +00:00
|
|
|
<input type='submit' class='primary' data-name='submit' data-store value='Enregistrer'>
|
|
|
|
</h4>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
<h3 data-n='2' class='color4'>Saisir manuellement les amis</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- GESTION DE L'AJOUT DES CONTACTS -->
|
|
|
|
<span data-space></span>
|
|
|
|
<h5 data-text="Renseigner au moins un des nominatifs pour chaque amis. (pseudo, prénom et/ou nom)"></h5>
|
|
|
|
|
|
|
|
<span data-space></span>
|
|
|
|
<div class='arrow-container line' id='f_nav-contact'></div>
|
|
|
|
|
|
|
|
<article class='contact-panel'>
|
|
|
|
</article>
|
|
|
|
<span data-space></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- GESTION DES MINI-FICHES RELATIONS -->
|
|
|
|
<h3 data-n='3' class='color4'>Remplir les fiches relations rapides pour tous les amis</h3>
|
|
|
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
|
|
|
<span data-space></span>
|
|
|
|
<div class='arrow-container line' id='f_nav-mini'></div>
|
|
|
|
|
|
|
|
<article class='mini-relation-panel'>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<span data-space></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- GESTION DES FICHES RELATIONS -->
|
|
|
|
<h3 data-n='4' class='color4'>Remplir les fiches relations complètes des amis les plus proches</h3>
|
|
|
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
|
|
|
<div class='arrow-container line' id='f_nav-fiche'></div>
|
|
|
|
<article class='relation-panel'></article>
|
|
|
|
<span data-space></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MATRICE RELATIONNELLE DES 2 TOP 10 -->
|
|
|
|
<h3 data-n='5' class='color4'>Saisir les matrices des relations entre les amis les plus proches</h3>
|
|
|
|
<!-- NAVIGATION ENTRE LES FICHES -->
|
|
|
|
<article class='matrice-panel'></article>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- BOUTON D'ENVOI DU FORMULAIRE -->
|
|
|
|
<h3 data-n='6' class='color4'>Envoi des données</h3>
|
|
|
|
<article class='submit-panel'>
|
|
|
|
<h4>
|
|
|
|
<input type='submit' class='line' value='Envoyer le formulaire' id='f_submit-all'>
|
|
|
|
</h4>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
<span data-space></span>
|
|
|
|
|
2016-04-17 10:34:24 +00:00
|
|
|
</section>
|