Code formatting.
This commit is contained in:
@@ -1,37 +1,37 @@
|
||||
<h2>Ferienhaus Wille </h2>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col width="70px" />
|
||||
<col width="300px" />
|
||||
</colgroup>
|
||||
<tr>
|
||||
<th colspan="2">Familien Wille / Jörg</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">Kühgasse 3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">87541 Bad Hindelang - Bad Oberdorf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tel.:</td>
|
||||
<td>+49 8324 952154</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>+49 8324 521</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fax:</td>
|
||||
<td>+49 8324 952153</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-Mail:</td>
|
||||
<td><a href="mailto:info@ferienhaus-wille.de">info@ferienhaus-wille.de</a></td>
|
||||
</tr>
|
||||
</div>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
?>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col width="70px"/>
|
||||
<col width="300px"/>
|
||||
</colgroup>
|
||||
<tr>
|
||||
<th colspan="2">Familien Wille / Jörg</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">Kühgasse 3</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">87541 Bad Hindelang - Bad Oberdorf</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tel.:</td>
|
||||
<td>+49 8324 952154</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>+49 8324 521</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fax:</td>
|
||||
<td>+49 8324 952153</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-Mail:</td>
|
||||
<td><a href="mailto:info@ferienhaus-wille.de">info@ferienhaus-wille.de</a></td>
|
||||
</tr>
|
||||
</div>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
?>
|
||||
|
||||
@@ -1,75 +1,75 @@
|
||||
<h2>Preisliste</h2>
|
||||
<h3>Preise für Wohnung Amelie (Dachwohnung, 65 qm für 2 Personen)</h3>
|
||||
<table class="preise">
|
||||
<tr>
|
||||
<th>Zeitraum</th>
|
||||
<th>Buchungen<br /> <br />3 - 4 Nächte<br /> <br /><small>(2 Pers./Nacht)</small></th>
|
||||
<th>Buchungen<br /> <br />5 -6 Nächte<br /> <br /><small>(2 Pers./Nacht)</small></th>
|
||||
<th class="hs">Hauptsaison<br /> <br />ab 7 Nächte<br /> <br /><small>(2 Pers./Nacht)</small></th>
|
||||
<th class="ns">Nebensaison<br /> <br />ab 7 Nächte<br /> <br /><small>(2 Pers./Nacht)</small></th>
|
||||
<th class="aw">Weihnachten<br /> <br />ab 14 Nächte<br /> <br /><small>(2 Pers./Nacht)</small></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Zeitraum</th>
|
||||
<th>Buchungen<br/> <br/>3 - 4 Nächte<br/> <br/><small>(2 Pers./Nacht)</small></th>
|
||||
<th>Buchungen<br/> <br/>5 -6 Nächte<br/> <br/><small>(2 Pers./Nacht)</small></th>
|
||||
<th class="hs">Hauptsaison<br/> <br/>ab 7 Nächte<br/> <br/><small>(2 Pers./Nacht)</small></th>
|
||||
<th class="ns">Nebensaison<br/> <br/>ab 7 Nächte<br/> <br/><small>(2 Pers./Nacht)</small></th>
|
||||
<th class="aw">Weihnachten<br/> <br/>ab 14 Nächte<br/> <br/><small>(2 Pers./Nacht)</small></th>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
$sql1 = "SELECT * FROM Preise WHERE ID = 2";
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
$sql2 = "SELECT Von, Bis, Typ FROM Saison";
|
||||
$result2 = $db->query($sql2);
|
||||
while ($nt2 = $result2->fetch_assoc()) {
|
||||
$Von = date("d.m.y",strtotime($nt2['Von']));
|
||||
$Bis = date("d.m.y",strtotime($nt2['Bis']));
|
||||
echo " <tr>\n";
|
||||
if ('Hauptsaison' == $nt2['Typ']) {
|
||||
echo " <td class=\"hs\">$Von - $Bis</td>\n";
|
||||
}
|
||||
if ('Nebensaison' == $nt2['Typ']) {
|
||||
echo " <td class=\"ns\">$Von - $Bis</td>\n";
|
||||
}
|
||||
if ('Weihnachten' == $nt2['Typ']) {
|
||||
echo " <td class=\"aw\">$Von - $Bis</td>\n";
|
||||
}
|
||||
echo " <td>".number_format($nt1['Nacht3'], 2, ',', '.')." €</td>\n";
|
||||
echo " <td>".number_format($nt1['Nacht5'], 2, ',', '.')." €</td>\n";
|
||||
if ('Hauptsaison' == $nt2['Typ']) {
|
||||
echo " <td class=\"hs\">".number_format($nt1['Hauptsaison'], 2, ',', '.')." €</td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " <td></td>\n";
|
||||
}
|
||||
if ('Nebensaison' == $nt2['Typ']) {
|
||||
echo " <td></td>\n";
|
||||
echo " <td class=\"ns\">".number_format($nt1['Nebensaison'], 2, ',', '.')." €</td>\n";
|
||||
echo " <td></td>\n";
|
||||
}
|
||||
if ('Weihnachten' == $nt2['Typ']) {
|
||||
echo " <td></td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " <td class=\"aw\">".number_format($nt1['Weihnachten'], 2, ',', '.')." €</td>\n";
|
||||
}
|
||||
echo " </tr>\n";
|
||||
}
|
||||
|
||||
$p1 = $nt1['Nacht3'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p2 = $nt1['Nacht5'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p3 = $nt1['Hauptsaison'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p4 = $nt1['Nebensaison'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p5 = $nt1['Weihnachten'] + 2 * $nt1['Kurbeitrag'];
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <th>Preise inkl. Kurbeitrag</th>\n";
|
||||
echo " <th>".number_format($p1, 2, ',', '.')." €</th>\n";
|
||||
echo " <th>".number_format($p2, 2, ',', '.')." €</th>\n";
|
||||
echo " <th>".number_format($p3, 2, ',', '.')." €</th>\n";
|
||||
echo " <th>".number_format($p4, 2, ',', '.')." €</th>\n";
|
||||
echo " <th>".number_format($p5, 2, ',', '.')." €</th>\n";
|
||||
echo " </tr>\n";
|
||||
?>
|
||||
while ($nt2 = $result2->fetch_assoc()) {
|
||||
$Von = date("d.m.y", strtotime($nt2['Von']));
|
||||
$Bis = date("d.m.y", strtotime($nt2['Bis']));
|
||||
echo " <tr>\n";
|
||||
if ('Hauptsaison' == $nt2['Typ']) {
|
||||
echo " <td class=\"hs\">$Von - $Bis</td>\n";
|
||||
}
|
||||
if ('Nebensaison' == $nt2['Typ']) {
|
||||
echo " <td class=\"ns\">$Von - $Bis</td>\n";
|
||||
}
|
||||
if ('Weihnachten' == $nt2['Typ']) {
|
||||
echo " <td class=\"aw\">$Von - $Bis</td>\n";
|
||||
}
|
||||
echo " <td>" . number_format($nt1['Nacht3'], 2, ',', '.') . " €</td>\n";
|
||||
echo " <td>" . number_format($nt1['Nacht5'], 2, ',', '.') . " €</td>\n";
|
||||
if ('Hauptsaison' == $nt2['Typ']) {
|
||||
echo " <td class=\"hs\">" . number_format($nt1['Hauptsaison'], 2, ',', '.') . " €</td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " <td></td>\n";
|
||||
}
|
||||
if ('Nebensaison' == $nt2['Typ']) {
|
||||
echo " <td></td>\n";
|
||||
echo " <td class=\"ns\">" . number_format($nt1['Nebensaison'], 2, ',', '.') . " €</td>\n";
|
||||
echo " <td></td>\n";
|
||||
}
|
||||
if ('Weihnachten' == $nt2['Typ']) {
|
||||
echo " <td></td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " <td class=\"aw\">" . number_format($nt1['Weihnachten'], 2, ',', '.') . " €</td>\n";
|
||||
}
|
||||
echo " </tr>\n";
|
||||
}
|
||||
|
||||
$p1 = $nt1['Nacht3'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p2 = $nt1['Nacht5'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p3 = $nt1['Hauptsaison'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p4 = $nt1['Nebensaison'] + 2 * $nt1['Kurbeitrag'];
|
||||
$p5 = $nt1['Weihnachten'] + 2 * $nt1['Kurbeitrag'];
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <th>Preise inkl. Kurbeitrag</th>\n";
|
||||
echo " <th>" . number_format($p1, 2, ',', '.') . " €</th>\n";
|
||||
echo " <th>" . number_format($p2, 2, ',', '.') . " €</th>\n";
|
||||
echo " <th>" . number_format($p3, 2, ',', '.') . " €</th>\n";
|
||||
echo " <th>" . number_format($p4, 2, ',', '.') . " €</th>\n";
|
||||
echo " <th>" . number_format($p5, 2, ',', '.') . " €</th>\n";
|
||||
echo " </tr>\n";
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
include "inhalte/preis_def.php";
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
include "inhalte/preis_def.php";
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,28 +1,32 @@
|
||||
<div id="lspalte">
|
||||
<p>
|
||||
Unsere gemütliche Wohnung Amelie im Dachgeschoss bietet ebenfalls Platz für 2 Personen. <br />
|
||||
"...Frau Wille, wir hätten gerne die schnuckelige Wohnung unterm Dach...", lauten die Buchungsanfragen unserer Stammgäste. Das Besondere: Sie werden von der Sonne geweckt,
|
||||
die über den Balkon ins Schlafzimmer scheint und können auf dem Balkon in der
|
||||
Morgensonne frühstücken.
|
||||
</p>
|
||||
<h3>Details zur Wohnung Amelie:</h3>
|
||||
<ul>
|
||||
<li>gemütliche F-4 Sterne Wohnung mit 65 qm für 2 Personen</li>
|
||||
<li>separates Schlafzimmer (Allergiebetten u. weiße Kochbettwäsche)<br />
|
||||
mit Abstellraum</li>
|
||||
<li>Wohnküche komplett eingerichtet (Cerankochfeld, Backofen,
|
||||
Kühlschrank mit Gefrierfach, Senseo- oder Filterkaffemaschine, Wasserkocher,
|
||||
Toaster, Mixer etc.)</li>
|
||||
<li>bequeme Sitz- u. Essecke mit Kabel-TV, Stereoanlage und Bücher-/ Spielesammlung</li>
|
||||
<li>Neues Badezimmer (Dusche/WC), Föhn, Kosmetikspiegel</li>
|
||||
<li>Ostbalkon zur Alleinbenutzung mit Bergblick<br />
|
||||
(erreichbar über Wohnküche u. Schlafzimmer)</li>
|
||||
<li>Handtücher, Geschirrtücher und weiße Kochbettwäsche sowie Endreinigung inklusive</li>
|
||||
</ul>
|
||||
<p>
|
||||
Unsere gemütliche Wohnung Amelie im Dachgeschoss bietet ebenfalls Platz für 2 Personen. <br/>
|
||||
"...Frau Wille, wir hätten gerne die schnuckelige Wohnung unterm Dach...", lauten die Buchungsanfragen unserer
|
||||
Stammgäste. Das Besondere: Sie werden von der Sonne geweckt,
|
||||
die über den Balkon ins Schlafzimmer scheint und können auf dem Balkon in der
|
||||
Morgensonne frühstücken.
|
||||
</p>
|
||||
<h3>Details zur Wohnung Amelie:</h3>
|
||||
<ul>
|
||||
<li>gemütliche F-4 Sterne Wohnung mit 65 qm für 2 Personen</li>
|
||||
<li>separates Schlafzimmer (Allergiebetten u. weiße Kochbettwäsche)<br/>
|
||||
mit Abstellraum
|
||||
</li>
|
||||
<li>Wohnküche komplett eingerichtet (Cerankochfeld, Backofen,
|
||||
Kühlschrank mit Gefrierfach, Senseo- oder Filterkaffemaschine, Wasserkocher,
|
||||
Toaster, Mixer etc.)
|
||||
</li>
|
||||
<li>bequeme Sitz- u. Essecke mit Kabel-TV, Stereoanlage und Bücher-/ Spielesammlung</li>
|
||||
<li>Neues Badezimmer (Dusche/WC), Föhn, Kosmetikspiegel</li>
|
||||
<li>Ostbalkon zur Alleinbenutzung mit Bergblick<br/>
|
||||
(erreichbar über Wohnküche u. Schlafzimmer)
|
||||
</li>
|
||||
<li>Handtücher, Geschirrtücher und weiße Kochbettwäsche sowie Endreinigung inklusive</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="rspalte">
|
||||
|
||||
<?php
|
||||
include "inhalte/rfoto.php";
|
||||
include "inhalte/rfoto.php";
|
||||
?>
|
||||
Reference in New Issue
Block a user