GetLatestPublishedRecord(); $welcomeobj->description = nl2br($welcomeobj->description); //load all categories $categorylist = $categoryobj->LoadList(0, 0, 1, 'datecreated'); //------------------------------------------------------- //GENERATE HTML //------------------------------------------------------- include "includes/header.inc.php"; print "

".$welcomeobj->title."

"; print $welcomeobj->description; if (count($categorylist)){ print "
 
 
"; print "
"; print "Onze werkzaamheden zijn:
"; foreach($categorylist as $category){ print "".$category['title']."
"; } print "
"; } include "includes/footer.inc.php"; ?>