<?php include_once($pth['folder']['template'] . 'templatefuncs/templatefuncs.php'); ?>
<!DOCTYPE html>

<html lang="<?php echo $sl;?>">
<head>
<?php echo head();?>

<script src="<?php echo $pth['folder']['template'];?>templatefuncs/scripts/smoothscroll.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1">
</head>

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



<!-- FIXED NAVIGATION -->

<div class="tplge_pageNav">
<div class="tplge_pageNavIn">

<!-- scroll buttons -->

<a href="./"><img src="<?php echo $pth['folder']['templateimages']; ?>homelink.gif" class="tplge_homelinkButton" alt=""></a>
<a href="./?sitemap#tplge_contentLink"><img src="<?php echo $pth['folder']['templateimages']; ?>sitemaplink.gif" class="tplge_sitemaplinkButton" alt=""></a>

<a href="#tplge_menuLink"><img src="<?php echo $pth['folder']['templateimages']; ?>menulink.gif" class="tplge_menulinkButton" alt=""></a>
<a href="#tplge_menuLink"><img src="<?php echo $pth['folder']['templateimages']; ?>searchlink.png" class="tplge_searchlinkButton" alt=""></a>
<a href="#tplge_newsLink"><img src="<?php echo $pth['folder']['templateimages']; ?>newslink.gif" class="tplge_newslinkButton" alt=""></a>
<a href="#tplge_contentLink"><img src="<?php echo $pth['folder']['templateimages']; ?>contentlink.gif" class="tplge_contentlinkButton" alt=""></a>
<a href="#top"><img src="<?php echo $pth['folder']['templateimages']; ?>toplink.gif" class="tplge_toplinkButton" alt=""></a>

</div>
</div>





<!-- HAEDER -->

<div id="tplge_header" class="tplge_header">
<div id="tplge_headerIn" class="tplge_headerIn">

<?php 
if(!$edit && !isset($_REQUEST['login'])) echo '
<h1 class="tplge_sitetitle">' . sitename() . '</h1>
<img src="' . $pth['folder']['templateimages'] . 'header01.jpg" alt="">

';
?>

<div class="tplge_clearBoth"></div>
</div>
<div class="tplge_clearBoth"></div>
</div>





<!-- CONTENT -->

<div id="tplge_contentLink" class="tplge_anchor"></div>

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


<!-- language menu -->
	<div class="tplge_langmenu">
<?php echo languagemenu();?>
	</div>


<!-- locator -->
	<div class="tplge_locator">
	<div class="tplge_locator2in">

<span class="locator_text"><?php echo $tx['locator']['text']; ?> </span><br><?php echo locator();?>

	</div>
	</div>

<?php echo content();?>
<div class="tplge_submenu"><?php echo submenu();?></div>

	<div id="tplge_prevtopnext" class="tplge_prevtopnext">
	<div class="tplge_prevtopnextin">

<span><?php echo previouspage('prev.gif');?></span>
<span><?php echo top('top.gif');?></span>
<span><?php echo nextpage('next.gif');?></span>

	<div class="tplge_clearBoth"></div>
	</div>
	<div class="tplge_clearBoth"></div>
	</div>

<div class="tplge_clearBoth"></div>
</div>
<div class="tplge_clearBoth"></div>
</div>





<!-- NAVIGATION -->

<div id="tplge_menuLink" class="tplge_anchor"></div>

<div id="tplge_nav" class="tplge_nav">
<div class="tplge_navin">

<!-- searchbox -->
	<div id="tplge_searchboxContainer" class="tplge_searchboxContainer">
<?php echo str_replace('class="submit" value="' . $tx['search']['button'],'class="submit" title="' . $tx['search']['button'] . '" value="  ',searchbox());?>
	</div>

<!-- main menu -->
	<div class="tplge_toc">
	<div class="tplge_tocin">

<h4 class="tplge_sitemap"><?php echo $tx['menu']['sitemap']; ?>:</h4>
<?php echo toc();?>
	</div>
	</div>

	<div id="tplge_icons" class="tplge_icons">
<?php echo tf_homelink('homelink.gif'); ?>
<?php echo tf_printlink('printlink.gif'); ?>
<?php echo tf_mailformlink('mailformlink.gif'); ?>
<?php echo tf_sitemaplink('sitemaplink.gif'); ?>
	</div>
	<div class="tplge_clearBoth"></div>

<div class="tplge_clearBoth"></div>
</div>
</div>
<div class="tplge_clearBoth"></div>





<!-- NEWSAREA -->

<div id="tplge_newsLink" class="tplge_anchor"></div>

<div id="tplge_newsArea" class="tplge_newsArea">
<div id="tplge_newsAreaIn" class="tplge_newsAreaIn">

	<div class="tplge_news">
<?php echo newsbox('News01'); ?>
	</div>

	<div class="tplge_news">
<?php echo newsbox('News02'); ?>
	</div>

	<div class="tplge_news">
<?php echo newsbox('News03'); ?>
	</div>

	<div class="tplge_news">
<?php echo '<h4>' . $tx['menu']['sitemap'] . '</h4>
' . toc(); ?>
	</div>

<div class="tplge_clearBoth"></div>
</div>
<div class="tplge_clearBoth"></div>
</div>





<!-- 
############################################# 
                 FOOTER
############################################# 
-->

<div id="tplge_footer" class="tplge_footer">
<p>
Powered by <a href="http://www.cmsimple.org/">CMSimple</a> | 
Template: <a href="http://www.ge-webdesign.de/">ge-webdesign.de</a> | 

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

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

<div class="tplge_clearBoth"></div>
</div>





</body>
</html>