diff --git a/support/tool/CRAFT/includes/admin_top.php b/support/tool/CRAFT/includes/admin_top.php
index 9dac950511694a3c9516a13e42e62dc335510600..78b0bf1365bd0863665583b6547bf2623994da8a 100644
--- a/support/tool/CRAFT/includes/admin_top.php
+++ b/support/tool/CRAFT/includes/admin_top.php
@@ -22,7 +22,7 @@
 		</script>
   	
   	<!-- Het toevoegen van het javascript bestandje met de benodigde functies --> 
-		<?php echo('<script type="text/javascript" src="'.$_SESSION['pagina'].'includes/functies.js"></script>'); ?>
+		<?php echo('<script type="text/javascript" src="'.$_SESSION['pagina'].'includes/functies.php"></script>'); ?>
 
 	</head>
 	
diff --git a/support/tool/CRAFT/includes/functies.js b/support/tool/CRAFT/includes/functies.php
similarity index 83%
rename from support/tool/CRAFT/includes/functies.js
rename to support/tool/CRAFT/includes/functies.php
index d7136595465aa0547fe9e274321b38dd0ad4cfb8..6a5c151c62fb97df7e898878ab9b948ad8e294f3 100644
--- a/support/tool/CRAFT/includes/functies.js
+++ b/support/tool/CRAFT/includes/functies.php
@@ -1,4 +1,8 @@
-  
+<?php
+	
+	session_start();
+
+?>  
   //functie welke controleert of een documentElement bestaat
   //als dit element bestaat, dan wordt de border verwijderd en de kleur gereset
   function menuOptie(item) {
@@ -32,22 +36,28 @@
     if (optie == 1) {
   	}
   	else if (optie ==2) {
-      document.getElementById('suboptie1').innerHTML="Comp. overzicht"
-      document.getElementById('suboptie2').innerHTML="Comp. toevoegen"
-      document.getElementById('suboptie3').innerHTML="Comp. bewerken"
-      document.getElementById('suboptie4').innerHTML="Comp. verwijderen";
+      <?php 
+      	echo("document.getElementById('suboptie1').innerHTML=\"Comp. overzicht\";");
+      	if($_SESSION['toevoegen'] == 1)  echo("document.getElementById('suboptie2').innerHTML=\"Comp. toevoegen\";");
+      	if($_SESSION['bewerken'] == 1)   echo("document.getElementById('suboptie3').innerHTML=\"Comp. bewerken\";");
+      	if($_SESSION['verwijderen'] ==1) echo("document.getElementById('suboptie4').innerHTML=\"Comp. verwijderen\";");
+      ?>
   	}	
   	else if (optie ==3) {
-      document.getElementById('suboptie1').innerHTML="Melding overzicht"
-      document.getElementById('suboptie2').innerHTML="Melding toevoegen"
-      document.getElementById('suboptie3').innerHTML="Melding bewerken"
-      document.getElementById('suboptie4').innerHTML="Melding verwijderen";
+    	<?php 
+	    	echo("document.getElementById('suboptie1').innerHTML=\"Melding overzicht\";");
+	    	if($_SESSION['toevoegen'] == 1)   echo("document.getElementById('suboptie2').innerHTML=\"Melding toevoegen\";");
+	    	if($_SESSION['bewerken'] == 1)    echo("document.getElementById('suboptie3').innerHTML=\"Melding bewerken\";");
+	    	if($_SESSION['verwijderen'] == 1) echo("document.getElementById('suboptie4').innerHTML=\"Melding verwijderen\";");
+      ?>
    	}	
   	else if (optie ==4) {
-      document.getElementById('suboptie1').innerHTML="Statistieken overzicht"
-      document.getElementById('suboptie2').innerHTML="Statistieken toevoegen"
-      document.getElementById('suboptie3').innerHTML="Statistieken bewerken"
-      document.getElementById('suboptie4').innerHTML="Statistieken verwijderen";
+      <?php 
+      	echo("document.getElementById('suboptie1').innerHTML=\"Statistieken overzicht\";");
+      	if($_SESSION['toevoegen'] == 1)   echo("document.getElementById('suboptie2').innerHTML=\"Statistieken toevoegen\";");
+      	if($_SESSION['bewerken'] == 1)    echo("document.getElementById('suboptie3').innerHTML=\"Statistieken bewerken\";");
+      	if($_SESSION['verwijderen'] == 1) echo("document.getElementById('suboptie4').innerHTML=\"Statistieken verwijderen\";");
+      ?>
   	}	
   	else if (optie ==5) {
   	}	
diff --git a/support/tool/CRAFT/includes/login_funcs.php b/support/tool/CRAFT/includes/login_funcs.php
index c47aaa2218f7396e931f438e27d7ac1092714e56..88f2ca68c18cef7df56deaef6f09462393ee25bd 100644
--- a/support/tool/CRAFT/includes/login_funcs.php
+++ b/support/tool/CRAFT/includes/login_funcs.php
@@ -74,6 +74,9 @@
 					$_SESSION['pag_meld']   = $row['Melding_Zichtbaar'];
 					$_SESSION['pag_stats']  = $row['Stats_Zichtbaar'];
 					$_SESSION['pag_instel'] = $row['Instel_Zichtbaar'];
+					$_SESSION['toevoegen']   = $row['Toevoegen'];
+					$_SESSION['bewerken']    = $row['Bewerken'];
+					$_SESSION['verwijderen'] = $row['Verwijderen'];
 					
 					$query = "UPDATE gebruiker SET Laatst_Ingelogd = NOW() WHERE Werknem_ID='". $_SESSION['gebr_id'] ."'";
 					mysql_query($query);
diff --git a/support/tool/CRAFT/includes/pagina_top.php b/support/tool/CRAFT/includes/pagina_top.php
index 383247caec86e7918e1054230e733a13a2c66e22..bb2b326d4fd9750bf11e0fdaf7abb74b6794bef9 100644
--- a/support/tool/CRAFT/includes/pagina_top.php
+++ b/support/tool/CRAFT/includes/pagina_top.php
@@ -20,7 +20,7 @@
 
 
   	<!-- Het toevoegen van het javascript bestandje met de benodigde functies --> 
-		<?php echo('<script type="text/javascript" src="'.$help.'includes/functies.js"></script>'); ?>
+		<?php echo('<script type="text/javascript" src="'.$help.'includes/functies.php"></script>'); ?>
 		
 
 	</head>
diff --git a/support/tool/CRAFT/includes/stylesheet_1024.css b/support/tool/CRAFT/includes/stylesheet_1024.css
index f7afe774361e7f0198bbb5dd60edb9528ab95178..466954d762fe467c68c5281618210b726916cfdc 100644
--- a/support/tool/CRAFT/includes/stylesheet_1024.css
+++ b/support/tool/CRAFT/includes/stylesheet_1024.css
@@ -65,4 +65,5 @@ a.actieveoptie:active			{text-decoration: underline; }
 
 
 .foutmelding { font-family: verdana, helvetica, arial, sans-serif; color: #FF0000; }
+#zwart {color: #000000; }
 b { color: #FF0000; }
diff --git a/support/tool/CRAFT/includes/stylesheet_1280.css b/support/tool/CRAFT/includes/stylesheet_1280.css
index c485d7317a2cde23454257edd220e375c0d84a8c..0a887014c3be9dcba6b3d352168645ce7ee4e556 100644
--- a/support/tool/CRAFT/includes/stylesheet_1280.css
+++ b/support/tool/CRAFT/includes/stylesheet_1280.css
@@ -63,4 +63,5 @@ a.actieveoptie:active			{text-decoration: underline; }
 #boom_schakel_knop  { border:1px solid #000000; background-color=#B3CCE6; text-align: center; width: 85%; height: 100%; margin-left: auto; margin-right: auto; }
 
 .foutmelding { font-family: verdana, helvetica, arial, sans-serif; color: #FF0000; }
+#zwart {color: #000000; }
 b { color: #FF0000; }
diff --git a/support/tool/CRAFT/main/start.php b/support/tool/CRAFT/main/start.php
index dc8a4a2612e806cdc62270873f8c20f1d19ab328..b3d086800e2df33fd895bcae8a2bb9956ce6688b 100644
--- a/support/tool/CRAFT/main/start.php
+++ b/support/tool/CRAFT/main/start.php
@@ -1 +1,66 @@
-Startpagina
\ No newline at end of file
+<?php	
+	if(isset($_SESSION['main_deel'])){
+		$_SESSION['main_deel'] = 1;
+	  $_SESSION['huidige_pagina'] = $_SESSION['pagina'] . 'main.php?p='.$_SESSION['main_deel'].'&s=1';
+	  
+	  require_once($_SESSION['pagina'] . 'includes/login_funcs.php');
+		
+	  //controleren of er iemand ingelogd is...
+	  if ($LOGGED_IN = user_isloggedin()) {
+	  	
+	  	?>
+	    <div id="rechterdeel">
+	    	<?php
+		    	$query = "SELECT inlognaam FROM gebruiker WHERE Werknem_ID = '". $_SESSION['gebr_id'] ."'";
+		    	$result = mysql_query($query);
+					$row = mysql_fetch_array($result);
+		    	echo("<h2>Welkom ". $row['inlognaam'] ."</h2>");
+					
+					//splitten op de spatie (formaat is als volgt: 2007-08-26 12:01:56)
+					$gedeeldveld=split(" ",$_SESSION['laatste_inlog']);
+					//datum veld opdelen zodat de jaar, maand en dagvelden makkelijk te benaderen zijn
+					$datum = split("-",$gedeeldveld[0]);
+		    	echo("Sinds uw laatste keer inloggen (".$datum[2] ."-". $datum[1] ."-". $datum[0]." om ". $gedeeldveld[1] .") zijn de volgende wijzigingen in het systeem opgetreden.<br>");
+
+//					$_SESSION['laatste_inlog'] = '2007-01-12 09:00:00'; //<----- CHEATZ!!!!!!
+
+		    	
+					$query = "SELECT Count(Meld_Lijst_ID) FROM melding_lijst WHERE Meld_Datum > '".$_SESSION['laatste_inlog']."'";
+				  $res = mysql_query($query);
+					$row = mysql_fetch_array($res);
+					if ($row[0] != 0) {
+						echo("<b id=\"zwart\">Toegevoegde meldingen:</b><br>");
+	   				echo("<iframe id=\"frame_type\" name=\"frame_type\" align=\"middle\" marginwidth=\"0\" marginheight=\"0\" src=\"". $_SESSION['pagina'] ."main_meldingen/Meldingen_Overzicht.php\" width=\"650\" height=\"110\" ALLOWTRANSPARENCY frameborder=\"0\" scrolling=\"auto\"></iframe>");
+	   			}
+
+					$query = "SELECT Count(Comp_Lijst_ID) FROM comp_lijst WHERE Laatste_Melding in";
+					$query = $query . "(SELECT Meld_Lijst_ID FROM melding_lijst WHERE Meld_Datum > ";
+					$query = $query . "'".$_SESSION['laatste_inlog']."' AND Voorgaande_Melding = 1)";
+				  $res = mysql_query($query);
+					$row = mysql_fetch_array($res);
+
+					if ($row[0] != 0) {
+						echo("<br><br><b id=\"zwart\">Toegevoegde componenten:</b><br>");
+   					echo("<iframe id=\"frame_comp\" name=\"frame_comp\" align=\"middle\" marginwidth=\"0\" marginheight=\"0\" src=\"". $_SESSION['pagina'] ."main_componenten/Comp_Overzicht.php\" width=\"650\" height=\"110\" ALLOWTRANSPARENCY frameborder=\"0\" scrolling=\"auto\"></iframe>");
+   				} 
+
+					$query = "SELECT Count(Comp_Type) FROM comp_type WHERE Aanmaak_Datum > '".$_SESSION['laatste_inlog']."'";
+				  $res = mysql_query($query);
+					$row = mysql_fetch_array($res);
+					if ($row[0] != 0) {
+						echo("<br><br><b id=\"zwart\">Toegevoegde componenttypes:</b><br>");
+	   				echo("<iframe id=\"frame_type\" name=\"frame_type\" align=\"middle\" marginwidth=\"0\" marginheight=\"0\" src=\"". $_SESSION['pagina'] ."main_componenten/Type_Overzicht.php\" width=\"650\" height=\"110\" ALLOWTRANSPARENCY frameborder=\"0\" scrolling=\"auto\"></iframe>");
+	   			}		    	
+    	
+	    	?>
+	    	
+	    	
+	    
+	    </div>
+	
+	<?php  
+	      }
+		//niemand ingelogt, dus bezoeker naar de inlogpagina sturen
+		else header("Location: index.php");  
+	}
+?>