$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 "
"; $clusterView = new Viewer('group.view', []); $clusterView->view(); echo '
'; /* [2] Creation d'utilisateur =========================================================*/ 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 '
'; /* [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) ){ $membersChoice = new Viewer('group.members_choice', [ 'id_cluster' => (int) $m[2], 'class' => (int) ($m[1]=='u') ? 0 : 1 ]); $membersChoice->view(); }else{ $groupChoice = new Viewer('group.group_choice', []); $groupChoice->view(); } echo '
'; /* [5] Gestion des permissions =========================================================*/ echo "
"; $groupChoice = new Viewer('group.permission', []); $groupChoice->view(); echo '
';