   <?php 
	if  ($nu_row3>0) {
	?>
 <?php
			$sql4 = "SELECT * FROM seasons WHERE lang_id='$lang' ORDER BY id";
			$result4 = mysql_query($sql4);
	while ($myrow=mysql_fetch_array($result4)) {
			$season=$myrow['name'];
			$date1=$myrow['date1'];
			$date2=$myrow['date2'];
            $count++;
?>
 

<b><?php echo $count ?></b> <?php echo $season ?>  <?php echo $date1 ?> &nbsp; <?php echo $date2 ?> <br>

    <?php } ?>
<hr>    
<table width="100%" border="0" cellspacing="1" cellpadding="4" class="text2">
        <tr> 
          <td bgcolor="#<?php echo $color2 ?>">
          <div style="min-width:120px">
          <strong><?php echo $pricelist ?></strong>
            </div>
          </td>
        <?php
			$sql5 = "SELECT * FROM seasons WHERE lang_id='$lang' ORDER BY id";
			$result5 = mysql_query($sql5);
	while ($myrow=mysql_fetch_array($result5)) {
			$seasonid=$myrow['insert_id'];
			$counts++;
?>   
          <td width="50" bgcolor="#<?php echo $color2 ?>">
		 <b><?php echo $counts ?></b>
          </td>
       <?php } ?>     
          </tr>
      </table>
 <hr>    
     <?php
			$sql6 = "SELECT * FROM rooms WHERE publishb='yes' AND publish='yes' AND lang_id='$lang' ORDER BY priority";
			$result6 = mysql_query($sql6);
        	while ($myrow=mysql_fetch_array($result6)) {
			$id=$myrow['insert_id'];
	        $room=$myrow['name'];
?>
 
 
      <table width="100%" border="0" cellspacing="1" cellpadding="4" class="text2">
        <tr valign="top"> 
          <td bgcolor="#<?php echo $color2 ?>"> 
           <div style="min-width:120px">
            <?php echo $room ?>
            </div>
            </td>
    
             <?php
			$sql7 = "SELECT * FROM seasons WHERE lang_id='$lang' ORDER BY id";
			$result7 = mysql_query($sql7);
	while ($myrow=mysql_fetch_array($result7)) {
			$seasonid=$myrow['insert_id'];
?>              
          <td width="50" bgcolor="#<?php echo $color2 ?>">
		            
                           <?php
			$sql8 = "SELECT * FROM prices WHERE room_id='$id' AND season_id='$seasonid'";
			$result8 = mysql_query($sql8);
	while ($myrow=mysql_fetch_array($result8)) {
			$price=$myrow['price'];
?>
                       <?php echo $price ?>
<?php } ?>
                  
           
         </td>
           <?php } ?> 
        </tr>
</table>

 <?php } ?>  
 
 <hr>
  <?php } ?>
 
