(Doing some major changes, so if things don't look right - there's your reason)
Notice how with very basic HTML, I integrated the top navigation panel? Use basic HTML to create the same header and footer, and insert them in the proper templates. Be sure to save backups of the original, should anything go wrong. Learned that the hard way.
Also open up a separate browser with the original code. Just in case you're unable to reach the administrative panel, you have something to fall back on. Just reapply the code in the original browser, and you should be fine. A tip for you there.