<?php

$charset="ISO-8859-1";

$whoami = $_GET['id'];

include "/web/www.coli.uni-saarland.de/html/include/navigation.php";

$pt = readtree();

if( $pt->hasattr("stylesheet") )
  $extra_stylesheet = $pt->getattr("stylesheet");

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

if (version_compare(PHP_VERSION, '5.0.0', '>='))
  date_default_timezone_set("Europe/Berlin");

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

// output header
include "/web/www.coli.uni-saarland.de/html/include/common_start.html";
?>

<tr>
  <?php $thispage = navigation($pt, $whoami);?>
  <td align="left" valign="top">
    <div class="main">
      <?php contents($thispage);?>
    </div>
  </td>

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