<div style="position:absolute; bottom:60px; right:5px; z-index:2">
<?php 
	$sql5 = "SELECT * FROM rooms WHERE lang_id=2 AND publish='yes' AND publisha='yes' ORDER BY priority";
	$result5 = mysql_query($sql5);
	while ($myrow=mysql_fetch_array($result5)) {
	$risid1=$myrow['insert_id'];
	$roompage1=$myrow['page'];
	
	$result = mysql_query("SELECT * FROM rooms WHERE insert_id='$risid1' AND lang_id='$lang'",$dbh);
	$myrow=mysql_fetch_array($result);
	$rid1=$myrow['insert_id'];
	$room1=$myrow['name'];
?>
<div style="float:left; width:120px; text-align:center">
<a href="rooms.<?php echo $rid1 ?><?php echo $roompage1 ?>" class="plinks"><img src="<?php echo $sitepath ?>images/rooms/thumbs/<?php echo $rid1 ?>.jpg" alt="<?php echo $room1 ?>" width="100" height="70"></a> 
<div> <a href="rooms.<?php echo $rid1 ?><?php echo $roompage1 ?>" class="titles1"><?php echo $room1 ?></a> </div>
</div>
<?php } ?> 
</div>