Every php file has a corresponding tmpl file. It only calls that file. It doesn't call multiple tmpl files for each page. Well, technically I suppose it does because every page calls the ubb_registerednav.tmpl(or ubb_unregisterednav.tmpl if you're not logged in), but the unique elements for each page are called from the php scripts corresponding tmpl file.
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.