html views converted into php