<?php
echo '<?xml version="1.0" encoding="UTF-8" ?>';
echo $this->doctype() 
?>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow">
    <link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/style.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/forms.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/tables.css" media="screen" />
    <script type="text/javascript" src="<?=$this->baseUrl()?>/scripts/jquery-1.3.1.min.js"></script>
    <script type="text/javascript" src="<?=$this->baseUrl()?>/scripts/interface-1.2.js"></script>
    <script type="text/javascript" src="<?=$this->baseUrl()?>/scripts/inestedsortable.js"></script>
    <script type="text/javascript" src="<?=$this->baseUrl()?>/scripts/func.js"></script>
    

    <!--[if IE 6]><link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/ie6.css" /><![endif]-->
    <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/ie7.css" /><![endif]-->
    
    <title>Dokumenty pro lamy</title>   
</head>
	
<body>

    <div class="header">
        <div class="user_bar">
            <?=$this->t('prihlaseny-uzivatel-f')?>: <?=$this->action('logged-user', 'layout', 'default')?> (<a href="<?=$this->baseUrl()?>/login/logout"><?=$this->t('odhlasit-se-f')?></a>)
        </div>
    </div>
    
    <div class="menu_top">
        <ul>
            <li><a <?if ($this->topmenu == 1) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>"><?=$this->t('prehled-AF')?></a></li>
            <li><a <?if ($this->topmenu == 2) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>/documents"><?=$this->t('dokumenty-AF')?></a></li>
            <li><a <?if ($this->topmenu == 7) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>/confirmations"><?=$this->t('potvrzeni-AF')?></a></li>
            <!--<li><a <?//if ($this->topmenu == 3) echo 'class="active"'; ?> href="<?//=$this->baseUrl()?>/calendar"><?//=$this->t('kalendar-AF')?></a></li>-->
            <li><a <?if ($this->topmenu == 4) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>/history"><?=$this->t('historie-AF')?></a></li>
            <li><a <?if ($this->topmenu == 5) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>/messages"><?=$this->t('zpravy-AF')?></a></li>
            <li><a <?if ($this->topmenu == 8) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>/account"><?=$this->t('ucet-AF')?></a></li>
            <?php if ($this->isLoggedAdmin) : ?>
            <li><a <?if ($this->topmenu == 6) echo 'class="active"'; ?> href="<?=$this->baseUrl()?>/admin"><?=$this->t('administrace-AF')?></a></li>
            <?php endif; ?>
        </ul>
        
        <div class="main_flags">
            <span><a href="<?=$this->baseUrl()?>/language/switch/lang/en"><img src="<?=$this->baseUrl()?>/images/flags/en.png" alt="switch to english" title="switch to english" /></a></span>
            <span><a href="<?=$this->baseUrl()?>/language/switch/lang/cs"><img src="<?=$this->baseUrl()?>/images/flags/cz.png" alt="přepnout na češtinu" title="přepnout na češtinu" /></a></span>
        </div>

    </div>
    
    <div class="main">
		<?php echo $this->layout()->content; ?>    
    </div> <!-- end main -->

</body>

</html>
