Index: webapp/root/inc/footer.php
===================================================================
--- webapp/root/inc/footer.php	(revision d7e6e9c05793ecfb9463f251a9ae5dc052d93810)
+++ webapp/root/inc/footer.php	(revision d7e6e9c05793ecfb9463f251a9ae5dc052d93810)
@@ -0,0 +1,20 @@
+<?php
+/*
+    Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+?>
+	</body>
+</html>
Index: webapp/root/inc/header.php
===================================================================
--- webapp/root/inc/header.php	(revision d7e6e9c05793ecfb9463f251a9ae5dc052d93810)
+++ webapp/root/inc/header.php	(revision d7e6e9c05793ecfb9463f251a9ae5dc052d93810)
@@ -0,0 +1,59 @@
+<?php
+/*
+    Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+// error_reporting(E_WARNING & E_ERROR);
+error_reporting(E_ALL);
+ini_set('display_errors', true);
+
+if(!isset($headerStylesheetLinks)){
+	$headerStylesheetLinks = Array();
+}
+if(!isset($headerJavascriptLinks)){
+	$headerJavascriptLinks = Array();
+}
+if(!isset($headerTitle)){
+	$headerTitle = "";
+}
+if(!isset($headerJavascript)){
+	$headerJavascript = "";
+}
+
+?>
+	<!DOCTYPE HTML>
+	<html>
+		<head>
+			<meta charset="utf-8"/>
+			<title>GNUBoat <?php echo (empty($headerTitle)) ? "" : " - ". $headerTitle; ?></title>
+			<link rel="stylesheet" href="css/main.css" type="text/css"/>
+<?php
+	foreach ($headerStylesheetLinks as $cssFile){
+		echo "			<link rel=\"stylesheet\" content=\"text/css\" href=\"". $cssFile ."\"/>\n";
+	}
+?>
+			<script language="javascript" src="javascript/jquery-2.2.4.min.js" type="text/javascript"></script>
+			<script language="javascript" src="javascript/main.js" type="text/javascript"></script>
+<?php
+	foreach ($headerJavascriptLinks as $headerJavascriptLinks){
+		echo "			<script language=\"javascript\" src=\"". $headerJavascriptLinks ."\" type=\"text/javascript\"></script>\n";
+	}
+	if(!empty($headerJavascript)){
+		echo "		<script language=\"javascript\" type=\"text/javascript\">". $headerJavascript ."</script>\n";
+	}
+?>
+	</head>
+		<body>
Index: webapp/root/index.php
===================================================================
--- webapp/root/index.php	(revision e82ce689fda71efd5d12125139f486f999d69110)
+++ webapp/root/index.php	(revision d7e6e9c05793ecfb9463f251a9ae5dc052d93810)
@@ -1,31 +1,48 @@
-<html>
-	<head>
-		<title>GNU Boat - Web Application</title>
-		<link rel="stylesheet" type="text/css" href="css/main.css"/>
-	</head>
-	<body>
+<?php
+/*
+    Copyright (C) 2016 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+$title = "Web Application";
+
+require_once("inc/header.php");
+?>
 		<div id="display">
-			<div id="stw">
+			<div id="speedthroughwater">
 				<h2>STW</h2>
-				<span id="value">12.5</span> kts
+				<span id="value">-</span> kts
 			</div>
-			<div id="depth">
+			<div id="waterdepth">
 				<h2>Depth</h2>
-				<span id="value">22.1</span> m
+				<span id="value">-</span> m
 			</div>
-			<div id="sog">
+			<div id="speedoverground">
 				<h2>SOG</h2>
-				<span id="value">15.0</span> kts
+				<span id="value">-</span> kts
 			</div>
 			<div id="gps">
 				<h2>Sat</h2>
-				<span id="value">0</span>
+				<span id="value">-</span>
 			</div>
-			<div id="temperaturewater">
+			<div id="watertemperature">
 				<h2>Water</h2>
-				<span id="value">22</span>&#176;C
+				<span id="value">-</span>&#176;C
 			</div>
 		</div>
 		<div id="map"/>
-	</body>
-</head>
+<?php
+require_once("inc/footer.php");
+?>
