<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,"\" />";
?>
<!-- Slimbox2 -->
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo $firstparturl;?>lightbox/slimbox/js/slimbox2.js"></script>
	<link rel="stylesheet" href="<?php echo $firstparturl;?>lightbox/slimbox/css/slimbox2.css" type="text/css" media="screen" />
<!-- ... Slimbox2 -->

</head>
<body>
	<div id="container">
		<div id="headline">
			<h1>cms.libe.net</h1>

				<p>Simple Homepage Manager </p>
		</div>
		<div id="line"> <?php if (!empty($article)) echo $backlink;?>
		</div>
			<div id="left">
										

												<?php 
												$menu=buildmenu("1","1","0"); if(!empty($menu)) {echo "<ul>";
												if ($start=="1")echo "<li class=\"level_1_010\"><a href=\"$firstparturl\" id=\"mainmenu_active\">HOME</a></li>";else echo "<li class=\"level_2_222\"><a href=\"$firstparturl\" id=\"mainmenu_link\">HOME</a></li>";	
												echo $menu; 
													echo "</ul>
												</li>";} ?>
										
			</div>

			<div id="content">
				<div id="right">
					<?php echo loadcontent("additional-area");?>		
				</div>
				<div id="center">
					<?php echo $text;?>
				</div>
			</div>

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

</body>
</html>
