<?php
$language = isset($_GET['lang']) ? $_GET['lang'] : "de";
$content = isset($_GET['cont']) ? $_GET['cont'] : "home";
switch($language)
{
case "de":
define("LANG", "de");
break;
case "en":
define("LANG", "en");
break;
case "fr":
define("LANG", "fr");
break;
case "it":
define("LANG", "it");
break;
}
include('language.php');
$idmenu = 'menu_normal';
$idcontentground = 'content_ground_normal';
$idcontent = 'content_normal';
ob_start();
switch($content)
{
default:
include('_cont/cont.home.php');
$idmenu = 'menu_forth';
$idcontentground = 'content_ground_forth';
$idcontent = 'content_forth';
break;
case 'fly':
include('_cont/cont.fly.php');
break;
case 'links':
include('_cont/cont.links.php');
break;
case 'partner':
include('_cont/cont.partner.php');
break;
case 'contact':
include('_cont/cont.contact.php');
break;
case 'hotel':
include('_cont/cont.hotel.php');
break;
case 'interhome':
include('_cont/cont.interhome.php');
break;
case 'car':
include('_cont/cont.car.php');
break;
case 'bus':
include('_cont/cont.bus.php');
break;
}
$navcontent = ob_get_clean();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
...
</head>
<body>
<div id="ballina">
...
<!-- Navigation Links oben -->
<div id="<?=$idmenu;?>">
<ul>
<?php include('_nav/nav.php');?>
</ul>
</div>
<div id="<?=$idcontentground;?>">
<div id="<?=$idcontent;?>">
<?=$navcontent;?>
</div>
<?php include('_nav/nav.r.php');?>
</div>
...
</div>
...
</body>
</html>