PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Read the Template Lite docs ordo a Google search for PHP template engines. A lot of the engines work the same - simple variable replacement. The bigger & better ones allow you to do logic in the template itself too.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.