<?php if ($pages!='gallery.php') { ?>

<!-- logo -->
<div id="logo">
<div style="padding-top:7px;">
<a href="."><img src="<?php echo $sitepath ?>images/logo.png" alt="<?php echo $company1 ?>"></a>
</div>
</div>

<!-- booking -->
<?php if ($resurl!='') { ?>
    <div id="booking">
       <?php include 'booking.php';?> 
    </div>
<?php } ?>




<!-- Menu -->
<div id="mainmenu">

    <div style="position:relative; height:246px; padding-top:10px; padding-left:2px;"> 
     <?php include 'menunavi.php';?>
    </div>
    
    <div style="position:relative; height:33px; " > 
     <?php include 'menuclose.php';?>
    </div>

</div>


<!-- Menu Down -->
<div style=" position:absolute; left:20px; bottom:0; width:auto; line-height:25px; z-index:15;">

<?php
	$sql15 = "SELECT * FROM links WHERE publish='yes' ORDER BY priority";
	$result15 = mysql_query($sql15);
	while ($myrow=mysql_fetch_array($result15)) {
	$social=$myrow['name'];
	$surl=$myrow['url'];
?>
 <a href="<?php echo $surl ?>" target="_blank"><img src="<?php echo $sitepath ?>images/<?php echo $social ?>.png" alt="<?php echo $social ?>"></a>  
  <?php } ?> 
  &nbsp;
  <?php include 'menulang.php';?>
&nbsp;
  <span style=" line-height:25px; ">MH.T.E 0206K012A0012900</span>
 
</div>

<div style=" position:absolute; right:20px; bottom:0; width:auto; height:25px; line-height:25px; z-index:15;" class="text1">
<?php echo $address1 ?> <?php echo $field1 ?> E-mail: <a href="mailto:<?php echo $sitemail?>?subject=<?php echo $firma ?>"><?php echo $sitemail?></a> 
</div>
 
 <?php }  ?>
<!-- PANORAMICS

<?php 
	$sql17 = "SELECT * FROM panoramas";
	$result17 = mysql_query($sql17);
	$nu_row17 = mysql_num_rows($result17);
?>
 <?php if  ($nu_row17>0) {?> 
 <?php include 'panorama.php';?>
 <?php } ?>  -->