<?php
/**
 * @copyright    Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
 * @license        GNU/GPL
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 */
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/<?php echo $this->params->get("colorVariation", "orange"); ?>.css" type="text/css" />
<?php if($this->params->get("showSwitcher","1")) : ?>   
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/alarge.css" rel="alternate stylesheet" type="text/css" media="screen" title="alarge"/>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/amedium.css" rel="alternate stylesheet" type="text/css" media="screen" title="amedium"/>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/asmall.css" rel="alternate stylesheet" type="text/css" media="screen" title="asmall"/>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/styleswitcher.js" type="text/javascript"></script>
<?php endif ?>
<?php if($this->countModules('user3 and top')== 1) : ?>
<style type="text/css">
#user3{
background: transparent url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/user3bg.png) bottom left repeat-x;
}
</style>
<?php endif; ?>
<?php 
if($this->countModules('left and right')==0) $contentwidth="wide"; 
if($this->countModules('left')) $contentwidth="leftonly";
if($this->countModules('right')) $contentwidth="rightonly";
if($this->countModules('left and right') == 1) $contentwidth="narrow"; 
?>
<!--[if lte IE 6]>
<style type="text/css">
a#sitename1, a.btnicon, .bgbottom{
    behavior: url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/iepngfix.htc");
}
#user4{
margin-right:1px;
}
</style>
<![endif]-->
</head>
<body>
<div id="wrapper" class="width_<?php echo $this->params->get("widthStyle","fluid"); ?>">
    <div id="heading">
       <h1><a href="index.php" title="<?php echo JText::_( "homepage" ); ?>" id="sitename<?php echo $this->params->get("logoStyle","1"); ?>"><?php echo $mainframe->getCfg('sitename');?></a></h1>
    <?php if($this->params->get("showSwitcher","1")) : ?>   
       <div id="buttons"><a href="#" id="alarge" class="btnicon" title="<?php echo JText::_( "TO_XLARGE" ); ?> " onclick="setActiveStyleSheet('alarge'); return false;"><?php echo JText::_( "XLarge" ); ?> </a><a href="#" id="amedium" class="btnicon" title="<?php echo JText::_( "TO_LARGE" ); ?> " onclick="setActiveStyleSheet('amedium'); return false;"><?php echo JText::_( "Large" ); ?> </a><a href="#" id="asmall" class="btnicon" title="<?php echo JText::_( "TO_NORMAL" ); ?> " onclick="setActiveStyleSheet('asmall'); return false;"><?php echo JText::_( "Normal" ); ?> </a></div>
    <?php endif; ?>
    </div>
    <div id="header"><div class="bgleft"><div class="bgright"><div class="bgbl">
        <?php if($this->countModules('user3')) : ?>    
        <div id="user3">
        <jdoc:include type="modules" name="user3" style="xhtml" />
        </div><!--user3-->
        <?php endif; ?>
        <?php if($this->countModules('top')) : ?>    
        <div id="top">
        <jdoc:include type="modules" name="top" style="xhtml" />
        </div><!--top-->
        <?php endif; ?>
        
    </div></div></div></div><!--header-->
    
    <div id="container"><div class="bgright"><div class="bg">
      <?php if($this->countModules('user4')) : ?>    
      <div id="user4"><div class="bgright4"><div class="bg4">
      <jdoc:include type="modules" name="user4" style="xhtml" />
      </div></div></div><!--search-->
      <?php endif; ?>
     <div id="breadcrumbs">
<?php echo JText::_( "Sie sind hier" ); ?> <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/arrow.png" alt="arrow"/> <jdoc:include type="module" name="breadcrumbs" /> 
      </div>
      <div id="content">
          <div class="middlewrap" id="middlewrap<?php echo $contentwidth; ?>">
             <div class="middle" id="middle<?php echo $contentwidth; ?>"><div class="middlebg">
             <div id="message"><jdoc:include type="message" /></div>
             <div id="component"><jdoc:include type="component" style="xhtml" /></div>
           </div></div>
        </div>
    <?php if($this->countModules('left')) : ?>    
        <div class="leftcol" id="left<?php echo $contentwidth; ?>"><div class="bgbottom">
            <jdoc:include type="modules" name="left" style="xhtml" />
        </div></div>
    <?php endif; ?>    
    <?php if($this->countModules('right')) : ?>    
        <div class="rightcol" id="right<?php echo $contentwidth; ?>"><div class="bgbottom">
            <jdoc:include type="modules" name="right" style="xhtml" />
        </div></div>
    <?php endif; ?>
        <div class="clear"></div>
      </div><!--content-->
    <?php if($this->countModules('footer')) : ?> 
      <div id="footermodule">
        <jdoc:include type="modules" name="footer" style="xhtml" />
      </div>
    <?php endif; ?>
    <?php if($this->countModules('user1 or user2')) : ?>
      <div id="bottom"><div class="bottombg">
         <?php if($this->countModules('user1')) : ?>
         <div id="user1">
            <jdoc:include type="modules" name="user1" style="xhtml" />
         </div>
         <?php endif; ?>
         <?php if($this->countModules('user2')) : ?>
         <div id="user2">
            <jdoc:include type="modules" name="user2" style="xhtml" />
         </div>
         <?php endif; ?>
         <div class="clear"></div>
      </div></div><!--bottom-->
    <?php endif; ?>
      <div id="footer">
          <p class="footerleft">
            <jdoc:include type="modules" name="syndicate" />
        </p>
        <p class="footerright">
             Powered by <a href="http://www.joomla.org">Joomla!</a>.
            Valid <a href="http://validator.w3.org/check/referer" target="_blank">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank">CSS</a>.
        </p>
        <div class="clear"></div>
      </div>
      <div id="reflection-l"><div id="reflection-r"><div id="reflection"></div></div></div>
    </div></div></div><!--container-->
</div><!--wrapper-->
</body>
</html>