kgun have you ever had a look at the Zend Framework for PHP?
Zend Framework
The View (Template) layer of the framework has a lot of view helpers for building common html. Great for reusing common bits of html.
In fact I would recommend you have a read through the framework documentation, it is quickly becoming a great toolkit for developers. Best of all you're free to use as many or as few of the classes as you need to use, nothing is forced on you.