<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
--><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf-8">
	<?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;?>default.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 -->";
?>


<body>
<div id="logo">
	<h1><?php echo $titel;?></h1>
	<h2><a href="http://www.freecsstemplates.org/">The Wild By Free CSS Templates</a> <br /><a href="http://cms.libe.net">powered by cms.libe.net</a> </h2>
</div>
<div id="menu">
												<?php 
												$menu=buildmenu("1","1","1"); 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="sidebar">

												<?php 
												$menu=buildmenu("2","2","0"); if(!empty($menu)) {

												echo "		<div id=\"login\" class=\"boxed\">
													<h2 class=\"title\">Submenu</h2>
													<div class=\"content\"><ul>";
												echo $menu; 
												echo "</ul>
												</li></div></div>";} ?>
			
		
		<div id="updates" class="boxed">
			<h2 class="title">additional area</h2>
			<div class="content">
				<?php echo loadcontent("additional-area");?>		
			</div>
		</div>
	</div>
	<div id="main"><?php if (!empty($article)) echo $backlink, "<br /><br />";?>
		<div id="welcome" class="post">
		<?php echo $text;?>
		</div>
	</div>
	<div id="extra" style="clear: both;"> </div>
</div>
<div id="footer">
	<p id="legal">Copyright © 2007 The Wild. All Rights Reserved. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.<!--%@##--> Design provided by <a href="http://www.freewebtemplates.com">Free Website Templates</a>.<!--##@%--></p>
	<p id="links"><a href="http://cms.libe.net">powered by cms.libe.net</a>
</div>
</body></html>
