Index: trunk/src/map/inc/kmlHandler.php
===================================================================
--- trunk/src/map/inc/kmlHandler.php	(revision 7768)
+++ trunk/src/map/inc/kmlHandler.php	(revision 7769)
@@ -1,10 +1,6 @@
 <?php
-require_once($config['root']."/inc/LogHandler.class.php");
-
-function getArrayFromKML()
+//$file contains place of the KML file we will be getting our node information from
+function get_node_array($file)
 {
-global $config;
-$file = $config['kml_file'];
-
 	//Check if the file exists, if it does we load it. If it doesn't we exit and return an error message
 	if (file_exists($file)) 
@@ -14,5 +10,5 @@
 	else 
 	{
-		trigger_log(SYSLOG_CRIT, "Failed to open KML file $file", __FILE__, __LINE__);
+		exit('Failed to open example.xml.');
 	}
 
@@ -24,5 +20,5 @@
 	{
 		
-		$markers[(string)$placemark->name] = array(	"latitude"=>$placemark->LookAt->latitude,
+		$markers[] = array(	"latitude"=>$placemark->LookAt->latitude,
 							"longitude"=>$placemark->LookAt->longitude,
 							"name"=>$placemark->name,
Index: trunk/src/map/inc/node_info.php
===================================================================
--- trunk/src/map/inc/node_info.php	(revision 7768)
+++ trunk/src/map/inc/node_info.php	(revision 7769)
@@ -1,5 +1,6 @@
 <?php
-require_once("../../config.php");
-require_once($config['root']."/map/inc/kmlHandler.php");
+require_once("kmlHandler.php");
+
+$markers = get_node_array("example.kml");
 
 if(isset($_GET['view']))
@@ -45,15 +46,47 @@
 elseif($_GET['type'] == "single") //Info for single nodes is stored here
 {
-$markers = getArrayFromKML();
-
 	if($view == "beheerder")//Display part for beheerder view of a single node
 	{
-		print $markers[$_GET['name']]['description'];
-		
-	
+		echo <<<EOF
+		<div id="nodeinfo">
+			<h1>Nodenaam</h1>
+			<h2>
+			Locatie: Oude Adeweg Leiderdorp <br/>
+			Meer info: <br/>
+			>>>>>>: <br/>
+			>>>>>>: <br/>
+			>>>>>>: <br/>
+			>>>>>>: <br/>
+			
+			BEHEERDERSVIEW
+			</h2>
+		</div>
+		<div id="timestamp">
+			Laatste update: 15:42 <br/>
+			Do 25 maart
+		</div>
+EOF;
 	}
 	elseif($view == "gebruiker")//Display part for gebruiker view of a single node
 	{
-	
+		echo <<<EOF
+		<div id="nodeinfo">
+			<h1>Nodenaam</h1>
+			<h2>
+			Locatie: Oude Adeweg Leiderdorp <br/>
+			Meer info: <br/>
+			>>>>>>: <br/>
+			>>>>>>: <br/>
+			>>>>>>: <br/>
+			>>>>>>: <br/>
+			
+			GEBRUIKERSVIEW
+			</h2>
+		</div>
+		<div id="timestamp">
+			Laatste update: 15:42 <br/>
+			Do 25 maart
+		</div>
+EOF;
 	}
 }	
Index: trunk/src/map/inc/node_info_start.php
===================================================================
--- trunk/src/map/inc/node_info_start.php	(revision 7769)
+++ trunk/src/map/inc/node_info_start.php	(revision 7769)
@@ -0,0 +1,17 @@
+<?php
+function node_info_start()
+{
+echo <<<EOF
+<div id="nodeinfo">
+	<b>Mouse over</b> een node voor meer informatie.<br/><br/>
+	<b>Klik</b> op een node om deze te selecteren.<br/><br/>
+	Gebruik de <b>zoekfunctie</b> om de een specifieke node te zoeken.
+</div>
+<div id="timestamp">
+	Laatste update: 15:42 <br/>
+	Do 25 maart
+</div>
+EOF;
+}
+?>
+	
Index: trunk/src/map/index.php
===================================================================
--- trunk/src/map/index.php	(revision 7768)
+++ trunk/src/map/index.php	(revision 7769)
@@ -1,7 +1,9 @@
 <?php 
+require_once("inc/kmlHandler.php");
 require_once("../config.php");
-require_once($config['root']."/map/inc/kmlHandler.php");
+require_once("inc/node_info_start.php");
 
-$markers = getArrayFromKML();
+#getting array from kmlHandler
+$markers = get_node_array($config['root']."/map/inc/example.kml");
 
 # Key is defined to be the domain name if exists
@@ -55,5 +57,5 @@
 		<div id="infotop">
 		<!-- Calling on the node information from an external php file. inc/node_info.php -->
-			<?php ?>
+			<?php node_info_start(); ?>
 		</div>
 
