# Generic XHTML 1.1 header
function printHeader($title) {
print <<
${title}
ENDOLA;
printJQuery();
echo '';
}
# Generic XHTML 1.1 footer
function printFooter() {
print <<
ENDOLA;
}
function printJQuery() {
# Determine our protocol
$protocol = 'http';
if ($_SERVER['HTTPS']) {
$protocol = 'https';
}
# Print
echo <<
ENDOLA;
}
?>