For the footer you might be able to use hook location
process_templates_complete and just do something like:
Code:
$footer .= "<BR/>Extra Footer Stuff<BR/>";
There's a way that you can modify any template using hook cache_templates, but at that point what's in the cache is some php code that produces the output, so you can't just tack HTML on to the end. I've seen code to do it posted before but I don't have it handy.