Replace HTML/PHP mix with PHP
Wrap some long lines