<?php header("Content-Type: text/html; charset=utf8");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html>
	<head>
	<meta http-equiv="content-type" 
		content="text/html;charset=utf-8" />
	
		<?php
		// *** !!! ZendX nepodporuje verze jQuery vyssi jak 1.3.2
		$this->jQuery()->setVersion('1.3.2');
		$this->jQuery()->enable($this);
		if ($this->jQuery()->isEnabled()){
			//echo "<p>ccccccccccccccccccccc".var_dump($this->jQuery()->isEnabled())."</p>";
			$this->jQuery()	->addStylesheet($this->DinamicPath().'/js/jquery-ui-1.7.3.custom/css/start/jquery-ui-1.7.3.custom.css')
					->setLocalPath($this->DinamicPath().'/js/jquery-ui-1.7.3.custom/js/jquery-1.3.2.min.js')
					->setUiLocalPath($this->DinamicPath().'/js/jquery-ui-1.7.3.custom/js/jquery-ui-1.7.3.custom.min.js');
			//$this->jQuery()->addStylesheet('http://ajax.googleapis.com/ajax/libs/jqueryui/1.7/themes/smoothness/jquery-ui.css');
			//echo "<p>".$this->jQuery()->getVersion()."</p>";
			echo $this->jQuery();
		}
		?>

		<?php $this->headLink()->appendStylesheet($this->DinamicPath().'css/styles.css','all'); ?>
		<?php $this->headLink()->appendStylesheet($this->DinamicPath().'dropDownMenu/css/dropdown/dropdown.css','all'); ?>
		<?php  $this->headLink()->appendStylesheet($this->DinamicPath().'dropDownMenu/css/dropdown/themes/default/default.advanced.css','all'); ?>
		<?php echo $this->headLink();?>

		<?php 
		$this->headScript()->appendFile(
    		'/dropDownMenu/js/jquery/jquery.js',
    		'text/javascript',
    		array('conditional' => 'lt IE 7')
		);
		$this->headScript()->appendFile(
    		'dropDownMenu/js/jquery/jquery.dropdown.js',
    		'text/javascript',
    		array('conditional' => 'lt IE 7')
		);
		echo $this->headScript();
		?>
	</head>
	<body>
		<div id="page">
	
			<div id="logo">
				<?php print "logo" ?>
			</div>
		
			<div id="header">
				<?php  print $this->partial('_header.phtml')?>
			</div>
		
			<div id="main">

				<div id="sidebar">
					<?php  print $this->layout()->sidebar ?>
				</div>
				<!--<div class="topnav" style="background-color: red; color: white; border: 1px solid black;">-->
				<!--<div id="menuh-container" style="background-color: red; border: 1px solid black; height : 300px;" >-->
			
				<div class="breadcrumbs" >
					<?php print $this->navigation()->breadcrumbs()->setMinDepth(0)->setLinkLast(true)->setSeparator(" : "); ?>
				</div>
			
				<div id="menuh-container" >
					<?php include_once 'menu.php'; ?>
				</div>

			

				<div id="content" style="background-color: white; border: 2px solid green;">
					<?php echo $this->layout()->content; ?>
				</div>
			</div> <!--main-->

			<div id="footer">
				<?php print $this->partial('_footer.phtml') ?>
			</div>
		</div> <!--page-->
	</body>
</html>
