<?php

error_reporting(E_ALL);
include "inc/config.php";

if (isset($_GET['section']) and isset($titel[$_GET['section']])) {
    $temp_titel = $titel[$_GET['section']];
} else {
    $temp_titel = "Das Unternehmen";
}
?>
<!DOCTYPE html>
<html lang='de'>
<head>
    <title><?php
        echo $temp_titel; ?></title>
    <link rel="stylesheet" type="text/css" href="css/page.css"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body align="center">
<div id="root">
    <div id="header">
        <?php
        include "header.php"; ?>
    </div>
    <div id="clear"></div>
    <div id="cleaner"></div>
    <div id="greybar">
        <?php
        include "greybar.php"; ?>
    </div>
    <div id="links">
        <?php
        include "links.php"; ?>
    </div>
    <div id="inhalt">
        <?php
        include "inhalt.php"; ?>
    </div>
    <div id="footer">
        <?php
        include "footer.php"; ?>
    </div>
    <br style="clear:both;"/>
</div>
</body>
</html>