<?php

	include("mainfile.php");
	$show = $_GET["show"];
	if ( ! $show ) $show = 'index'; 
	
	$file = "./contents/$show" . ".html";
	
	page_header($show);
	showMenu();
	if (file_exists($file)) {
	    readfile($file);
	} else {
	    print "Can't find page $file"; 
	}
	page_footer();

?>

