<html lang="de">
<head>
<meta charset="ISO-8859-1" />
	<?php
	if( !isset( $HTTP_GET_VARS ) )
	$HTTP_GET_VARS =& $_GET;
	@include("var.php");
	@include($wobinich."functions.php");
	@include($wobinich."buildpage.php");
	error_reporting(0);
	?>				
<link rel="stylesheet" href="<?php echo $firstparturl,$templatedir;?>main.css" type="text/css" />
<title><?php echo $titel;?></title>
<?php if (!empty($meta)) echo "<meta name=\"description\" content=\"", $meta,"\" />";
?>
<?php 
echo"
<!--lightbox -->
<script type=\"text/javascript\" src=\"",$firstparturl, "lightbox/js/prototype.js\"></script>
<script type=\"text/javascript\" src=\"",$firstparturl, "lightbox/js/scriptaculous.js?load=effects,builder\"></script>
<script type=\"text/javascript\" src=\"",$firstparturl, "lightbox/js/lightbox.js\"></script>
<link rel=\"stylesheet\" href=\"", $firstparturl, "lightbox/css/lightbox.css\" type=\"text/css\" media=\"screen\" />
<!--lightbox -->";
?>
</head>
<body>

	<div id="headline">
		<h1>cms.libe.net</h1>
	</div>
	<div id="container">
			<div id="left">
				<?php if (!empty($article)) echo $backlink;?>				
				<?php 
				if ($start=="1")echo "<div id=\"level_1_011\"><a href=\"./\" id=\"mainmenu_active\">Home</a></div>";else echo "<div id=\"level_1_011\"><a href=\"../\" id=\"mainmenu_link\">Home</a></div>";	
				echo buildmenu("1","1","1");
				?>
			</div>
			<div id="right">
												<ul>
											<?php $menu=buildmenu("2","2","2"); if(!empty($menu)) echo "
											<li>
												<h2>",$menuforlevel[2],"</h2>
												<ul>
												", $menu,"
												</ul>
											</li>"; ?>
											<?php $menu=buildmenu("3","3","3"); if(!empty($menu)) echo "<br>
											<li>
												<h2>",$menuforlevel[3],"</h2>
												<ul>
												", $menu,"
												</ul>	
											</li>"; ?>
										</ul>
				<?php echo loadcontent("additional-area");?>
			</div>
			<div id="center">
				<?php echo $text;?>
			</div>

	</div>
	<div id="footer">
		<a href="http://cms.libe.net">powered by cms.libe.net</a>
	</div>

</body>
</html>
