<!DOCTYPE html>

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

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


<!-- ANFANG HAUPTCONTAINER / BEGIN MAIN CONTAINER -->

<div id="tplge_main">
<div id="tplge_mainin">


<!-- HEADER -->

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

<?php
if (file_exists($pth['folder']['templateimages'].'logo.jpg')){
echo '<a href="./">'.tag('img src="'.$pth['folder']['templateimages'].'logo.jpg" class="tplge_logo" alt="Logo"').'</a>';
} 
?>
<h1><?php echo sitename();?></h1>
<div class="clear_left"></div>
<?php echo searchbox();?>

<div class="clear_both"></div>
</div>
<div class="clear_both"></div>
</div>

<!-- locator -->
	<div id="tplge_locator">
	<div class="tplge_inner">
<span style="font-weight: 700;"><?php echo $tx['locator']['text'];?>&nbsp; </span><?php echo locator();?>
	<div class="clear_both"></div>
	</div>
	<div class="clear_both"></div>
	</div>


<!-- ANFANG SEITE / BEGIN PAGE -->

	<div id="tplge_page">


<!-- ANFANG SIDEBAR NAVIGATION / BEGIN SIDEBAR NAVIGATION -->

		<div id="tplge_sidebarNav">
		<div class="tplge_inner">
 
<div class="tplge_languagemenu"><?php echo languagemenu();?></div>
<?php echo toc();?>

			<div id="tplge_subnav">
<ul>
<li><?php echo printlink();?></li>
<li><?php echo sitemaplink();?></li>
<li><?php echo mailformlink();?></li>
</ul>
<?php echo newsbox('Subnav');?>
			</div>
			<div class="clear_both"></div>
			
<?php //echo '<p class="tplge_lastupdate">' . lastupdate() . '</p>';?>
		</div>
		<div class="clear_both"></div>
		</div>


<!-- ANFANG INHALT / BEGIN CONTENT -->

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

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


<!-- vor-hoch-zurueck / 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>
	

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

		</div>
		<div class="clear_both"></div>
		</div>
		<div class="clear_both"></div>


<!-- ENDE SEITE / END PAGE -->

	</div>
	<div class="clear_both"></div>


<!-- END MAIN CONTAINER -->

</div>
<div class="clear_both"></div>
</div>
<div class="clear_both"></div>


<!-- FOOTER LINKS -->

<div id="tplge_notes">

<p>
<span>Powered by <a href="http://www.cmsimple.org/" target="_blank">CMSimple</a></span>|

<!-- Dieser Link darf nicht geloescht werden, wenn Sie dieses Template kostenlos nutzen - http://www.ge-webdesign.de -->
<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 class="clear_both"></div>
</div>

<div class="clear_both"></div>
</body>
</html>