I would install DB 1.1.3 first.
Also the source code of your "templates.php" would be necessary to see, what's happening.
Sometimes the code for the recordset gets corrupted by dreamweaver, so that it appears twice...
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.