in reply to Using Template toolkit

I found most of the problem. It seems that the include path should point to the base documents that I include, no to the header and footer files.
INCLUDE_PATH => '..\templates',
I have other problems, but I think I can work around those. Thanks everyone.