Updated view.php