Completed the hideshow and delete functions in view.php