0) { set_top($ids, $shortcut); $load_id = $shortcut; } $result = mysql_query_eval("SELECT * FROM sitemap WHERE sites_id = ".$sites_id." AND id = ".$load_id); if(mysql_numrows($result) == 1) { // gegevens in variabelen laden $row = mysql_fetch_array($result, MYSQL_ASSOC); $vars = get_var_values($load_id); send_header($row['extension']); //Get filename layout $layout_file = getfieldfromtable("filename", "layouts", $row['layout']).".php"; if(file_exists($layout_file)) { include $layout_file; } else { echo "Deze module (".$layout_file.") bestaat niet"; } } else { echo "404 not found"; //header("Location: http://www.lont.nl/index.html"); } ?>