<!DOCTYPE html>

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

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


<!-- MAIN TABLE -->

<table id="tplge_maintable">
	<tr>


<!-- NAVIGATION AREA -->

		<td id="tplge_tdnav">


<!-- navigation header (image)  -->

<div id="tplge_header_nav"></div>


<!-- sidebar navigation -->

<div id="tplge_sidebar1">
<div id="tplge_sidebar1in">
<?php echo searchbox();?>
	<div id="tplge_langmenu">
<?php echo languagemenu();?>
	</div>
<div style="clear: both;"></div>
<?php echo toc();?>

<ul class="tplge_subnav">
<li><?php echo printlink();?></li>
<li><?php echo sitemaplink();?></li>
<li><?php echo mailformlink();?></li>
</ul>
<div style="clear: both;">&nbsp;</div>
</div>
<div style="clear: both;"></div>
</div>


<!-- END NAVIGATION AREA -->

		</td>


<!-- CONTENT AREA -->

		<td id="tplge_tdcont">


<!-- content header1 (site title and breadcrumb navigation) -->

<div id="tplge_header_content">
<div id="tplge_header_contentin">
<h1><?php echo sitename()?></h1>
<p class="tplge_locator">
<span style="font-weight: 700;"><?php echo $tx['locator']['text'];?>&nbsp; </span><?php echo locator();?>
</p>
</div>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>


<!-- content header2 (image)-->

<div id="tplge_header_content2"></div>


<!-- CONTENT AND NEWSBOXES MAIN DIV -->

<div id="tplge_contmain">


<!-- content -->

	<div id="tplge_content">
	<div id="tplge_contentin">

<?php echo editmenu();?>
<?php echo content();?>
<?php  echo submenu();?>


<!-- prev-top-next -->

		<div id="tplge_prevnext">
		<div class="tplge_inner">
<span><?php echo previouspage();?></span>|
<span><?php echo top();?></span>|
<span><?php echo nextpage();?></span>
		<div class="clear_both"></div>
		</div>
		<div class="clear_both"></div>
		</div>
		<div class="clear_both"></div>

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


<!-- newsboxes -->

	<div class="tplge_news">
	<div class="tplge_newsin">
<?php echo newsbox('News01');?>
	<div style="clear: both;"></div>
	</div>
	</div>

	<div class="tplge_news">
	<div class="tplge_newsin">
<?php echo newsbox('News02');?>
<div style="clear: both;"></div>
	</div>
	</div>

	<div class="tplge_news">
	<div class="tplge_newsin">
<?php echo newsbox('News03');?>
<div style="clear: both;"></div>
	</div>
	</div>

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


<!-- END CONTENT AND NEWSBOXES MAIN DIV -->

</div>


<!-- END CONTENT AREA -->

		</td>


<!-- END MAIN TABLE -->

	</tr>
</table>


<!-- FOOTER LINKS -->

<div id="tplge_notes">

<!-- Diese Links dürfen nicht geloescht werden, wenn Sie dieses Template kostenlos nutzen - http://www.ge-webdesign.de -->
<p>
<span>Powered by <a href="http://www.cmsimple.org/" target="_blank">CMSimple</a></span>|
<span>Template: <a href="http://www.ge-webdesign.de/" target="_blank">ge-webdesign.de</a></span>|

<?php 
if($adm && !$edit)
{
echo '<span><a href="http://validator.w3.org/check?uri=referer">html</a></span>|
<span><a href="http://jigsaw.w3.org/css-validator/check/referer">css</a></span>|';
}
?>

<span><?php echo loginlink();?></span>
</p>

</div>

</body>
</html>