Update for CourseView

-PHP functions update