<table id="content" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td> 
                        <?php
			$sql1 = "SELECT * FROM info WHERE category_id='$pid' AND publish='yes' ORDER BY priority";
			$result1 = mysql_query($sql1);
	while ($myrow=mysql_fetch_array($result1)) {
			$id=$myrow['id'];
			$category_id=$myrow['category_id'];
			$name=$myrow['name'];
			$name_en=$myrow['name_en'];
			$name_de=$myrow['name_de'];
			$name_fr=$myrow['name_fr'];
            $name_it=$myrow['name_it'];
            $name_es=$myrow['name_es'];
            $name_ru=$myrow['name_ru'];
            $description=$myrow['description'];
			$description_en=$myrow['description_en'];
			$description_de=$myrow['description_de'];
			$description_fr=$myrow['description_fr'];
            $description_it=$myrow['description_it'];
            $description_es=$myrow['description_es'];
            $description_ru=$myrow['description_ru'];
			$script=$myrow['script'];
			$image=$myrow['image'];
			$file=$myrow['file'];
			$panor=$myrow['panor'];
?>
<?php include 'lang.php';?> 
                      </td>
                    </tr>
                    <tr> 
                      <td> 
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td valign="top"> 
                <?php if ($name!='') { ?>
              <div class="titles"> <?php echo $name ?> </div>
                <?php }?>
              <div style="padding-bottom:1px"><?php echo $description ?></div>
                  
                   <?php if ($file!='') { ?>
                  <div style="padding-top: 2px; padding-bottom: 6px"> 
                 &raquo; <a href="/images/info/files/<?php echo $id ?><?php echo $file ?>" class="links" target="_blank">Download Pdf</a> 
                  </div>
                  <?php } ?>
                  </td>
                <td valign="top" align="right"> 
                  <?php if ($image==yes) { ?>
                  <div style="float:right; padding-left:10px"> 
                  <a href="/images/info/<?php echo $id ?>.jpg" onclick="return hs.expand(this)" class="plinks"><img src="/images/info/thumbs/<?php echo $id ?>.jpg" alt="<?php echo $name ?>"></a> 
                  </div>
                  <?php }?>
                </td>
              </tr>
            </table>
                      </td>
                    </tr>
                    <tr>
                      <td>
                          <?php
			$sql4 = "SELECT * FROM photos WHERE info_id='$id' ORDER BY priority";
			$result4 = mysql_query($sql4);
			while ($myrow=mysql_fetch_array($result4)) {
			$photoid=$myrow['id'];
			$photo=$myrow['name'];
			$photo_en=$myrow['name_en'];
			$photo_de=$myrow['name_de'];
			$photo_fr=$myrow['name_fr'];
            $photo_it=$myrow['name_it'];
            $photo_es=$myrow['name_es'];
            $photo_ru=$myrow['name_ru'];
			$ppriority=$myrow['priority'];
?>
<?php include 'lang.php';?> 
<?php if ($photo=='') { 
$photo=$company1;
}?>
                 <?php include 'photo.php';?>
                  <?php } ?>
                      </td>
                    </tr>
                    <tr>
                      <td><?php echo $script ?></td>
                    </tr>
                    <tr> 
                      <td> 
                        <?php }?>
                      </td>
                    </tr>
                  </table>