Submitting posts not redirects to the view-posts.php page.
Added delete-post.php
This file takes a $_GET["post-id"] and deletes the file specified by post-id.