<?php 
	if (isset($_GET['p'])) { $p = $_GET['p']; } //Page-Auswahl
	
	$pages = array(
		"krause" => "J&uuml;rgen Krause",
		"peckl" => "Manfred Peckl"
	);
	
	function drawmenu($pages) {
		foreach ($pages as $page => $title) {
			echo "<li class=\"";
			if($p == $page) {echo 'current';}
			echo "\"><a href=\"?p=";
			echo $page;
			echo "\">";
			echo $title;
			echo "</a></li>";
		}
		unset($page);
		unset($title);
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de">
	<head>
		<title>vergangene ausstellungen - polar - raum f&uuml;r kunst der gegenwart</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		
		<style type="text/css" media="all"> @import url(css/reset.css); @import url(css/layout.css); <?php if($p == "lebenslauf") echo "@import url(css/vita.css);"; ?></style>
		<style type="text/css" media="print"> @import url(css/print.css) print; </style>
		<!--[if IE]>
			<style type="text/css" media="all"> @import url(css/ie.css); </style>
		<![endif]-->
	</head>
	
	<body>
	
	<div id="wrapper">
		<div id="navigation">
	        <ul>
	            <li><h1>Vergangene Ausstellungen</h1></li>
	            <?php drawmenu($pages); ?>
	    	    <li><a href="../">zur&uuml;ck</a></li>
	        </ul>
	    </div>
	    <div id="content">
	        <?php if(isset($_GET['p'])) include ("content/".$p.".php"); ?>
	    </div>
	</div>
	</body>
</html>