Templates: dynamicTemplate Nicy Martens (contact me)
This class implements a template engine that supports complex nested template blocks.
It use regular expressions to parse template files and locate the block marks.
Then it uses simple string replacement to substitute template place holders by the respective parameter values. It can use arrays to assign template parameters.