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\ResourceDispatcher;
|
|
|
|
use \manager\Repo;
|
2016-04-22 08:27:58 +00:00
|
|
|
|
|
|
|
$somevariable = 'test';
|
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'>
|
|
|
|
Questionnaire
|
|
|
|
</section>
|
2016-04-04 09:47:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-17 10:34:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
<?php /* [2] ADMIN -> Donnees de Facebook
|
|
|
|
=========================================================*/
|
|
|
|
?><section data-sublink='facebook'>
|
|
|
|
Facebook
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php /* [3] ADMIN -> Donnees du Telephone
|
|
|
|
=========================================================*/
|
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-02 20:10:55 +00:00
|
|
|
<a style='display:none' id='download-target'></a>
|
2016-05-03 13:10:56 +00:00
|
|
|
<input type='submit' class='primary' id='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-03 09:11:41 +00:00
|
|
|
<input type='file' id='local-upload' style='display: none;'>
|
2016-05-03 13:10:56 +00:00
|
|
|
<input type='submit' class='primary' id='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-04-28 14:00:49 +00:00
|
|
|
<input type='submit' class='primary' id='clear-all' value='Tout effacer'>
|
|
|
|
</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 08:27:58 +00:00
|
|
|
<span data-space></span>
|
|
|
|
<h5 data-text="Renseigner au moins un des nominatifs pour chaque contact. (pseudo, prénom et/ou nom)"></h5>
|
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-04-27 17:54:11 +00:00
|
|
|
<input type='text' data-name='number' id='subject_phone_number' placeholder='Numéro de téléphone'>
|
2016-04-22 17:35:05 +00:00
|
|
|
<input type='text' data-name='username' placeholder='Pseudo'>
|
|
|
|
<input type='text' data-name='firstname' placeholder='Prénom'>
|
|
|
|
<input type='text' data-name='lastname' placeholder='Nom'>
|
|
|
|
<input type='submit' class='primary' data-name='submit' data-store value='Enregistrer'>
|
|
|
|
</h4>
|
|
|
|
</article>
|
2016-04-21 14:41:11 +00:00
|
|
|
<span data-space></span>
|
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-03 09:11:41 +00:00
|
|
|
<input type='file' id='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-22 17:35:05 +00:00
|
|
|
<span data-space></span>
|
|
|
|
<h5 data-text="Renseigner au moins un des nominatifs pour chaque contact. (pseudo, prénom et/ou nom)"></h5>
|
2016-04-29 13:24:03 +00:00
|
|
|
|
|
|
|
<span data-space></span>
|
|
|
|
<div class='arrow-container line' id='nav-contact'></div>
|
|
|
|
|
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-04-26 16:44:39 +00:00
|
|
|
<div class='arrow-container line' id='nav-mini'></div>
|
|
|
|
|
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-04-27 09:36:07 +00:00
|
|
|
<div class='arrow-container line' id='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-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 -->
|
|
|
|
<article class='matrice-panel'>
|
|
|
|
<table class='line'>
|
|
|
|
<?php
|
|
|
|
$contacts = array(
|
|
|
|
array(1, 'Sujet', 'Un' ),
|
|
|
|
array(2, 'Sujet', 'Deux' ),
|
|
|
|
array(3, 'Sujet', 'Trois' ),
|
|
|
|
array(4, 'Sujet', 'Quatre' ),
|
|
|
|
array(5, 'Sujet', 'Cinq' ),
|
|
|
|
array(6, 'Sujet', 'Six' ),
|
|
|
|
array(7, 'Sujet', 'Sept' ),
|
|
|
|
array(8, 'Sujet', 'Huit' ),
|
|
|
|
array(9, 'Sujet', 'Neuf' ),
|
|
|
|
array(10, 'Sujet', 'Dix' ),
|
|
|
|
array(11, 'Sujet', 'Onze' ),
|
|
|
|
array(12, 'Sujet', 'Douze' ),
|
|
|
|
array(13, 'Sujet', 'Treize' ),
|
|
|
|
array(14, 'Sujet', 'Quatorze'),
|
|
|
|
array(15, 'Sujet', 'Quinze' ),
|
|
|
|
array(16, 'Sujet', 'Seize' ),
|
|
|
|
array(17, 'Sujet', 'Dix-sept'),
|
|
|
|
array(18, 'Sujet', 'Dix-huit'),
|
|
|
|
array(19, 'Sujet', 'Dix-neuf'),
|
|
|
|
array(20, 'Sujet', 'Vingt' )
|
|
|
|
);
|
|
|
|
|
|
|
|
foreach($contacts as $A=>$contactA){
|
|
|
|
echo '<tr>';
|
|
|
|
|
|
|
|
if( $A > 0 )
|
|
|
|
echo '<td style="text-align: right;">'.$contactA[1].' '.$contactA[2].'</td>';
|
|
|
|
else
|
|
|
|
echo '<td></td>';
|
|
|
|
|
|
|
|
foreach($contacts as $B=>$contactB){ if( $B < count($contacts)-1 ){
|
|
|
|
if( $A == 0 )
|
|
|
|
echo '<td><span style="writing-mode: vertical-lr; text-align: right;">'.$contactB[1].' '.$contactB[2].'</span>';
|
|
|
|
else if( $B < $A )
|
|
|
|
echo "<td><input type='checkbox' name='matrice_$A"."_$B' data-name='$A' value='$B' id='matrice_$A"."_$B'><label for='matrice_$A"."_$B' title='matrice_$A"."_$B'></label>";
|
|
|
|
else
|
|
|
|
echo "<td class='hidden'>";
|
|
|
|
|
|
|
|
echo '</td>';
|
|
|
|
}}
|
|
|
|
|
|
|
|
echo '</tr>';
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
</table>
|
|
|
|
<h4 class='self color2' data-icon=''>
|
|
|
|
<input type='submit' class='primary' id='store-matrice' value='Enregistrer les relations'>
|
|
|
|
</h4>
|
|
|
|
</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>
|
|
|
|
<input type='submit' class='line' value='Envoyer le formulaire' id='submit-all'>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php /* [4] ADMIN -> Donnees de Messenger
|
|
|
|
=========================================================*/
|
|
|
|
?><section data-sublink='messenger'>
|
|
|
|
Messenger
|
|
|
|
</section>
|