<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 //jQuery Lightbox Plugin
echo"<!-- jQuery lightBox plugin -->
<script type=\"text/javascript\" src=\"",$firstparturl, "lightbox/js/jquery.js\"></script>
<script type=\"text/javascript\" src=\"",$firstparturl, "lightbox/js/jquery.lightbox-0.5.js\"></script>
<link rel=\"stylesheet\" href=\"", $firstparturl, "lightbox/css/jquery.lightbox-0.5.css\" type=\"text/css\" media=\"screen\" />
<script type=\"text/javascript\">
$(function() {
	$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
});
</script>
";?>


</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>
