fixing prb issues
adding view.php