$v) array_push($post, $k); $sublink = $post[0]; /* [1] VIEW -> Liste des groupes =========================================================*/ $request = new Request('clusterDefault/getAll'); // On utilise la methode 'getAll' du module 'groupDefault' $answer = $request->dispatch(); // On recupere la reponse echo "
"; $view = View::load('group.view'); echo $view->render(); echo '
'; /* [2] Creation d'utilisateur =========================================================*/ echo "
"; echo "
"; echo "
"; echo "
"; echo ""; echo "
"; echo ""; echo "
"; echo '
'; /* [3] Suppression de groupe =========================================================*/ echo "
"; echo "
"; // Recherche de groupe echo "
"; echo ""; // Indice du resultat echo "groupe 0 sur 0

"; echo "
"; echo "




"; // Suppression de groupe echo "
"; echo "
"; echo ""; echo "
"; echo '
'; /* [4] Modification de groupe =========================================================*/ echo "
"; echo "
"; echo "
"; echo ""; // Indice du resultat echo "groupe 0 sur 0

"; echo "
"; echo "




"; echo "
"; echo "
"; echo "
"; echo ""; echo "
"; echo '
'; /* [4] Gestion de filtrage =========================================================*/ echo "
"; /* (1) Si on a un ID_CLUSTER, on affiche la composition ---------------------------------------------------------*/ if( isset($post[1]) && preg_match('/^(u|m)(\d+)$/', $post[1], $m) ){ $view = View::load('group.member.choice'); echo $view->render([ (int) $m[2], // id_cluster (int) ($m[1]=='u') ? 0 : 1 // class ]); }else{ $view = View::load('group.member.group'); echo $view->render(); } echo '
'; /* [5] Gestion des permissions =========================================================*/ echo "
"; $view = View::load('group.permission'); echo $view->render(); echo '
';