<?php

include "/web/www.coli.uni-saarland.de/html/navigation.php";
 
// gibt HTML-Code aus, der direkt vor dem Hauptteil stehen soll
function start_mainpage() {
  echo "<td align=\"left\" valign=\"top\">\n\n<!-- Main page -->\n\n";
  echo "	    <div class=\"main\">\n\n";
}

// gibt HTML-Code aus, der direkt hinter dem Hauptteil stehen soll
function end_mainpage() {
  echo "\n	    </div>\n\n";
  echo "</td>\n\n";
}

// set some variables
$whoami = "index";   /////

$pt = readtree();

$pagetype = "content";
$pagetitle = $pt->title;

$modtime = strftime("%Y-%m-%d", filemtime("contents/$whoami.html"));
$pwuid_record = posix_getpwuid(fileowner("contents/$whoami.html"));
$modname = $pwuid_record["name"];
$contactmail = 'webmaster@coli.uni-sb.de';


// output header
include "/web/www.coli.uni-saarland.de/html/common_start.html";
echo "<tr>\n";

// output navbar
$thispage = navigation($pt, $whoami);

// output contents
start_mainpage();
include "contents/index.html"; //////
end_mainpage();

// output footer
include "/web/www.coli.uni-saarland.de/html/common_end.html";

?>
