<?php
-$body = $Page->render();
-
include_once 'head.inc.php';
print "<header>\n";
-ob_start();
$menu = new ArchiveArticle('menu.inc.html');
-print $menu->raw;
ob_start();
if ($User and property_exists($User, 'login') and $User->login) {
print '<div class="login"><p>';
print $nav;
print "</header>\n\n";
-print $body;
+print $Page->render();
register_shutdown_function(function () {
print '<footer>';