That's strange. I ran the file by itself on my server and it worked just great, even when turning error reporting to max I only get notices about undefined variables which is quite natural.
The error must be somewhere in the script calling this template, but something is fooling the parser into thinking it is in the template. Runaway " and { or } can do that sometimes.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.