<table width="100%" border="0" cellspacing="1" cellpadding="4" class="text">
        <tr valign="top"> 
          <td width="50" bgcolor="#F2F2F2"> 
            <?php echo $priority ?>
          </td>
          <td bgcolor="#F2F2F2"> 
            <b> 
            <?php echo $name ?>
            </b>
            <br>
            <?php if ($image==yes) { ?>
            <a href="../images/rooms/<?php echo $id ?>.jpg" rel="thumbnail"><img src="../images/rooms/thumbs/<?php echo $id ?>.jpg" width="70" border="0"></a><?php } ?>
            <br>
            <?php if ($publish=='no') { ?>
            <div style="color:#666666; font-weight:bold; padding-top:5px;">&raquo; ΔΗΜΟΣΙΕΥΣΗ <font color="#d64111">ΟΧΙ</font></div><?php } ?>
          </td>
          <td width="370"> 
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="text">
              <tr> 
                <td width="160" valign="top"> 
                  <?php 
			$sql2 = "SELECT * FROM photos WHERE room_id='$id'";
			$result2 = mysql_query($sql2);
			$nu_row2 = mysql_num_rows($result2);
?>
                  <?php 
	if  ( ( $nu_row2>0)) {
	?>
                  <img src="img/arrow.gif"> <a href="all-photos.php?roomid=<?php echo $id ?>" class="links1"> 
                  PHOTOS</a> 
                  [<?php echo $nu_row2 ?>]
                  <?php } ?>
                </td>
                <td width="180" valign="top"><img src="img/arrow.gif"> <a href="new-photo.php?roomid=<?php echo $id?>" class="links1">προσθήκη 
                photo</a></td>
              </tr>
              <tr> 
                <td valign="top"> 
                  <?php 
			$sql3 = "SELECT * FROM specs WHERE room_id='$id'";
			$result3 = mysql_query($sql3);
			$nu_row3 = mysql_num_rows($result3);
?>
                  <?php 
	if  ( ( $nu_row3>0)) {
	?>
                  <img src="img/arrow.gif"> <a href="all-specs.php?roomid=<?php echo $id ?>" class="links1"> 
                  ΧΑΡΑΚΤΗΡΙΣΤΙΚΑ</a> 
                  [<?php echo $nu_row3 ?>]
                  <?php } ?>
                </td>
                <td valign="top"><img src="img/arrow.gif"> <a href="new-spec.php?roomid=<?php echo $id?>" class="links1">προσθήκη 
                χαρακτηριστικού</a></td>
              </tr>
            </table>
          </td>
          <td width="70" align="center" bgcolor="#F2F2F2"><div style="margin-top:3px"><a href="edit-room.php?id=<?php echo $id?>" class="link">ΑΛΛΑΓΗ</a></div></td>
          <td width="70" align="center" bgcolor="#F2F2F2"><div style="margin-top:3px"><a href="delete-room.php?id=<?php echo $id?>" class="link">ΔΙΑΓΡΑΦΗ</a></div></td>
        </tr>
      </table>
      
      <hr>