Beispiel #1
0
                        <?php 
} else {
    ?>

                            <input class="btn btn-primary pull-right" type="submit" value="Ajouter">

                        <?php 
}
?>

                    </form>
                </div>

                <div class="col-sm-12">
                    <p class="alert alert-info"><strong>Il y a actuellement <?php 
echo $manager->count();
?>
 news. En voici la liste :</strong></p>
                </div>

                <!-- Liste des news -->
                <div  class="col-sm-12">
                    <table class="table table-bordered">
                        <tr>
                            <th>Auteur</th>
                            <th>Titre</th>
                            <th>Date d'ajout</th>
                            <th>Dernière modification</th>
                            <th>Action</th>
                        </tr>
                        <?php