function makeFooter($footermessage, $pstyle, $footerbox = "") { echo "\n\t\n\t</div>\n\t\t<style>" . styleChoice($pstyle) . "</style>\n\t\t\t"; if ($footerbox == "false") { } else { echo "\n\t\t\t\t<div id='footer'>\n\t\t\t\t\t<p id='footerMessage'>" . $footermessage . "</p>\n\t\t\t\t</div>\n\t\t\t\t"; } }
function makeFooter($footermessage, $pstyle, $footerbox = "") { echo "\n\t<!--max devos made this -->\n\t</div>\n\t\t<style>" . styleChoice($pstyle) . "</style>\n\t\t\t"; if ($footerbox == "False") { } else { echo "\n\t\t\t\t<div id='footer'>\n\t\t\t\t\t<p id='footerMessage'>" . $footermessage . "</p>\n\t\t\t\t</div>\n\t\t\t\t"; } echo "\n\t\t<body>\n\t<html>\n\t<script>\n\t\n\tfunction calculateStuff(){\n\t\n\t\tvar body = document.body, html = document.documentElement;\n\t\t\n\t\tvar footer = document.getElementById('footer');\n\n\t\tvar height = Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight ) + 25;\n\t\t\n\t\tbody.style.height = height;\n\t\t\n\t\tfooter.style.width = '78%';\n\t\tfooter.style.height= '25px';\n\t\tfooter.style.top = height - 25;\n\t}\n\t\n\t</script>\n\t"; }