Fixed addpost.php, deletePost.php, header.php, index.php.