<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<?php
/*Include HEAD*/
if( !isset( $HTTP_GET_VARS ) )
$HTTP_GET_VARS =& $_GET;
@include("var.php");
@include($wobinich."functions.php");
@include($wobinich."buildpage.php");
error_reporting(0);
?>				
<title><?php echo $titel;?></title>
<?php if (!empty($meta)) echo "<meta name=\"description\" content=\"", $meta,"\" />";
?>
<link href="<?php echo $firstparturl,$templatedir;?>daleri-dark.css" rel="stylesheet" type="text/css" media="screen" />
<?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="top">
	<div id="topleft">
		<h1><a href="<?php echo $firstparturl;?>">Daleri Dark (HTML/CSS version) cms.libe.net</a></h1>
		<p>A free website template from andreasviklund.com .. modify this text in template/daleri-dark/index.php</p>
	</div>

	<div id="topright">
		<p>cms.libe.net</p>
	</div>
	<br class="clear" />
</div>

<div id="header">
	<div id="headerleft">
		<h2>Feature #1</h2>
		<p>Left-side feature text...</p>
	</div>
	<div id="headerright">
		<h2>Feature #2</h2>
		<p>Right-side feature text...</p>
	</div>
	<br class="clear" />
</div>

<div id="wrap">
	<div id="content">
		<div class="post">
			<h2><a href="#"><?php echo $titel;?></a></h2>
			<p class="timestamp"><?php if (!empty($article)) echo $backlink;?></p>
			<div class="contenttext">
				<p><?php echo $text;?></p>
			</div>
		</div>
	</div>

	<div id="sidebar">
		<h2>Navigation menu</h2>
		<ul class="menubuttons">
							<?php 
							if ($start=="1")echo "<li><a href=\"$firstparturl\" id=\"mainmenu_active\">Home</a></li>";else echo "<li><a href=\"$firstparturl\" id=\"mainmenu_link\">Home</a></li>";	
							echo buildmenu("1","1","0");?>


		</ul>
		<?php echo loadcontent("additional-area");?>	

	</div>
	
	<div id="footer">
		<p><span class="credits">&copy; 2011 <a href="#">Your Name: change it in template/daleri-dark/index.php</a></span><br />
		Template design by <a href="http://andreasviklund.com/">Andreas Viklund</a> <a href="http://cms.libe.net">powered by cms.libe.net</a></p>
	</div>
</div>
</body>
</html>
