<!DOCTYPE html>

<html>
<html>
<head>
<?php echo head();?>
<?php 
if($adm)
{
	echo '<meta name="viewport" content="width=768">';
}
else
{
	echo '<meta name="viewport" content="width=400">';
}
?>
</head>

<body id="tplge_body" <?php echo onload();?>>
<!-- utf-8 check: äöü -->
<div id="TOP" style="width: 10px; float: left;"></div>
<div style="clear: both;"></div>


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

<div id="tplge_main_container">


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

	<div id="tplge_content">

<!-- Header mit Seitentitel / header with site title -->

		<div class="tplge_header">
<h1><?php echo sitename()?></h1>
<span class="tplge_menu"><a href="#tplge_nav"><?php echo $txc['template']['text1'];?></a></span>
<span class="tplge_menu_current"><?php echo $txc['template']['text3'];?></span>
<span class="tplge_menu"><a href="#tplge_newsarea"><?php echo $txc['template']['text2'];?></a></span>
<div class="tplge_legal"><?php echo newsbox('LegalLinks');?></div>
<div style="clear: both;"></div>
		</div>
<div style="clear: both;"></div>

<!-- vor-Inhaltsverzeichnis-zurueck / prev-sitemap-next -->

		<div class="tplge_prevnext_top">
<span><?php echo previouspage();?></span>|
<span><a href="./?&amp;sitemap"><?php echo $tx['title']['sitemap'];?></a></span>|
<span><?php echo nextpage();?></span>
<div class="tplge_submenu"><?php echo submenu();?></div>
<div style="clear: both;"></div>
		</div>
<div style="clear: both;"></div>

<!-- Seiteninhalt / page content -->

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

<!-- vor-hoch-zurueck / prev-top-next -->

		<div class="tplge_prevnext_bottom">
<span><?php echo previouspage();?></span>|
<span><a href="./?&amp;sitemap"><?php echo $tx['title']['sitemap'];?></a></span>|
<span><?php echo nextpage();?></span>
<div style="clear: both;"></div>
		</div>
<div style="clear: both;"></div>


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

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


<!-- ANFANG MENÜ / BEGIN TOC -->

	<div id="tplge_nav">
	
<!-- Header / header -->

		<div class="tplge_header">
<h1><?php echo $txc['template']['text1'];?></h1>
<span class="tplge_menu_current"><?php echo $txc['template']['text1'];?></span>
<span class="tplge_menu"><a href="#tplge_content"><?php echo $txc['template']['text3'];?></a></span>
<span class="tplge_menu"><a href="#tplge_newsarea"><?php echo $txc['template']['text2'];?></a></span>
<div class="tplge_legal"><?php echo newsbox('LegalLinks');?></div>
		</div>
	
<!-- vor-hoch-zurueck / prev-top-next -->
	
		<div class="tplge_prevnext_top">
<span><?php echo previouspage();?></span>|
<span><a href="./?&amp;sitemap"><?php echo $tx['title']['sitemap'];?></a></span>|
<span><?php echo nextpage();?></span>
<div style="clear: both;"></div>
		</div>
<div style="clear: both;"></div>

<!-- Hauptmenü / main menu (toc) -->

		<div id="tplge_navin">
<?php echo toc();?>
		</div>
	
<!-- vor-hoch-zurueck / prev-top-next -->

		<div class="tplge_prevnext_bottom">
<span><?php echo previouspage();?></span>|
<span><a href="./?&amp;sitemap"><?php echo $tx['title']['sitemap'];?></a></span>|
<span><?php echo nextpage();?></span>
<div style="clear: both;"></div>
		</div>

<!-- ENDE MENÜ / END TOC -->

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


<!-- ANFANG NEWSBEREICH / BEGIN NEWSAREA -->

	<div id="tplge_newsarea">

<!-- Header / header -->

		<div class="tplge_header">
<h1><?php echo $txc['template']['text2'];?></h1>
<span class="tplge_menu"><a href="#tplge_nav"><?php echo $txc['template']['text1'];?></a></span>
<span class="tplge_menu"><a href="#tplge_content"><?php echo $txc['template']['text3'];?></a></span>
<span class="tplge_menu_current"><?php echo $txc['template']['text2'];?></span>
<div class="tplge_legal"><?php echo newsbox('LegalLinks');?></div>
		</div>
	
<!-- vor-hoch-zurueck / prev-top-next -->
	
		<div class="tplge_prevnext_top">
<span><?php echo previouspage();?></span>|
<span><a href="./?&amp;sitemap"><?php echo $tx['title']['sitemap'];?></a></span>|
<span><?php echo nextpage();?></span>
<div style="clear: both;"></div>
		</div>
<div style="clear: both;"></div>

<!-- Newsboxen / Newsboxes -->

		<div id="tplge_newsareain">
<?php echo newsbox('News01');?>
<?php echo newsbox('News02');?>
<?php echo newsbox('News03');?>
		</div>

		<div class="tplge_prevnext_bottom">
<span><?php echo previouspage();?></span>|
<span><a href="./?&amp;sitemap"><?php echo $tx['title']['sitemap'];?></a></span>|
<span><?php echo nextpage();?></span>
<div style="clear: both;"></div>
		</div>

		<div class="tplge_footer">
<div class="tplge_legal"><?php echo newsbox('LegalLinks');?></div>
<span class="tplge_menu"><a href="#tplge_nav"><?php echo $txc['template']['text1'];?></a></span>
<span class="tplge_menu"><a href="#tplge_content"><?php echo $txc['template']['text3'];?></a></span>
<span class="tplge_menu_current"><?php echo $txc['template']['text2'];?></span>
		</div>
<div style="clear: both;"></div>


<!-- ENDE NEWSBEREICH / END NEWSAREA -->

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


<!-- ENDE HAUPTCONTAINER / END MAIN CONTAINER -->

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


<!-- FOOTER LINKS -->

<div id="tplge_notes">

<p>
<span>Powered by <a href="http://www.cmsimple.org/" target="_blank">CMSimple</a></span>
<?php echo tag('br');?>

<!-- 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 echo tag('br');?>

<?php 
if($adm && !$edit)
{
echo '<span><a href="http://validator.w3.org/check?uri=referer">html5</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>