<?php
-include 'head.inc.html';
+include_once 'head.inc.html';
+
+print "<header>\n";
+include 'menu.html';
+print "</header>\n\n";
print '<div class="article">'."\n\n";
include_once 'auth.inc.php';
register_shutdown_function(function () {
+ print "</div>\n\n";
include 'foot.inc.php';
+ print "</body></html>\n";
});
+
+include "$Page.html";
+if (file_exists("$Page.php")) include_once("$Page.php");
+