   <h1><a href="#"><?php echo $pagereviews ?></a></h1>
	<div>
<div class="main">	

<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td> 
              <?php
			$sql1 = "SELECT * FROM guestbook WHERE publish='yes' ORDER BY id desc";
			$result1 = mysql_query($sql1);
			while ($myrow=mysql_fetch_array($result1)) {
			$id=$myrow['id'];
			$name=$myrow['name'];
			$lang=$myrow['lang'];
			$city=$myrow['city'];
			$country=$myrow['country'];
			$email=$myrow['email'];
			$comments=$myrow['comments'];
			$rate=$myrow['rate'];
			$date=$myrow['date'];
			$ppriority=$myrow['id'];
?>
                </td>
              </tr>
              <tr> 
                <td valign="top"> 
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  
                            <td><span class="titles"> 
                              <?php echo $name ?>
                              </span> 
                              <?php echo $city  ?>
                              
                              <?php echo $country  ?>
                            </td>
                                  <td width="100" align="right"> 
                                      <?php  echo $date ?>
                                  </td>
                                </tr>
                              </table>
 <hr>
<?php echo $comments ?>
          
                </td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td> 
 <?php } ?>
                </td>
              </tr>
            </table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td> 
                  <?php
			$sql2 = "SELECT * FROM reviews ORDER BY id desc";
			$result2 = mysql_query($sql2);
			while ($myrow=mysql_fetch_array($result2)) {
			$id=$myrow['id'];
			$name=$myrow['rTitle'];
			$comments=$myrow['revText'];
			$rate=$myrow['value'];
			$date=$myrow['revDate'];
			$ppriority=$myrow['id'];
?>
                </td>
              </tr>
              <tr> 
                <td valign="top"> 
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  
                            <td><span class="titles"> 
                              <?php echo $name ?>
                              </span> 
                              <?php echo $city  ?>
                              
                              <?php echo $country  ?>
                            </td>
                                  <td width="100" align="right"> 
                                      <?php  echo $date ?>
                                  </td>
                                </tr>
                              </table>
 <hr>
<?php echo $comments ?>
          
                </td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td> 
 <?php } ?>
                </td>
              </tr>
            </table>
            
	</div>	
	</div>
