newpost.php (942B)
1 <h2>New Post</h2> 2 <form action="../../core/backend/admin/blog/newpost.php" method="post"> 3 <div class="form-group"> 4 <label for="post_title">Title</label> 5 <input type="text" name="title" class="form-control" id="post_title"> 6 </div> 7 <div class="form-group"> 8 <label for="post_author">Author</label><!-- will later be check with login ;) --> 9 <input type="text" name="author" class="form-control" id="post_author"> 10 </div> 11 <div class="form-group"> 12 <label for="post_category">Category</label><!-- will later be check with login ;) --> 13 <input type="text" name="category" class="form-control" id="post_category"> 14 </div> 15 <div class="form-group"> 16 <label for="post_content">Content</label> 17 <div id="toolbar"></div> 18 <textarea name="content" style="width: 99%;" id="editor"></textarea> 19 </div> 20 <button type="submit" class="btn btn-default">Save</button> 21 </form>