  
  <a href="." <?php if ($page == 'index.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagehome ?></a>  
   <a href="location.php" <?php if ($page == 'location.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagelocation ?></a>  
  <a href="accommodation.php" rel="menu1r" <?php if ($page == 'accommodation.php' OR $page == 'room.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pageaccommodation ?></a>  
  <a href="facilities.php" <?php if ($page == 'facilities.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagefacilities ?></a>  
        
<!--info -->
 <?php 
			$sql30 = "SELECT * FROM infocategories WHERE level='1' AND publish='yes' ORDER BY priority";
			$result30 = mysql_query($sql30);
			while ($myrow=mysql_fetch_array($result30)) {
			$catid1=$myrow['id'];
			$category1=$myrow['category'];
	        $category1_en=$myrow['category_en'];
	        $category1_de=$myrow['category_de'];
	        $category1_fr=$myrow['category_fr'];
            $category1_it=$myrow['category_it'];
            $category1_es=$myrow['category_es'];
            $category1_ru=$myrow['category_ru'];
?>
<?php include 'includes/lang.php';?> 

        <?php if ($catid == $catid1 AND $page == 'info.php') { ?>
        <a href="info.php?catid=<?php echo $catid1 ?>" class="navactive"><?php echo $category1 ?></a> 
        <?php } else {?>
        <a href="info.php?catid=<?php echo $catid1 ?>" class="navigation"><?php echo $category1 ?></a> 
        <?php } ?>
        
        <?php } ?>
<!--end info -->     
        
        <a href="gallery.php" <?php if ($page == 'gallery.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagephotos ?></a>  
       
            <?php 
			$sql20 = "SELECT * FROM panoramas";
			$result20 = mysql_query($sql20);
			$nu_row20 = mysql_num_rows($result20);
?>

        <?php if  ($nu_row20>0) {?>
        <a href="#dialog" name="modal" class="navigation"><?php echo $pagepan ?></a>  
     <?php } ?>  
   
 <?php 
			$sql27 = "SELECT * FROM prices";
			$result27 = mysql_query($sql27);
			$nu_row27 = mysql_num_rows($result27);
            $sql28 = "SELECT * FROM terms WHERE publish='yes'";
			$result28 = mysql_query($sql28);
			$nu_row28 = mysql_num_rows($result28);
?>

        <?php 
	if  ($nu_row27+$nu_row28>0) {
	?> 
        <a href="rates.php" <?php if ($page == 'rates.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagerates ?></a>
     <?php } ?>       
       
            <?php 
			$sql23 = "SELECT * FROM specials WHERE publish='yes'";
			$result23 = mysql_query($sql23);
			$nu_row23 = mysql_num_rows($result23);
?>
        <?php if  ($nu_row23>0) {?>
        <a href="specials.php" <?php if ($page == 'specials.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagespecials ?></a>   
        <?php } ?>
        
    <?php if  ($guestbook1=='1') { ?>
     <a href="guestbook.php" <?php if ($page == 'guestbook.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagereviews ?></a>  
     <?php } ?>
     
        <?php if ($resurl!='') { ?>
        <a href="<?php echo $resurl ?>" class="navigation"><?php echo $textbutton2 ?></a>  
        <?php } ?>
     
     <a href="contact.php" <?php if ($page == 'contact.php') { ?>class="navactive"<?php } else {?>class="navigation"<?php } php?>><?php echo $pagecontact ?></a> 
