php templating system using straight php but with similar smarty interface