function tableauPlanCadreElaboration($nom_tableau = "plan_cadre_elaboration")
{
    $liste = getPlanCadreElaboration();
    if (!empty($liste)) {
        echo "<table name='{$nom_tableau}' id='{$nom_tableau}'>";
        echo "<thead>\n                <th>Code du cours</th>\n                <th>Nom du cours</th>\n                <th>Date ajout</th>\n                <th>Ajouter un élaborateur</th>\n                </thead>";
        foreach ($liste as $row) {
            echo "<tr>\n                    <td>" . $row["CodeCours"] . "</td>\n                    <td>" . $row["NomCours"] . "</td>\n                    <td>" . $row["DateAjout"] . "</td>\n                    <td>" . "<button name='plan_cadre_elaboration' type='submit'" . "value='" . $row["No_PlanCadre"] . "'> + </button>" . "</td>\n                </tr>";
        }
        echo "</table>";
    } else {
        echo "<b>Aucun plan-cadre en élaboration</b>";
    }
}
                    <?php 
showUserList(getListUser(), "liste_utilisateur");
?>
                    <input type="text" name="search_user" 
                    onKeyUp="arrayFilter(this.value, this.form.liste_utilisateur)" 
                    onChange="arrayFilter(this.value, this.form.liste_utilisateur)"
                    >
                    <input type="submit" name="retirer_utilisateur" value="Continuer" class="btn btn-default" /> 
                    <br>
                    
                    <br>
                    
                    ou d'un plan-cadre en élaboration :
                    <br>
                    <?php 
listerPlanCadre(getPlanCadreElaboration(), 'liste_plan_cadre_elaboration');
?>
                    <input type="text" name="search_user" 
                    onKeyUp="arrayFilter(this.value, this.form.liste_plan_cadre_elaboration)" 
                    onChange="arrayFilter(this.value, this.form.liste_plan_cadre_elaboration)"
                    >
                    <input type="submit" name="retirer_plancadre" value="Continuer" class="btn btn-default" /> 
                    <br>
                    
                </form>
            </fieldset>
        </div>
    </body>
</html>

<?php 
                    >
                    <br>
                    
                    <br>
                     
                    <div class="col-md-offset-2 col-md-2">
                            <input type="submit" value="Ajouter" class="btn btn-default" /> 
                            
                            <br>
                            <br>
                    </div>
                     Liste des plans-cadres déjà en élaboration :
                    <br>
                    <?php 
showPlanCadreElaboration();
showInfoPlanCadre(getPlanCadreElaboration());
?>
                    
                </form>
               
            </fieldset>
        </div>
    </body>
</html>

<?php 
// affiche un message pour la confirmation de l'assignation
if (isset($_SESSION['info_assign'])) {
    ?>

        <script>alert("<?php