diff --git a/autoloader.php b/autoloader.php index d7ff733..a7af07f 100644 --- a/autoloader.php +++ b/autoloader.php @@ -20,7 +20,7 @@ // Loads the build facade - require_once __BUILD__.'/Builder.php'; + // require_once __BUILD__.'/Builder.php'; /* AUTOLOADER @@ -52,7 +52,6 @@ \manager\sessionManager::session_start(); - /* [3] Gestion des droits des utilisateurs =========================================================*/ /* (1) Retourne si l'utilisateur est connecte ou non */ diff --git a/build/Builder.php b/build/Builder.php index e084f24..7d08a82 100644 --- a/build/Builder.php +++ b/build/Builder.php @@ -13,5 +13,5 @@ class Builder{ - + } diff --git a/build/api/module/token.php b/build/api/module/token.php index fdcc6b8..b6ebbf3 100644 --- a/build/api/module/token.php +++ b/build/api/module/token.php @@ -78,13 +78,6 @@ - - - - - - - } diff --git a/build/manager/sessionManager.php b/build/manager/sessionManager.php index 6a27e1e..bdad14e 100644 --- a/build/manager/sessionManager.php +++ b/build/manager/sessionManager.php @@ -27,7 +27,7 @@ // On definit l'id session si donne en argument if( $session_id != null ) session_id( $session_id ); - + // Precaution: on met a jour le cookie setcookie( 'PHPSESSID', session_id(), time()+60*30, '/'); @@ -45,7 +45,7 @@ /*******************/ private static function update_token(){ $token = self::$prefix.self::sha1(uniqid()); - + // On definit le token en session $_SESSION['session_token'] = $token; @@ -53,13 +53,12 @@ $_COOKIE['session_token'] = $_SESSION['session_token']; setcookie( 'session_token', $_COOKIE['session_token'], time()+60*30, '/'); } - + /************/ /* AMORCEUR */ /************/ public static function session_start(){ - \session_start(); - return; + return \session_start(); /* [1] Génération et Gestion des donnees a utiliser @@ -85,12 +84,12 @@ // On verifie l'id session (5 premiers chars du hash des donnees perso) $valid_sessid = strpos( session_id(), substr(self::$prefix,0,5) ) === 0; - // Si id session incorrect ou pas de token + // Si id session incorrect ou pas de token if( !$valid_sessid ) self::reset_session( $sessid ); // On initialise la session (bon id session) - - - + + + /* [3] Verification du token ==============================================================*/ // On verifie que le token est valide diff --git a/public_html/src/upload/local_data/.json b/public_html/src/upload/local_data/.json deleted file mode 100644 index dfcbb04..0000000 --- a/public_html/src/upload/local_data/.json +++ /dev/null @@ -1 +0,0 @@ -{"subject":{"subject_id":"1"},"contacts":{"0":{"uid":0,"username":"contact-x","existing":".","hash":4049848760},"1":{"uid":1,"username":"contact-1","existing":".","hash":480850802},"2":{"uid":2,"username":"contact-2","existing":".","hash":3700645528},"3":{"uid":3,"username":"contact-3","existing":".","hash":2625993278},"4":{"uid":4,"username":"contact-4","existing":".","hash":2274788109},"5":{"uid":5,"username":"contact-5","existing":".","hash":3347097515},"6":{"uid":6,"username":"contact-6","existing":".","hash":129681985},"7":{"uid":7,"username":"contact-7","existing":".","hash":1202515687},"8":{"uid":8,"username":"contact-8","existing":".","hash":832387111},"9":{"uid":9,"username":"contact-9","existing":".","hash":1904942209},"10":{"uid":10,"username":"contact-10"},"11":{"uid":11,"username":"contact-11"},"12":{"uid":12,"username":"contact-12"},"13":{"uid":13,"username":"contact-13"},"14":{"uid":14,"username":"contact-14"},"15":{"uid":15,"username":"contact-15"},"16":{"uid":16,"username":"contact-16"},"17":{"uid":17,"username":"contact-17"},"18":{"uid":18,"username":"contact-18"},"19":{"uid":19,"username":"contact-19"},"20":{"uid":20,"username":"contact-x"},"21":{"uid":21,"username":"contact-21"},"22":{"uid":22,"username":"contact-22"},"23":{"uid":23,"username":"contact-23"},"24":{"uid":24,"username":"contact-24"},"25":{"uid":25,"username":"contact-25"},"26":{"uid":26,"username":"contact-26"},"27":{"uid":27,"username":"contact-27"},"28":{"uid":28,"username":"contact-28"},"29":{"uid":29,"username":"contact-29"},"30":{"uid":30,"username":"contact-30"},"31":{"uid":31,"username":"contact-31"},"32":{"uid":32,"username":"contact-32"},"33":{"uid":33,"username":"contact-33"},"34":{"uid":34,"username":"contact-34"},"35":{"uid":35,"username":"contact-35"},"36":{"uid":36,"username":"contact-36"},"37":{"uid":37,"username":"contact-37"},"38":{"uid":38,"username":"contact-38"},"39":{"uid":39,"username":"contact-39"},"40":{"uid":40,"username":"contact-x"},"41":{"uid":41,"username":"contact-41"},"42":{"uid":42,"username":"contact-42"},"43":{"uid":43,"username":"contact-43"},"44":{"uid":44,"username":"contact-44"}},"mini":{"40":{"contact":40,"sexe":"2","age":".","studies":"0","loc":"0","reltype":"4","reltypeSpecial":"","unknown":false,"uid":40,"hash":2131767284,"valid":false,"timestamp":1480262797964},"41":{"contact":41,"sexe":"2","age":".","studies":"0","loc":".","reltype":"9","reltypeSpecial":"","unknown":false,"timestamp":0,"valid":false,"uid":41,"hash":3814988093},"42":{"contact":42,"sexe":"2","age":".","studies":"0","loc":".","reltype":"9","reltypeSpecial":"","unknown":false,"timestamp":0,"valid":false,"uid":42,"hash":1502973455},"43":{"contact":43,"sexe":"2","age":".","studies":"0","loc":".","reltype":"9","reltypeSpecial":"","unknown":false,"timestamp":0,"valid":false,"uid":43,"hash":809172193},"44":{"contact":44,"sexe":"2","age":".","studies":"0","loc":".","reltype":"9","reltypeSpecial":"","unknown":false,"timestamp":0,"valid":false,"uid":44,"hash":4144473642}},"fiches":{"0":{"sexe":"2","age":".","interest":"0","relmark":"0","job":"73","famsit":"0","studies":"08","reltype":"4","reltypeSpecial":"","city":"30","quartier":"20","cp":"10020","loc":"0","duration":["20","120"],"context":"6","medsoc":"0","medrel":"2","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":0,"contact":0,"hash":2448739354,"valid":true,"timestamp":1480262797855},"1":{"sexe":"1","age":"1","interest":"1","relmark":"1","job":"21","famsit":"1","studies":"01","reltype":"1","reltypeSpecial":"","city":"11","quartier":"1","cp":"10001","loc":"1","duration":["1","11"],"context":"1","medsoc":"1","medrel":"1","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":1,"contact":1,"hash":865669108,"valid":true,"timestamp":1480262537051},"2":{"sexe":"2","age":"2","interest":"2","relmark":"2","job":"22","famsit":"2","studies":"02","reltype":"2","reltypeSpecial":"","city":"12","quartier":"2","cp":"10002","loc":"2","duration":["2","12"],"context":"2","medsoc":"2","medrel":"2","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":2,"contact":2,"hash":3813968270,"valid":true,"timestamp":1480262795382},"3":{"sexe":"0","age":"3","interest":"3","relmark":"3","job":"23","famsit":"3","studies":"03","reltype":"3","reltypeSpecial":"","city":"13","quartier":"3","cp":"10003","loc":"3","duration":["3","13"],"context":"3","medsoc":"3","medrel":"0","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":3,"contact":3,"hash":1751660689,"valid":true,"timestamp":1480262582214},"4":{"sexe":"1","age":"4","interest":"4","relmark":"4","job":"31","famsit":"0","studies":"04","reltype":"4","reltypeSpecial":"","city":"14","quartier":"4","cp":"10004","loc":"0","duration":["4","14"],"context":"4","medsoc":"0","medrel":"1","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":4,"contact":4,"hash":3281345458,"valid":true,"timestamp":1480262795606},"5":{"sexe":"2","age":"5","interest":"0","relmark":"0","job":"32","famsit":"1","studies":"05","reltype":"5","reltypeSpecial":"","city":"15","quartier":"5","cp":"10005","loc":"1","duration":["5","15"],"context":"5","medsoc":"1","medrel":"2","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":5,"contact":5,"hash":2612355850,"valid":true,"timestamp":1480262582771},"6":{"sexe":"0","age":"6","interest":"1","relmark":"1","job":"36","famsit":"2","studies":"06","reltype":"6","reltypeSpecial":"","city":"16","quartier":"6","cp":"10006","loc":"2","duration":["6","16"],"context":"6","medsoc":"2","medrel":"0","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":6,"contact":6,"hash":1740449459,"valid":true,"timestamp":1480262795953},"7":{"sexe":"1","age":"7","interest":"2","relmark":"2","job":"41","famsit":"3","studies":"07","reltype":"10","reltypeSpecial":"autre","city":"17","quartier":"7","cp":"10007","loc":"3","duration":["7","17"],"context":"7","medsoc":"3","medrel":"1","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":7,"contact":7,"hash":611991831,"valid":true,"timestamp":1480262583633},"8":{"sexe":"2","age":"8","interest":"3","relmark":"3","job":"46","famsit":"0","studies":"08","reltype":"0","reltypeSpecial":"","city":"18","quartier":"8","cp":"10008","loc":"0","duration":["8","18"],"context":"8","medsoc":"0","medrel":"2","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":8,"contact":8,"hash":2327523302,"valid":true,"timestamp":1480262796221},"9":{"sexe":"0","age":"9","interest":"4","relmark":"4","job":"47","famsit":"1","studies":"09","reltype":"1","reltypeSpecial":"","city":"19","quartier":"9","cp":"10009","loc":"1","duration":["9","19"],"context":"9","medsoc":"1","medrel":"0","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":9,"contact":9,"hash":1938923971,"valid":true,"timestamp":1480262584221},"10":{"sexe":"1","age":"10","interest":"0","relmark":"0","job":"48","famsit":"2","studies":"10","reltype":"2","reltypeSpecial":"","city":"20","quartier":"10","cp":"10010","loc":"2","duration":["10","110"],"context":"10","medsoc":"2","medrel":"1","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":10,"contact":10,"hash":2054772991,"valid":true,"timestamp":1480262796478},"11":{"sexe":"2","age":"11","interest":"1","relmark":"1","job":"51","famsit":"3","studies":"11","reltype":"3","reltypeSpecial":"","city":"21","quartier":"11","cp":"10011","loc":"3","duration":["11","111"],"context":"11","medsoc":"3","medrel":"2","contextSpecial":["internet","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":11,"contact":11,"hash":146325425,"valid":true,"timestamp":1480262584720},"12":{"sexe":"0","age":"12","interest":"2","relmark":"2","job":"54","famsit":"0","studies":"","reltype":"4","reltypeSpecial":"","city":"22","quartier":"12","cp":"10012","loc":"0","duration":["12","112"],"context":"12","medsoc":"0","medrel":"0","contextSpecial":["","association",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":12,"contact":12,"hash":932127720,"valid":true,"timestamp":1480262796711},"13":{"sexe":"1","age":"13","interest":"3","relmark":"3","job":"55","famsit":"1","studies":"01","reltype":"5","reltypeSpecial":"","city":"23","quartier":"13","cp":"10013","loc":"1","duration":["13","113"],"context":"13","medsoc":"1","medrel":"1","contextSpecial":["","","autre"],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":13,"contact":13,"hash":3870613695,"valid":true,"timestamp":1480262585308},"14":{"sexe":"2","age":"14","interest":"4","relmark":"4","job":"56","famsit":"2","studies":"02","reltype":"6","reltypeSpecial":"","city":"24","quartier":"14","cp":"10014","loc":"2","duration":["14","114"],"context":"0","medsoc":"2","medrel":"2","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":14,"contact":14,"hash":2432458727,"valid":true,"timestamp":1480262796969},"15":{"sexe":"0","age":"15","interest":"0","relmark":"0","job":"61","famsit":"3","studies":"03","reltype":"10","reltypeSpecial":"autre","city":"25","quartier":"15","cp":"10015","loc":"3","duration":["15","115"],"context":"1","medsoc":"3","medrel":"0","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":15,"contact":15,"hash":1894161439,"valid":true,"timestamp":1480262585584},"16":{"sexe":"1","age":"16","interest":"1","relmark":"1","job":"66","famsit":"0","studies":"04","reltype":"0","reltypeSpecial":"","city":"26","quartier":"16","cp":"10016","loc":"0","duration":["16","116"],"context":"2","medsoc":"0","medrel":"1","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":16,"contact":16,"hash":3709255833,"valid":true,"timestamp":1480262797332},"17":{"sexe":"2","age":"17","interest":"2","relmark":"2","job":"69","famsit":"1","studies":"05","reltype":"1","reltypeSpecial":"","city":"27","quartier":"17","cp":"10017","loc":"1","duration":["17","117"],"context":"3","medsoc":"1","medrel":"2","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":17,"contact":17,"hash":2715016153,"valid":true,"timestamp":1480262585832},"18":{"sexe":"0","age":"18","interest":"3","relmark":"3","job":"71","famsit":"2","studies":"06","reltype":"2","reltypeSpecial":"","city":"28","quartier":"18","cp":"10018","loc":"2","duration":["18","118"],"context":"4","medsoc":"2","medrel":"0","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":18,"contact":18,"hash":2401144186,"valid":true,"timestamp":1480262797600},"19":{"sexe":"1","age":"0","interest":"4","relmark":"4","job":"72","famsit":"3","studies":"07","reltype":"3","reltypeSpecial":"","city":"29","quartier":"19","cp":"10019","loc":"3","duration":["19","119"],"context":"5","medsoc":"3","medrel":"1","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":19,"contact":19,"hash":629477506,"valid":true,"timestamp":1480262586055},"20":{"sexe":"2","age":".","interest":"0","relmark":"0","job":"73","famsit":"0","studies":"08","reltype":"4","reltypeSpecial":"","city":"30","quartier":"20","cp":"10020","loc":"0","duration":["20","120"],"context":"6","medsoc":"0","medrel":"2","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":20,"contact":20,"hash":3546086924,"valid":true,"timestamp":1480262797855},"21":{"sexe":"0","age":"2","interest":"1","relmark":"1","job":"74","famsit":"1","studies":"09","reltype":"5","reltypeSpecial":"","city":"31","quartier":"21","cp":"10021","loc":"1","duration":["21","121"],"context":"7","medsoc":"1","medrel":"0","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":21,"contact":21,"hash":596973097,"valid":true,"timestamp":1480262586267},"22":{"sexe":"1","age":"3","interest":"2","relmark":"2","job":"75","famsit":"2","studies":"10","reltype":"6","reltypeSpecial":"","city":"32","quartier":"22","cp":"10022","loc":"2","duration":["22","122"],"context":"8","medsoc":"2","medrel":"1","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":22,"contact":22,"hash":377519293,"valid":true,"timestamp":1480262798164},"23":{"sexe":"2","age":"4","interest":"3","relmark":"3","job":"76","famsit":"3","studies":"11","reltype":"10","reltypeSpecial":"autre","city":"33","quartier":"23","cp":"10023","loc":"3","duration":["23","123"],"context":"9","medsoc":"3","medrel":"2","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":23,"contact":23,"hash":2854932022,"valid":true,"timestamp":1480262586605},"24":{"sexe":"0","age":"5","interest":"4","relmark":"4","job":"81","famsit":"0","studies":"","reltype":"0","reltypeSpecial":"","city":"34","quartier":"24","cp":"10024","loc":"0","duration":["24","124"],"context":"10","medsoc":"0","medrel":"0","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":24,"contact":24,"hash":2193009114,"valid":true,"timestamp":1480262798387},"25":{"sexe":"1","age":"6","interest":"0","relmark":"0","job":"82","famsit":"1","studies":"01","reltype":"1","reltypeSpecial":"","city":"35","quartier":"25","cp":"10025","loc":"1","duration":["25","125"],"context":"11","medsoc":"1","medrel":"1","contextSpecial":["internet","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":25,"contact":25,"hash":3605584947,"valid":true,"timestamp":1480262586834},"26":{"sexe":"2","age":"7","interest":"1","relmark":"1","job":"10","famsit":"2","studies":"02","reltype":"2","reltypeSpecial":"","city":"36","quartier":"26","cp":"10026","loc":"2","duration":["26","126"],"context":"12","medsoc":"2","medrel":"2","contextSpecial":["","association",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":26,"contact":26,"hash":328221768,"valid":true,"timestamp":1480262798625},"27":{"sexe":"0","age":"8","interest":"2","relmark":"2","job":"21","famsit":"3","studies":"03","reltype":"3","reltypeSpecial":"","city":"37","quartier":"27","cp":"10027","loc":"3","duration":["27","127"],"context":"13","medsoc":"3","medrel":"0","contextSpecial":["","","autre"],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":27,"contact":27,"hash":3072076881,"valid":true,"timestamp":1480262587089},"28":{"sexe":"1","age":"9","interest":"3","relmark":"3","job":"22","famsit":"0","studies":"04","reltype":"4","reltypeSpecial":"","city":"38","quartier":"28","cp":"10028","loc":"0","duration":["28","128"],"context":"0","medsoc":"0","medrel":"1","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":28,"contact":28,"hash":328170044,"valid":true,"timestamp":1480262798844},"29":{"sexe":"2","age":"10","interest":"4","relmark":"4","job":"23","famsit":"1","studies":"05","reltype":"5","reltypeSpecial":"","city":"39","quartier":"29","cp":"10029","loc":"1","duration":["29","129"],"context":"1","medsoc":"1","medrel":"2","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":29,"contact":29,"hash":3048629884,"valid":true,"timestamp":1480262587380},"30":{"sexe":"0","age":"11","interest":"0","relmark":"0","job":"31","famsit":"2","studies":"06","reltype":"6","reltypeSpecial":"","city":"40","quartier":"30","cp":"10030","loc":"2","duration":["30","130"],"context":"2","medsoc":"2","medrel":"0","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":30,"contact":30,"hash":2674644843,"valid":true,"timestamp":1480262799178},"31":{"sexe":"1","age":"12","interest":"1","relmark":"1","job":"32","famsit":"3","studies":"07","reltype":"10","reltypeSpecial":"autre","city":"41","quartier":"31","cp":"10031","loc":"3","duration":["31","131"],"context":"3","medsoc":"3","medrel":"1","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":31,"contact":31,"hash":4012808490,"valid":true,"timestamp":1480262587638},"32":{"sexe":"2","age":"13","interest":"2","relmark":"2","job":"36","famsit":"0","studies":"08","reltype":"0","reltypeSpecial":"","city":"42","quartier":"32","cp":"10032","loc":"0","duration":["32","132"],"context":"4","medsoc":"0","medrel":"2","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":32,"contact":32,"hash":2318387796,"valid":true,"timestamp":1480262799409},"33":{"sexe":"0","age":"14","interest":"3","relmark":"3","job":"41","famsit":"1","studies":"09","reltype":"1","reltypeSpecial":"","city":"43","quartier":"33","cp":"10033","loc":"1","duration":["33","133"],"context":"5","medsoc":"1","medrel":"0","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":33,"contact":33,"hash":558965731,"valid":true,"timestamp":1480262587960},"34":{"sexe":"1","age":"15","interest":"4","relmark":"4","job":"46","famsit":"2","studies":"10","reltype":"2","reltypeSpecial":"","city":"44","quartier":"34","cp":"10034","loc":"2","duration":["34","134"],"context":"6","medsoc":"2","medrel":"1","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":34,"contact":34,"hash":4142975735,"valid":true,"timestamp":1480262799734},"35":{"sexe":"2","age":"16","interest":"0","relmark":"0","job":"47","famsit":"3","studies":"11","reltype":"3","reltypeSpecial":"","city":"45","quartier":"35","cp":"10035","loc":"3","duration":["35","135"],"context":"7","medsoc":"3","medrel":"2","contextSpecial":["","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":35,"contact":35,"hash":1619935067,"valid":true,"timestamp":1480262588193},"36":{"sexe":"0","age":"17","interest":"1","relmark":"1","job":"48","famsit":"0","studies":"","reltype":"4","reltypeSpecial":"","city":"46","quartier":"36","cp":"10036","loc":"0","duration":["36","136"],"context":"8","medsoc":"0","medrel":"0","contextSpecial":["","",""],"freq":["0","5","10","15","20"],"irlfreq":["0","5","10","15","20"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":36,"contact":36,"hash":1843330868,"valid":true,"timestamp":1480262799935},"37":{"sexe":"1","age":"18","interest":"2","relmark":"2","job":"51","famsit":"1","studies":"01","reltype":"5","reltypeSpecial":"","city":"47","quartier":"37","cp":"10037","loc":"1","duration":["37","137"],"context":"9","medsoc":"1","medrel":"1","contextSpecial":["","",""],"freq":["1","6","11","16","21"],"irlfreq":["1","6","11","16","21"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":37,"contact":37,"hash":2066689081,"valid":true,"timestamp":1480262588469},"38":{"sexe":"2","age":"0","interest":"3","relmark":"3","job":"54","famsit":"2","studies":"02","reltype":"6","reltypeSpecial":"","city":"48","quartier":"38","cp":"10038","loc":"2","duration":["38","138"],"context":"10","medsoc":"2","medrel":"2","contextSpecial":["","",""],"freq":["2","7","12","17","22"],"irlfreq":["2","7","12","17","22"],"connect":["0","2","4","6","8","10"],"connectSpecial":["",""],"uid":38,"contact":38,"hash":4098584431,"valid":true,"timestamp":1480262800225},"39":{"sexe":"0","age":"1","interest":"4","relmark":"4","job":"55","famsit":"3","studies":"03","reltype":"10","reltypeSpecial":"autre","city":"49","quartier":"39","cp":"10039","loc":"3","duration":["39","139"],"context":"11","medsoc":"3","medrel":"0","contextSpecial":["internet","",""],"freq":["3","8","13","18","23"],"irlfreq":["3","8","13","18","23"],"connect":["1","3","5","7","9","11"],"connectSpecial":["",""],"uid":39,"contact":39,"hash":3737786050,"valid":true,"timestamp":1480262603547}},"matrice":{}} \ No newline at end of file diff --git a/public_html/view.php b/public_html/view.php index 5e4ac00..8d1dc05 100644 --- a/public_html/view.php +++ b/public_html/view.php @@ -2,7 +2,7 @@
-