OK, Ill try to make as much sence as possible.
Does dreamweaver have a feature where you can add something and it will appear on all pages?
If so add the ad code there.
If Not, you will probally have to ad the code to every page.
On the forum, you have to look around and ask how to put an ad code in phpbb.
(This is why I use xoops)