Online state
This commit is contained in:
51
index.php
Normal file
51
index.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
include "inc/config.php"; // die Konfigurationsdateien lesen
|
||||
|
||||
if(isset($_GET['section']) AND isset($titel[$_GET['section']])) {
|
||||
$temp_titel = $titel[$_GET['section']];
|
||||
} else {
|
||||
$temp_titel = "Das Unternehmen";
|
||||
}
|
||||
|
||||
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";
|
||||
echo " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
|
||||
echo "<html>\n";
|
||||
echo " <head>\n";
|
||||
echo " <title>".$temp_titel."</title>\n";
|
||||
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"css/page.css\" />\n";
|
||||
echo " <meta http-equiv=\"Content-Type\"
|
||||
content=\"text/html; charset=ISO-8859-1\" />\n";
|
||||
echo " </head>\n";
|
||||
echo " <body align=\"center\">\n";
|
||||
|
||||
echo " <div id=\"root\">\n"; // ganz oberer Div-Holder
|
||||
echo " <div id=\"header\">\n"; // Oben der Header
|
||||
include "header.php";
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"clear\">\n"; // Textfluss ändern
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"cleaner\">\n"; // Textfluss ändern
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"greybar\">\n"; // Der graue Balken
|
||||
include "greybar.php";
|
||||
echo " </div>\n";
|
||||
|
||||
echo " <div id=\"links\">\n"; // linkes Menu
|
||||
include "links.php";
|
||||
echo " </div>\n";
|
||||
/* echo " <div id=\"greybar\">\n"; // Der graue Balken
|
||||
include "greybar.php";
|
||||
*/ echo " </div>\n";
|
||||
echo " <div id=\"inhalt\">\n"; // In der Mitte der Inhalt
|
||||
include "inhalt.php";
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"footer\">\n"; // Unten der Footer
|
||||
include "footer.php";
|
||||
echo " </div>\n";
|
||||
echo " <br style=\"clear:both;\" />\n"; // css-float beenden
|
||||
echo " </div>\n";
|
||||
|
||||
echo " </body>\n";
|
||||
echo "</html>\n";
|
||||
?>
|
||||
Reference in New Issue
Block a user