PHP with HTML

Refactored code to use alternative syntax and short tags where
applicable.