0
"; include($tmpl['cnt']['head']); $file = $tmpl['cnt'][$p]; // $p will be the page (template) //echo "file: $file
"; if (file_exists($file)) { $show = file_get_contents($file); $_SESSION['contPage'] = $p; $_SESSION['ci'] = 0; // at this moment we don't have a ci (content img) anymore echo nl2br($show); } else { $t = "Probleem met openen pagina!
"; echo $t; } } else if ( $p == "admLogin" ) { if ($_SESSION['admLogin'] == 1) { // logged in earlier allready echo ""; } else { include($tmpl['cnt']['head']); include($tmpl['admLogin']); } } ?>





".print_r_str($_SESSION).""; } ?>