javascriptcursus/admin.php

<?php // Includes: require_once 'php/adminpage.php'; // Page: if(!isset($_GET['page'])) $_GET['page'] = 'home'; switch($_GET['page']) { case 'home': case 'assignments': case 'new_assignment': case 'edit_assignment': case 'delete_assignment': case 'answers': case 'logout': include 'php/admin/'.$_GET['page'].'.php'; break; default: include 'php/admin/home.php'; break; } ?>

Resultaat

Made by Thijs Aarnoudse