refer to the original contact.php page, notice all of the php code before the doctype tag. make sure this code is still in tact after applying the template, if not, copy if from a an original of the contact.php file into the new one.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.