<!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" xml:lang="en" 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;?>variant-creative.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="wrap">
	<div id="header">
		<h1><a href="#">Variant Creative v1.5</a></h1>
		<p>a free website template from andreasviklund.com</p>
	</div>

	<div id="leftside">
		<h2 class="hide">Sample menu:</h2>
		<div class="extras">
			<p><?php if (!empty($article)) echo $backlink;?></p>
		</div>
		<ul class="avmenu">

							<?php 
							echo buildmenu("1","1","0");?>

		</ul>


	</div>

	<div id="extras">
		<?php echo loadcontent("additional-area");?>	
	</div>

    <div id="content">
		<?php echo $text;?>	</div>

	<div id="footer">
		<p><span>&copy; 2011 <a href="#">Your Name</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>
