converted html into php.
made some changes.