XTemplate is a template engine for PHP that allows you to store your HTML code separately to your PHP code. It has many useful features yet code is short and highly optimized. The code is stored here but everything else is on http://www.phpxtemplate.org/