edit addpost.php