Separate menu.html for site-specific navigation from head.inc.html,
and move mandatory div/body closing tags out of foot.inc.php.
<hr class="footer" />
<?php
define('N', "\n");
<hr class="footer" />
<?php
define('N', "\n");
-include 'head.inc.html';
+include_once 'head.inc.html';
+
+include 'menu.html';
print '<div class="article">'."\n\n";
include_once 'auth.inc.php';
register_shutdown_function(function () {
print '<div class="article">'."\n\n";
include_once 'auth.inc.php';
register_shutdown_function(function () {
+ print "</body></html>\n";