createPostView.inc 710 B

123456789101112131415161718
  1. <?=$header?>
  2. <div id="contentContainer">
  3. <div id="content">
  4. <form method="POST" action="/?a=submitnewpost" enctype="multipart/form-data">
  5. <label for="postTitle">Post title:</label><input type="text" name="postTitle" id="postTitle" />
  6. <br />
  7. <label for="postContent">Post text:</label><textarea name="postContent" id="postContent"></textarea>
  8. <br />
  9. <label for="tags">Topic tags:</label><input type="text" name="tags" id="tags" value="<?=$tag?>" />
  10. <br />
  11. <label for="attachment1">Upload Attachment:</label><input type="file" name="attachment1" id="attachment1" />
  12. <br />
  13. <input type="submit" value="Create Post" />
  14. </form>
  15. </div>
  16. </div>
  17. <?php include "sidebar.inc"; ?>
  18. </html>