template.inc included in phplib contains a template class, which can be used to separate program code and
interface, which brings great convenience to program design and interface design, and its implementation is faster than
template Be good. But there is a fatal little error that causes the set_block() function to not work properly, and this
function is very important. It is very useful when dealing with repeated blocks.
The following uses the simplest example to explain the usage and solution:
Template file: page1.ihtml (you can choose the name casually, the suffix ihtml is a common usage)