<?php
if ($cf['xhtml']['endtags'] == 'true') {
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n".
'<html xmlns="http://www.w3.org/1999/xhtml">'."\n";
} else {
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'."\n".'<html>'."\n";}
?>
<head>
<?php echo head();?>
</head>
<body id="body" <?php echo onload();?>>
<div id="top"><a name="TOP"></a></div>
    <div id="wrapper">
        <div id="headerwrap">
        <div id="header">
           <div id="sitename">Free template Minimalist</div> <div class="langmenu"><?php echo languagemenu();?></div>
        </div>
        </div>
        <div id="contentwrap">
        <div id="content">
          <div class="boxfull_top"></div>
            <div class="boxfull_body">
            <div id="locator"><?php echo $tx['locator']['text']; ?><?php echo locator();?></div>

<?php echo editmenu();?>
<?php echo content();?>
<?php echo submenu();?>
            </div>
         <div id="boxfull_botom"><div class="subnav">
    <div class="subnav_prev"><?php echo previouspage();?></div>
	<div class="subnav_top"><?php echo top();?></div>
	<div class="subnav_next"><?php echo nextpage();?></div>
</div></div>
         </div>
        </div>

        <div id="rightcolumnwrap">
        <div id="rightcolumn">
          <div class="boxright_top"></div>
            <div class="boxright_body"><div class="menu">
            <?php echo searchbox();?>
            <?php echo toc();?>
                <ul class="menu">
                <li><?php echo printlink();?></li>
                <li><?php echo sitemaplink();?></li>
                <li><?php echo mailformlink();?></li>
                </ul>
              <div style="clear: both;"></div>
            </div></div><div class="boxright_botom"></div>

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

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

        <div id="footerwrap">
        <div id="footer">
          <div class="footer_in">
              <p>&copy; <?php echo sitename()?> |
              Powered by <a href="http://www.cmsimple-xh.de/">CMSimple_XH</a> |
              Template by <a href="http://oldnema.compsys.cz/">Oldnema</a> |
              <a href="http://jigsaw.w3.org/css-validator/check/referer">test css</a> |
              <?php echo loginlink();?></p>
              <div class="lastupdate"><?php echo lastupdate(FALSE);?></div>
          </div>
        </div>
      </div>
    </div>
</body>
</html>
