It looks like you may have sent me the wrong versions of these pages. These are MySQL version and I think your current site is updated to MySQLi. If you send me the correct pages then I can see what might need to be updated.
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.