<!DOCTYPE html>

<html>
<head>
<?php echo head();?>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1">

<?php 
if($adm && $cmsimple_debugMode) 
{
	echo '
<style>
.tplge_menulink {margin: 22px 0 0 0;}
</style>
';
}
?>
</head>

<body id="body" <?php echo onload();?>>
<!-- utf-8 check: äöüß -->
<div id="top"><div id="TOP"></div></div>





<!-- INHALT / CONTENT -->

<div id="tplge_main_cont">

	<div id="tplge_contentin">
	<div class="tplge_menulink">
	<a href="#tplge_toplink"><img src="<?php echo $pth['folder']['templateimages']; ?>menulink.gif"></a>
	</div>
	<div class="tplge_langmenu"><?php echo languagemenu();?></div>

<?php echo content();?>

	</div>
<div style="clear: both;"></div>

</div>

<!-- ENDE INHALT / END CONTENT --> 





<div id="tplge_footer">
<div id="tplge_footerin">
<div id="tplge_toplink"><?php echo top('top.gif');?></div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>





<!-- SIDEBAR -->

<div id="tplge_main_nav">
	<div id="tplge_sidebar1">

<?php if(function_exists('pex_csstree')) echo pex_csstreeToc(); else echo toc(); ?>
<ul class="subnav">
<li><?php echo sitemaplink();?></li>
</ul>
<div style="clear: both;"></div>
	</div>
</div>

<!-- END SIDEBAR -->





<!-- FUSSLINKS / FOOTER LINKS -->

<div id="tplge_notes">
<div id="tplge_notesin">
<?php echo top('top.gif');?>
<p>
Powered by <a href="http://www.cmsimple.org/">CMSimple</a> | 
Template by <a href="http://cmsimple.org/">CMSimple</a> | 
<?php echo loginlink();?>
</p>

<div style="clear: both;"></div>
</div>
</div>

<?php if(!empty($bjs) && $file == 'template'){echo $bjs;} ?>

</body>
</html>