<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<!-- #BeginEditable "doctitle" -->

<title>Βιβλίο Επισκεπτών</title>

<!-- #EndEditable -->

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">

<link rel="stylesheet" href="allstyles.css" type="text/css">

<link rel="stylesheet" href="styles.css" type="text/css">

<script language="JavaScript">

<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}

//-->

</script>
<?php 
	  include 'includes/headcosmores.php';
?>

</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>

<SCRIPT language=JavaScript>

<!--

function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}

//-->

</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="flash/episkeptes.swf">

        <param name=quality value=high>

        <embed src="flash/episkeptes.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="100%">

  <tr>

    <td bgcolor="#004C84" width="1" height="22"></td>

    <td bgcolor="#FFFFFF" width="732" valign="middle" align="center" background="layout/backcenter.gif" height="22"> 

      <div align="right"><a href="guestbook_en.php"><img src="image/uk_flag2.jpg" width="28" height="18" border="0"></a>&nbsp;&nbsp;</div>

    </td>

    <td bgcolor="#004C84" width="1" height="22"></td>

  </tr>

  <tr> 

    <td bgcolor="#004C84" width="1" height="390"></td>

    <td bgcolor="#FFFFFF" width="732" valign="top" align="center" background="layout/backcenter.gif" height="390"> 

      <p>&nbsp;</p>

      <table width="710" border="0" cellspacing="0" cellpadding="0" align="center">

        <tr> 

          <td width="600" valign="top"> 

            <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center" class="text">

              <tr> 

                <td> 

                  <div align="center"><a href="guestbook1_gr.php" class="texlink">Υπογάψτε 

                    εδώ το βιβλίο επισκεπτών</a> - Υπογράψτε εδώ το βιβλίο επισκεπτών 

                    και κάντε τα σχολιά σας για τις υπηρεσίες μας</div>

                  <br>

                </td>

              </tr>

              <tr> 

                <td valign="top">

                  <?php 

			$dbh=mysql_connect("localhost","olympicv","olym8y");

			mysql_select_db("olympicv_olympic",$dbh);

			$sql = "SELECT * FROM GUESTBOOK WHERE publish='yes'ORDER BY 'id' ";

			$result = mysql_query($sql);

?>

                  <?php

	   $count=0;	

	while ($myrow=mysql_fetch_array($result)) {

	         $count++;

			$id=$myrow['id'];

			$name=$myrow['name'];

	        $surname=$myrow['surname'];

			$email=$myrow['email'];

			$publish=$myrow['publish'];

			$date=$myrow['date'];

			$comments=$myrow['comments'];

?>

                  <table width="500" border="0" cellspacing="0" cellpadding="6" align="center" class="text">

                    <tr> 

                      <td width="9" bgcolor="#e9e9e9"><img src="image/garow.gif" width="8" height="8"> 

                      </td>

                      <td width="404" bgcolor="#e9e9e9"> <b> 

                        <?php echo $surname ?>

                        <?php echo $name ?>

                        </b> </td>

                      <td width="111" bgcolor="#e9e9e9" align="right"> <font color="#666666"> 

                        <i> 

                        <?PHP 

  		$century	= substr($date,0,4);

  		$month	= substr($date,4,2); 

				$ddate	= substr($date,6,2); 

		?>

                        <?php echo $ddate ?>

                        / 

                        <?php echo $month ?>

                        / 

                        <?php echo $century ?>

                        </i></font> </td>

                    </tr>

                    <tr> 

                      <td colspan="3"> 

                        <?php echo $comments ?>

                      </td>

                    </tr>

                  </table>

                  <div align="center"><img src="image/dotline.gif" align="absmiddle"> 

                    <BR>

                  </div>

                  <?php } ?>

                </td>

              </tr>

            </table>

          </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="index1_gr.php" class="link">Γενικές 

                        Πληροφορίες </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="accommodation_gr.php" class="link">Τύποι 

                        Δωματίων</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="direct_gr.php" class="link">Κρατήσεις</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="images_gr.php" class="link">Φωτογραφίες 

                        </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="guestbook_gr.php" class="link">Βιβλίο 

                        Επισκεπτών </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="links_gr.php" 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="contact_gr.php" class="link">Επικοινωνία</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>

            <p align="center"><a href="#"><img src="images/map.JPG" width="170" onClick="MM_openBrWindow('map.htm','','width=511,height=529')" border="0"></a></p>

            <p align="right" class="texlink" onClick="MM_openBrWindow('map.htm','','width=511,height=529')"><a href="#" class="texlink">πατήστε 

              για μεγένθυνση</a></p>

          </td>

        </tr>

      </table>

    </td>

    <td bgcolor="#004C84" width="1" height="390"></td>

  </tr>

  <tr>

    <td bgcolor="#004C84" width="1" height="2"></td>

    <td bgcolor="#FFFFFF" width="732" valign="bottom" align="center" background="layout/backcenter.gif" height="20"> 

      <div align="right"><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="160" height="20">

          <param name=movie value="images/FLASH%20MARINET.swf">

          <param name=quality value=high>

          <embed src="images/FLASH%20MARINET.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="160" height="20">

          </embed> 

        </object></div>

    </td>

    <td bgcolor="#004C84" width="1" height="2"></td>

  </tr>

</table>





</body>

</html>



