Convert HTML to CakePHP