$articleController = new ArticleControls(); ?> <?php include "buttonAdmin.php"; ?> <div class="box"> <h3>Poster une nouvelle news:</h3> <form METHOD="POST" action="listener/postArticle.php"> Categorie: <!-- <select id="categorie"> --> <input type=text list=categories name="category"> <datalist id=categories> <?php foreach ($articleController->getCategories() as $value) { echo '<option>' . $value['category_name']; } ?> </datalist> <!--</select>--> <br /> Titre: <input type="text" name="title"></input> <br /> Tags: <input type="text" name="tags"></input> <br /> Votre article:<br /> <textarea dir="ltr" tabindex="1" name="editor" style="display: block; width: 540px; height: 250px" cols="60" rows="10"></textarea> <br /> Résumé :<br /> <textarea dir="ltr" tabindex="1" name="sumup_editor" style="display: block; width: 540px; height: 130px" cols="60" rows="10"></textarea>