<?php
  // --- Link zur Kunden-Bibliotheksdatei (ggf. mit Pfad, sonst selbes Verzeichnis angenommen)
  $link_to_clientview="kundensicht.php";
  // -------------------------------------------------------------------------------------------

  header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
  header ("Cache-Control: no-cache, must-revalidate");
  header ("Pragma: no-cache");
  include($link_to_clientview);

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

<title>Spiekeroog Ferienwohnungen</title>
<style type="text/css">
<!--
body {
	background-image: url(../img/back1.jpg);
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #74b2ff;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">

<!--
var _client = 'old';

var browser=navigator.appName;

var ver=parseInt(navigator.appVersion);

if (ver >= 3) _client="ok";

if (browser == "Microsoft Internet Explorer") _client='ie';
function okno(url,w,h) {

        urllength = url.length;

        winame = url.substring((urllength-9),(urllength-5))

        title = winame

        if (_client == "ok") {

                winparams = 'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width=' + w + ',height=' + h  ;

                winame = open(url,winame,winparams);

                history.go(url);

                document.close()

                winame.focus();

        }

        if (_client == "ie") {

                baseurl = location.href;

                winparams = 'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width=' + w + ',height=' + h ;

                winame = open(url,winame,winparams);

                document.close();

                if  (ver > 3) winame.focus();

        }

        if (_client == "old") {

                baseurl = location.href;

                winparams = 'toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width=' + w + ',height=' + h ;

                winame = open(url,winame,winparams);

                document.close();

        }

}

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navi1gator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="../style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Stil2 {color: #CCDFF7}
-->
</style>
</head>

<body onLoad="MM_preloadImages('../img/wohnung2on.gif')">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td background="../img/top.jpg"><table width="760" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="3"><IMG SRC="../img/navi11x1.jpg" WIDTH=760 HEIGHT=49 BORDER=0></td>
      </tr>
      <tr>
        <td><IMG SRC="../img/navi12x1.jpg" WIDTH=114 HEIGHT=88 BORDER=0></td>
        <td><IMG SRC="../img/navi12x2.jpg" WIDTH=86 HEIGHT=88 BORDER=0></td>
        <td><a href="index.htm"><IMG SRC="../img/navi12x3.jpg" WIDTH=560 HEIGHT=88 BORDER=0></a></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="../img/navi13x1.jpg" width=114 height=92 border=0></td>
    <td><img src="../img/navi13x2.jpg" width=86 height=92 border=0></td>
    <td><img src="../img/navi13x3.jpg" width=560 height=92 border=0></td>
  </tr>
  <tr>
    <td rowspan="2" valign="top"><img src="../img/navi14x1.jpg" width=114 height=122 border=0><br>
    <IMG SRC="../img/navi15x1.jpg" WIDTH=114 HEIGHT=179 BORDER=0></td>
    <td><img src="../img/navi14x2.jpg" width=86 height=122 border=0></td>
    <td rowspan="2" valign="top">
      <br>

    </td>
  </tr>
  <tr>
    <td><IMG SRC="../img/navi15x2.jpg" WIDTH=86 HEIGHT=179 BORDER=0></td>
  </tr>
</table>
<div id="Layer1" style="position:absolute; width:112px; height:119px; z-index:1; left: 5px; top: 158px;">
  <table width="110" border="0" cellspacing="3" cellpadding="1">
    <tr>
      <td class="form"><img src="../img/ueberschrift_wohn.gif" width="113" height="28"></td>
    </tr>
    <tr>
      <td><a href="wohn_beschr.htm">Beschreibung und Ausstattung </a></td>
    </tr>
    <tr>
      <td><a href="zimmer.htm">Die Zimmer</a> </td>
    </tr>
    <tr>
      <td><a href="infos_wohnung.htm">Nutzliche Informationen </a></td>
    </tr>
    <tr>
      <td><a href="hausordnung.htm">Hausordnung</a></td>
    </tr>
    <tr>
      <td class="form"><img src="../img/ueberschrift_haus.gif" width="113" height="28"></td>
    </tr>
    <tr>
      <td><a href="haus_beschr.htm">Beschreibung und Ausstattung</a></td>
    </tr>
       <tr>
      <td><a href="lage.htm">Die Lage <br>
      auf der Insel</a> </td>
    </tr>
    <tr>
      <td class="form"><img src="../img/ueberschrift_insel.gif" width="113" height="28"></td>
    </tr>
    <tr>
      <td><a href="infos.htm">Allgemeine<br>
      Informationen</a></td>
    </tr>
    <tr>
      <td><a href="strand.htm">Der Strand</a> </td>
    </tr>
    <tr>
      <td><a href="nationalpark.htm">Nationalpark</a></td>
    </tr>
    <tr>
      <td><a href="javascript:okno('galerie/inselbilder/inselbilder.htm',710,450);">Bilder</a></td>
    </tr>
    <tr>
      <td class="form"><img src="../img/ueberschrift_kontakt.gif" width="113" height="28"></td>
    </tr>
    <tr>
      <td><a href="anfragen.htm">Anfragen</a></td>
    </tr>
    <tr>

    </tr>
    <tr>



    </tr>
  </table>
</div>
<p>&nbsp;</p>
<div id="Layer2" style="position:absolute; width:116px; height:53px; z-index:2; left: 175px; top: 122px;"><a href="../spiekeroog.kroenchen7/wohn_beschr.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','../img/wohnung7on.gif',1)"><img src="../img/wohnung7.gif" name="Image17" width="107" height="20" border="0"></a></div>
<div id="Layer2" style="position:absolute; width:559px; height:19px; z-index:2; left: 173px; top: 183px;">
  <table width=100% cellspacing=0 cellpadding=0 border=0>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2">
      <?php $_GET["year"]=((isset($_GET["year"]) 
            && file_exists(yearfile($_GET["year"])) 
            && ($_GET["year"]>=date("Y")) 
            && ($_GET["year"]<=(date("Y")+2)))
            ?$_GET["year"]:date("Y")
            );
            ?>
          <p>
            <center>
              <font size='+1'>
              <?=(($_GET["year"]==date("Y"))?"AKTUELLES":(($_GET["year"]==date("Y")+2)?"&Uuml;BER":"")."N&Auml;CHSTES");?>
          JAHR
          <?=$_GET["year"];?>
              </font>
            </center>
            <!--
Legende
-->
          <p>Unsere Wohnung ist zu folgenden Terminen frei: </p>
          <table border="0">
            <tr>
              <td width="20" bgcolor=#B20000>&nbsp;</td>
              <td>vermietet</td>
            </tr>
            <tr>
              <td width="20" bgcolor=#00B200>&nbsp;</td>
              <td>frei</td>
            </tr>
          </table>
          <p>
            <!--
Hier beginnt die Tabelle f&uuml;r die Monate!
-->
            <?php show_cal($_GET["year"]); ?>
      </td>
    </tr>
    <tr>
      <td align=center>&nbsp;</td>
      <td align=center>&nbsp;</td>
    </tr>
    <tr>
      <td align=center><?php
  if (($_GET["year"]>date("Y")) && (file_exists(yearfile(date("Y"))))) {?>
          <a href="?year=<?=date("Y");?>" class="navi1">AKTUELLES JAHR<BR>
    &nbsp;&lt;&lt;
          <?=date("Y");?>
&lt;&lt;&nbsp;</a>
          <?php } else
  if (($_GET["year"]==date("Y")) && (file_exists(yearfile(date("Y")+1)))) {?>
          <a href="?year=<?=date("Y")+1;?>" class="navi1">N&Auml;CHSTES JAHR<BR>
    &nbsp;&gt;&gt;
          <?=date("Y")+1;?>
&gt;&gt;&nbsp;</a>
          <?php } else
  echo "&nbsp;";
?>
      </td>
      <td align=center><?php
  if (($_GET["year"]<date("Y")+2) && (file_exists(yearfile(date("Y")+2)))) {?>
          <a href="?year=<?=date("Y")+2;?>" class="navi1">&Uuml;BERN&Auml;CHSTES JAHR<BR>
    &nbsp;&gt;&gt;
          <?=date("Y")+2;?>
&gt;&gt;&nbsp;</a>
          <?php } else
  if (($_GET["year"]==date("Y")+2) && (file_exists(yearfile(date("Y")+1)))) {?>
          <a href="?year=<?=date("Y")+1;?>" class="navi1">N&Auml;CHSTES JAHR<BR>
    &nbsp;&lt;&lt;
          <?=date("Y")+1;?>
&lt;&lt;&nbsp;</a>
          <?php } else
  echo "&nbsp;";
?>
      </td>
    </tr>
  </table>
  <p>&nbsp;  </p>
  <p>&nbsp;</p>
</div>
</body>
</html>
