<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<title>Andreas Ahoniemi</title>
</head>
<body>
<div id="container">
<div id="header">
<img src="IMG/logo.jpg" />
</div>
<div id="navigation">
<a href="?p=ommig">Startsidan</a> | <a href="?p=galleriet">Galleriet</a> | <a href="?p=gastbok">Gästbok</a> | <a href="?p=blogg">Blogg</a> | <a href="?p=lankar">Länkar</a>
</div>
<div id="content">
<?php
$page = (isset($_GET['p'])) ? $_GET['p'] : 'ommig';
$pages = array("ommig", "galleriet", "gastbok", "lankar", "blogg");
if(in_array($page,$pages)) {
include('Includes/' . $page . '.php');
}
?>
</div>
<div id="footer">
</div>
</div>
</body>
</html>