I see a lot of errors in your template when comparing it against an unedited template file.
it almost appears as though a template was applied to this template.
How is your Dreamweaver site configured? Are the power store files at the root of the Dreamweaver site or in a subdirectory?
For editing to work correctly, the power store files must be at the root of your Dreamweaver site.