Good day. I am writing a php engine. I want to make a convenient template engine for layout. I use .tpl files as in DLE. I would like to know how to make the same labels as in DLE of type {title}, {list}, etc.
For example, there is a file list.tpl with a specific content. The question is how to make the contents of the list.tpl file output via the {list} tag?