

<?php if ($page=='gallery.php') { ?>
<!--gallery -->
<div style="position:absolute; top:10px; right:10px; z-index:20;"> <a href="javascript:history.go(-1);"><img src="/images/back.png" alt="back"></a></div> 

<?php }else{?>

<div style=" position:absolute; top:20px; right:0; width:140px; height:20px; background-image:url(/images/over.png); z-index:20; padding:7px; padding-top:10px; padding-left:12px;" class="text5"><a href="specials.php" class="text5"><?php echo $pagespecials ?></a></div>
<div style=" position:absolute; top:20px; right:0; width:4px; height:37px; background-color:#00aeef; z-index:21; "></div>

<div style=" position:absolute; top:63px; right:0; width:156px; height:20px; background-image:url(/images/over.png); z-index:20; padding:7px; padding-top:10px; padding-left:12px;" class="text5"><a href="<?php echo $resurl ?>" class="text5"><?php echo $textbutton2 ?></a></div>
<div style=" position:absolute; top:63px; right:0; width:4px; height:37px; background-color:#f2a33f; z-index:21; "></div>

<div style=" position:absolute; top:105px; right:0; width:114px; height:20px; background-image:url(/images/over.png); z-index:20; padding:7px; padding-top:10px; padding-left:12px;" class="text5"><a href="contact.php" class="text5"><?php echo $pagecontact ?></a></div>
<div style=" position:absolute; top:105px; right:0; width:4px; height:37px; background-color:#ffffff; z-index:21; "></div>


<div style="position:absolute; top:155px; right:5px; z-index:20;"> <a href="http://www.villapopi.gr/" target="_blank"><img src="images/popi.png" width="120" height="77" /></a></div> 


<div style="position:absolute; top:25px; left:10px; z-index:25;">
<a href="."><img src="/images/logo.png" alt="<?php echo $company1 ?>"></a>
</div>

<!--pages -->
<div class="container" style="position:absolute; top:0; left:0; width:180px; height:100%; background-color:#FFF; z-index:15;"> 
  <div class="content">
    <div style="position:absolute; width:180px; right:0; top:140px; line-height:30px; text-align:center; z-index:10">
  <?php include 'menunavi.php';?>
    </div>
  </div>
</div>    



<div style="position:absolute; bottom:140px; left:0; width:180px; height:20px; text-align:center; z-index:26">
 <?php include 'menulang.php';?>
</div>  
<div class="text1" style="position:absolute; bottom:55px; left:0; width:180px;  height:80px; text-align:center; z-index:27">

 <?php echo $address1 ?> <br />
  <?php echo $tel1 ?><br />
  E-mail: <a href="mailto:<?php echo $sitemail?>?subject=<?php echo $firma ?>"><?php echo $sitemail?></a> 
</div>  

<div style="position:absolute; bottom:5px; left:0; width:180px; height:40px; text-align:center; z-index:26">
 <?php
			$sql15 = "SELECT * FROM links WHERE publish='yes' AND priority>100 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="/images/<?php echo $social ?>.png" alt="<?php echo $social ?>"></a>  
  <?php } ?> 
 </div>



<?php }  ?>

 
 <!--other codes -->
 
<div style="position:absolute; bottom:6px; right:6px; z-index:25;">
<a href="http://www.marinet.gr/" target="_blank"><img src="/images/marinet.png" width="177" height="17" border="0" /></a>
</div>
 
    
    <?php if ($page=='room.php') { ?>
<div id="rcontainer" style="position:absolute; bottom:30px; right:10px; width:160px; z-index:10;"> 

 <?php 
	$sql16 = "SELECT * FROM rooms WHERE publish='yes' AND publisha='yes' ORDER BY priority";
	$result16 = mysql_query($sql16);
	while ($myrow=mysql_fetch_array($result16)) {
	$roomid=$myrow['id'];
	$room=$myrow['name'];
	$room_en=$myrow['name_en'];
	$room_de=$myrow['name_de'];
	$room_fr=$myrow['name_fr'];
    $room_it=$myrow['name_it'];
    $room_es=$myrow['name_es'];
    $room_ru=$myrow['name_ru'];
	$room_zh=$myrow['name_zh'];
	$image=$myrow['image'];
?>
<?php include 'includes/lang.php';?> 
<?php include 'includes/roomin.php';?> 			
<?php }?>
                  
</div>
<?php } ?>
 
<!--<?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 } ?>  -->