summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/firstinclude.inc.php13
-rw-r--r--includes/footer.inc.php5
-rw-r--r--includes/header.inc.php7
-rw-r--r--includes/lastinclude.inc.php2
-rw-r--r--includes/mainmenu.inc.php8
5 files changed, 35 insertions, 0 deletions
diff --git a/includes/firstinclude.inc.php b/includes/firstinclude.inc.php
new file mode 100644
index 0000000..4dc0eb8
--- /dev/null
+++ b/includes/firstinclude.inc.php
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CompAG<?php if(isset($title)) echo ' - ' . $title; ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $pathToRoot; ?>stylesheets/basis.css" />
+ <style type="text/css">
+ @import url(<?php echo $pathToRoot; ?>stylesheets/screen.css);
+ </style>
+ </head>
+ <body>
+ <div id="wrapper">
+
diff --git a/includes/footer.inc.php b/includes/footer.inc.php
new file mode 100644
index 0000000..47b9f63
--- /dev/null
+++ b/includes/footer.inc.php
@@ -0,0 +1,5 @@
+ <div id="footer">
+ <p>
+ Dieser wunderbare Text wurde von <?php echo $author; ?> geschrieben.
+ </p>
+ </div>
diff --git a/includes/header.inc.php b/includes/header.inc.php
new file mode 100644
index 0000000..278ec08
--- /dev/null
+++ b/includes/header.inc.php
@@ -0,0 +1,7 @@
+<div id="header">
+ <p>
+ <img src="<?php echo $pathToRoot; ?>images/banner.jpg" alt="CompAG" />
+ </p>
+</div>
+<div id="separator">
+</div>
diff --git a/includes/lastinclude.inc.php b/includes/lastinclude.inc.php
new file mode 100644
index 0000000..7fb2bd6
--- /dev/null
+++ b/includes/lastinclude.inc.php
@@ -0,0 +1,2 @@
+ </body>
+</html>
diff --git a/includes/mainmenu.inc.php b/includes/mainmenu.inc.php
new file mode 100644
index 0000000..2dc700a
--- /dev/null
+++ b/includes/mainmenu.inc.php
@@ -0,0 +1,8 @@
+<div id="mainmenu">
+ <ul>
+ <li><a href="<?php echo $pathToRoot; ?>contents/compag/main.php">Die CompAG</a></li>
+ <li><a href="<?php echo $pathToRoot; ?>contents/wissen/main.php">Wissen</a></li>
+ <li><a href="<?php echo $pathToRoot; ?>contents/linux/main.php">Linux</a></li>
+ <li><a href="<?php echo $pathToRoot; ?>contents/projekte/main.php">Projekte</a></li>
+ </ul>
+</div>