Divide into tmpl-php