<html>
<head>
<!-- #BeginEditable "doctitle" -->
<title>Untitled Document</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="allstyles.css" type="text/css">
<link rel="stylesheet" href="styles.css" type="text/css">
</head>
<script type="text/javascript">>
function blockdisplay(i) {
			  if (document.getElementById){
			    if (document.getElementById("blockdisplay"+i)) {
			      for ( j = 1; j < 1000; j++ ) {
			        if (document.getElementById('blockdisplay' + j)) {document.getElementById('blockdisplay' + j).style.display = 'none';}
				    else {j = 1000;}
			      }
			      if (i) {document.getElementById("blockdisplay"+i).style.display = 'block';}
			    }
			  }
			}
			</script>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" background="layout/back.gif">
<table width="734" border="0" cellspacing="0" cellpadding="0" align="center" class="txt" height="5">
  <tr>
    <td></td>
  </tr>
</table>
<table width="734" border="0" cellspacing="0" cellpadding="0" align="center" class="txt" height="1">
  <tr>
    <td bgcolor="#004C84"></td>
  </tr>
</table>
<table width="734" border="0" cellspacing="0" cellpadding="0" align="center" class="txt" height="1">
  <tr> 
    <td bgcolor="#004C84" width="1"></td>
    <td bgcolor="#FFFFFF" width="732" valign="top" align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="732" height="231">
        <param name=movie value="animation/topmenuuk.swf">
        <param name=quality value=high>
        <embed src="animation/topmenuuk.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="732" height="231">
        </embed> 
      </object></td>
    <td bgcolor="#004C84" width="1"></td>
  </tr>
</table>
<table width="734" border="0" cellspacing="0" cellpadding="0" align="center" class="txt" height="1">
  <tr> 
    <td bgcolor="#004C84" width="1"></td>
    <td bgcolor="#FFFFFF" width="732" valign="top" align="center" background="layout/backcenter.gif">
      <p>&nbsp;</p>
      <table width="710" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr>
          <td width="600" valign="top"> <!-- #BeginEditable "content" -->
            <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td class="txt" height="158"> 
                  <?php 
if ($submit) {
			$dbh=mysql_connect("localhost","olympicv","olym8y");
			mysql_select_db("olympicv_olympic",$dbh);
			$sql = "INSERT INTO GUESTBOOK (name, surname, comments, publish,  email, date) VALUES ('$name','$surname', '$comments', '$publish',  '$email' ,  '$date')";
			$result = mysql_query($sql);
?>
                  <table width="400" border="0" cellspacing="0" cellpadding="0" align="center" class="text">
                    <tr> 
                      <td> 
                        <div align="center"><i>THANK YOU FOR SIGNING IN OUR GUEST 
                          BOOK</i></div>
                      </td>
                    </tr>
                  </table>
                  <?php			
}
else  {
?>
                  <p><a href="Templates/guestbook.php" class="texlink"><span class="texlink">View 
                    our Guestbook</span></a><span class="text"> - Sign in our 
                    geustbook and make your comments about our services.</span></p>
                  <table width="400" border="0" cellspacing="0" cellpadding="0" class="text" align="center">
                    <tr> 
                      <td width="101" valign="top"><img src="image/curvarow.gif" align="absmiddle" width="6" height="7"> 
                        <font color="#000033">COMMENTS</font></td>
                      <td colspan="3" width="466"> 
                        <textarea name="comments" rows="8" class="forma" cols="40"></textarea>
                      </td>
                    </tr>
                    <tr> 
                      <td width="101" valign="top"><img src="image/curvarow.gif" align="absmiddle" width="6" height="7"> 
                        <font color="#000033">NAME</font></td>
                      <td colspan="3" width="466"> 
                        <input type="text" maxlength="30" size="21" name="name" class="forma">
                      </td>
                    </tr>
                    <tr> 
                      <td width="101" valign="top"><img src="image/curvarow.gif" align="absmiddle" width="6" height="7"> 
                        <font color="#000033">SURNAME</font></td>
                      <td colspan="3" width="466"> 
                        <input type="text" maxlength="30" size="21" name="surname" class="forma">
                      </td>
                    </tr>
                    <tr> 
                      <td width="101" valign="top"><img src="image/curvarow.gif" align="absmiddle" width="6" height="7"> 
                        <font color="#000033">EMAIL</font></td>
                      <td colspan="3" width="466"> 
                        <input type="text" maxlength="30" size="21" name="email" class="forma">
                      </td>
                    </tr>
                    <tr valign="middle" align="center"> 
                      <td colspan="4"><br>
                        <img src="Templates/image/dotline.gif" height="4" align="absmiddle"></td>
                    </tr>
                    <tr> 
                      <td colspan="4"> <br>
                        <?php  $today = date( "Ymd", time() );?>
                        <input type="hidden" name="date" value="<?php echo $today ?>">
                        <input type="hidden" name="publish" value="no">
                        <div align="center"> 
                          <input type="submit" name="submit" value="Send comments" class="forma">
                        </div>
                      </td>
                    </tr>
                  </table>
                  <p>
                    <?php } ?>
                  </p>
                </td>
              </tr>
            </table>
            <!-- #EndEditable --></td>
          <td width="160" valign="top" align="right"> 
            <table width="160" border="0" cellspacing="0" cellpadding="0" class="txt">
              <tr> 
                <td width="186" valign="top" align="right"> 
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">General 
                        info </a></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">Accomodation 
                        types</a> </td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">Booking</a></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">Image 
                        gallery </a></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">Guestbook</a></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">Useful 
                        Links </a></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" height="4">
                    <tr> 
                      <td valign="top" align="right"> <a href="#" class="link">Contact</a></td>
                    </tr>
                  </table>
                  <table width="186" border="0" cellspacing="0" cellpadding="0" class="txt" align="center">
                    <tr> 
                      <td bgcolor="#FFDEDE"><img src="layout/linesm.gif" width="186" height="7"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
    </td>
    <td bgcolor="#004C84" width="1"></td>
  </tr>
</table>


</body>
</html>

