Einchecken des Online-Codes
This commit is contained in:
11
inhalte/unter/agbs.php
Normal file
11
inhalte/unter/agbs.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$sql = "SELECT * FROM Uns WHERE ID = '4';";
|
||||
$result = $db->query($sql);
|
||||
$nt = $result->fetch_assoc();
|
||||
?>
|
||||
<h2><?php echo $nt['Titel']; ?></h2>
|
||||
<ol style="margin-left:0px;text-align:justify;">
|
||||
<li style="margin:10px 0px;">
|
||||
<?php echo nl2br ( str_replace ( "\n\r\n", "</li><li style=\"margin:10px 0px;\">", $nt['Text'] ) ); ?>
|
||||
</li>
|
||||
</ol>
|
||||
19
inhalte/unter/allein.php
Normal file
19
inhalte/unter/allein.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
$sql = "SELECT * FROM Uns WHERE ID = '6';";
|
||||
$result = $db->query ( $sql );
|
||||
$nt = $result->fetch_assoc ();
|
||||
$title = explode ( '||', $nt['Foto_Layout'] );
|
||||
$anz_ti = count ( $title );
|
||||
$texte = explode ( '||', $nt['Text'] );
|
||||
$anz_te = count ( $texte );
|
||||
$anz = max ( $anz_ti, $anz_te );
|
||||
echo "<h1>" . $nt['Titel'] . "</h1>\n";
|
||||
|
||||
for ( $i = 0; $i < $anz; $i++ )
|
||||
{
|
||||
?>
|
||||
<h2><?php echo ( isset ( $title[$i] ) ) ? $title[$i] : ""; ?></h2>
|
||||
<p><?php echo ( isset ( $texte[$i] ) ) ? nl2br ( $texte[$i] ) : ""; ?></p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
58
inhalte/unter/haft.php
Normal file
58
inhalte/unter/haft.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
$sql = "SELECT Vertreter1, Vertreter2, Vertreter3 FROM Firma WHERE ID='2' ";
|
||||
$result = $db->query($sql);
|
||||
$nt = $result->fetch_assoc();
|
||||
|
||||
$count = 0;
|
||||
|
||||
if ('' !== $nt['Vertreter1']) {
|
||||
$count++;
|
||||
if ('' !== $nt['Vertreter2']) {
|
||||
$count++;
|
||||
if ('' !== $nt['Vertreter3']) {
|
||||
$count++;
|
||||
$vertreter1 = "$nt[Vertreter1], $nt[Vertreter2] und $nt[Vertreter3]";
|
||||
$vertreter2 = "$nt[Vertreter1], $nt[Vertreter2] oder $nt[Vertreter3]";
|
||||
}
|
||||
else {
|
||||
$vertreter1 = "$nt[Vertreter1] und $nt[Vertreter2]";
|
||||
$vertreter2 = "$nt[Vertreter1] oder $nt[Vertreter2]";
|
||||
}
|
||||
}
|
||||
else {
|
||||
$vertreter1 = $nt['Vertreter1'];
|
||||
$vertreter2 = $nt['Vertreter1'];
|
||||
}
|
||||
}
|
||||
|
||||
echo "<h1>Verantwortlichkeit für den Inhalt der Homepage</h1>\n";
|
||||
echo "<p>$vertreter1 ";
|
||||
if ($count > 1) {
|
||||
echo "sind ";
|
||||
}
|
||||
else {
|
||||
echo "ist ";
|
||||
}
|
||||
echo "als Inhaltsanbieter gem. § 8 Teledienstegesetz (TDG) für die eigenen Inhalte, die zur Nutzung bereitgehalten werden, verantwortlich. ";
|
||||
echo "Das Angebot enthält jedoch auch Links (Weiterleitungen) auf fremde Inhalte. Solche externen Links, d.h. Weiterleitungen zu Internetangeboten dritter Informationsanbieter, ";
|
||||
echo "sind als solche gekennzeichnet. $vertreter1 ";
|
||||
if ($count > 1) {
|
||||
echo "sind ";
|
||||
}
|
||||
else {
|
||||
echo "ist ";
|
||||
}
|
||||
echo "für den Inhalt von Web-Seiten, die mittels einer solchen Verbindung erreicht werden, nicht verantwortlich.</p>\n";
|
||||
echo "<p>Die auf den gelinkten Seiten wiedergegebenen Meinungsäußerungen und/oder Tatsachenbehauptungen liegen in der alleinigen Verantwortung ";
|
||||
echo "der jeweiligen Autorin oder des jeweiligen Autors und spiegeln nicht die Meinung von $vertreter2 wider. Daher ";
|
||||
if ($count > 1) {
|
||||
echo "distanzieren wir uns ausdrücklich von den Inhalten aller gelinkten Seiten auf unserer Website und machen uns diese Inhalte nicht zu eigen. ";
|
||||
}
|
||||
else {
|
||||
echo "distanziere ich mich ausdrücklich von den Inhalten aller gelinkten Seiten auf meiner Website und mache mir diese Inhalte nicht zu eigen.</p>\n";
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
46
inhalte/unter/imp.php
Normal file
46
inhalte/unter/imp.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
$sql1 = "SELECT * FROM Firma WHERE ID='2' ";
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
$sql2 = "SELECT * FROM Uns WHERE ID='5' ";
|
||||
$result2 = $db->query($sql2);
|
||||
$nt2 = $result2->fetch_assoc();
|
||||
|
||||
echo "<h1>" . $nt2['Titel'] . "</h1>\n";
|
||||
echo "<h3>".$nt1['Firma']."</h3>\n";
|
||||
|
||||
if ('' !== $nt1['Vertreter1']) {
|
||||
echo $nt1['Vertreter1'];
|
||||
}
|
||||
if ('' !== $nt1['Vertreter2']) {
|
||||
echo ", ".$nt1['Vertreter2'];
|
||||
}
|
||||
if ('' !== $nt1['Vertreter3']) {
|
||||
echo ", ".$nt1['Vertreter3']."\n";
|
||||
}
|
||||
echo " <br />\n";
|
||||
|
||||
echo "<table>\n";
|
||||
echo " <colgroup>\n";
|
||||
echo " <col width=\"50px\" />\n";
|
||||
echo " <col width=\"400px\" />\n";
|
||||
echo " </colgroup>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan=\"2\">".$nt1['Strasse']." ".$nt1['HausNr']."<br />".$nt1['PLZ']." ".$nt1['Ort']."<br />".$nt1['Land']."<br /> </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td>Tel:</td>\n";
|
||||
echo " <td>".$nt1['Telefon']."</td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td>Fax:</td>\n";
|
||||
echo " <td>".$nt1['Telefax']."</td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td>Email:</td>\n";
|
||||
echo " <td><a href=\"mailto:".$nt1['EMail']."\">".$nt1['EMail']."</a></td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
echo "</table>\n";
|
||||
echo "<p style=\"margin-top:30px;\">" . nl2br ( $nt2['Text'] ) . "</p>\n";
|
||||
?>
|
||||
70
inhalte/unter/kontakt.php
Normal file
70
inhalte/unter/kontakt.php
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
$sql = "SELECT Titel, Text, Foto_Layout FROM Uns WHERE ID='3' ";
|
||||
$result = $db->query($sql);
|
||||
$nt = $result->fetch_assoc();
|
||||
$sql1 = "SELECT * FROM Firma WHERE ID='2' ";
|
||||
$result1= $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
$sql2 = "SELECT Kurz FROM US WHERE Sektion = \"kontakt\" AND Wert = \"on\" ORDER BY ID ASC;";
|
||||
$result2= $db->query($sql2);
|
||||
|
||||
echo "<h1>".$nt['Titel']."</h1>\n";
|
||||
if ("ohne" == $nt['Foto_Layout']) {
|
||||
} elseif ("rechts" == $nt['Foto_Layout']) {
|
||||
echo "<img style=\"float: right; margin-left: 20px;\" src=\"img/team/ko.jpg\" title=\"".$nt['Titel']."\" alt=\"".$nt['Titel']."\" />\n";
|
||||
} elseif ("links" == $nt['Foto_Layout']) {
|
||||
echo "<img style=\"float: left; margin-right: 20px;\" src=\"img/team/ko.jpg\" title=\"".$nt['Titel']."\" alt=\"".$nt['Titel']."\" />\n";
|
||||
} elseif ("oben" == $nt['Foto_Layout']) {
|
||||
echo "<p style=\"text-align: center;\">\n";
|
||||
echo " <img style=\"float: none;\" src=\"img/team/ko_oben.jpg\" title=\"".$nt['Titel']."\" alt=\"".$nt['Titel']."\" />\n";
|
||||
echo "</p>\n";
|
||||
}
|
||||
echo "<p>".nl2br($nt['Text'])."</p>\n";
|
||||
echo "<h3>".$nt1['Firma']."</h3>\n";
|
||||
|
||||
if ('' !== $nt1['Vertreter1']) {
|
||||
echo $nt1['Vertreter1'];
|
||||
}
|
||||
if ('' !== $nt1['Vertreter2']) {
|
||||
echo ", ".$nt1['Vertreter2'];
|
||||
}
|
||||
if ('' !== $nt1['Vertreter3']) {
|
||||
echo ", ".$nt1['Vertreter3']."\n";
|
||||
}
|
||||
echo " <br />\n";
|
||||
|
||||
echo "<table>\n";
|
||||
echo " <colgroup>\n";
|
||||
echo " <col width=\"50px\" />\n";
|
||||
echo " <col width=\"300px\" />\n";
|
||||
echo " </colgroup>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan=\"2\">".$nt1['Strasse']." ".$nt1['HausNr']."<br />".$nt1['PLZ']." ".$nt1['Ort']."<br />".$nt1['Land']."<br /> </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td>Tel:</td>\n";
|
||||
echo " <td>".$nt1['Telefon']."</td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td>Fax:</td>\n";
|
||||
echo " <td>".$nt1['Telefax']."</td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td>Email:</td>\n";
|
||||
echo " <td><a href=\"mailto:" . $nt1['EMail'] . "\">" . $nt1['EMail'] . "</a></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "<br /> <br />\n";
|
||||
if (("links" == $nt['Foto_Layout']) OR ("rechts" == $nt['Foto_Layout'])) {
|
||||
echo "<br class=\"fix\" />\n";
|
||||
echo " <br />\n";
|
||||
}
|
||||
while ($nt2 = $result2->fetch_assoc()) {
|
||||
if ("ii" == $nt2['Kurz']) {
|
||||
echo "<p>Ich suche eine Immobilie und möchte das <a href=\"index.php?section=unter&t=ko&b=ii\">Interessentenformular</a> nutzen.</p>\n";
|
||||
} elseif ("vv" == $nt2['Kurz']) {
|
||||
echo "<p>Ich bin Vermieter / Verkäufer und möchte das <a href=\"index.php?section=unter&t=ko&b=ii\">Vermieterformular</a> nutzen.</p>\n";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
9
inhalte/unter/links.php
Normal file
9
inhalte/unter/links.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<h1>Links</h1>
|
||||
<?php
|
||||
$sql = "SELECT * FROM Links ORDER BY linkId ASC;";
|
||||
$result = $db->query ( $sql );
|
||||
while ( $nt = $result->fetch_assoc() )
|
||||
{
|
||||
echo "<p>" . nl2br ( $nt['linkText'] ) . "<br /><a href=\"http://" . $nt['linkRef'] . "\" target=\"_blank\">" . $nt['linkRef'] . "</a></p>\n";
|
||||
}
|
||||
?>
|
||||
12
inhalte/unter/standard.php
Normal file
12
inhalte/unter/standard.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$sql = "SELECT ID FROM US WHERE Kurz = '" . $_GET['topic'] . "';";
|
||||
$result = $db->query( $sql );
|
||||
$nt = $result->fetch_assoc( );
|
||||
|
||||
$sql = "SELECT * FROM Uns WHERE ID = '" . $nt['ID'] . "';";
|
||||
$result = $db->query ( $sql );
|
||||
$nt = $result->fetch_assoc ( );
|
||||
|
||||
?>
|
||||
<h1><?php echo $nt['Titel']; ?></h1>
|
||||
<div><?php echo $nt['Text']; ?></div>
|
||||
25
inhalte/unter/stellen.php
Normal file
25
inhalte/unter/stellen.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<h1 style="font-size:24px;font-weight:bold;color:black;margin-bottom:10px;padding-bottom:0px;">Lust auf einen neuen Job?</h1>
|
||||
<p>Wir expandieren weiter und suchen für die Bereiche Vermietung und Verkauf in Ihrer Region eine(n) neue(n)</p>
|
||||
<h1 style="background-color:#DDDDDD;font-size:24px;font-weight:bold;color:black;margin-bottom:10px;padding-bottom:0px;">Mitarbeiter(in) im Außendienst.</h1>
|
||||
<p>
|
||||
<b>Wir bieten:</b><br />
|
||||
Einen interessanten und abwechslungsreichen Job, bei dem Sie selbst entscheiden, ob Sie Voll- oder Teilzeit arbeiten und damit auch selbst bestimmen, ob Sie
|
||||
</p>
|
||||
<h1 style="font-size:24px;font-weight:bold;color:black;margin-bottom:10px;padding-bottom:0px;">2.000, 3.000 oder 5.000 Euro pro Monat</h1>
|
||||
<p style="margin-bottom:50px;">
|
||||
verdienen wollen.<br />
|
||||
Eine angenehme Arbeitsatmosphäre und ein super Team, das Sie unterstützt.<br />
|
||||
<b>Wir erwarten:</b><br />
|
||||
Sie sind ein sympathischer Mensch und können mit unterschiedlichsten Kunden umgehen, sind zuverlässig und arbeiten auch abends und samstags.<br />
|
||||
Egal ob Appartement oder Villa, Sie beschreiben jede Immobilie mit den richtigen Worten und sind in der Region ortskundig.<br />
|
||||
Sie verfügen über ein Auto und ein Home Office.<br />
|
||||
Der Umgang mit PC und moderner Kommunikation ist selbstverständlich.<br />
|
||||
</p>
|
||||
<img src="img/header.gif" height="98" style="float:left;" />
|
||||
<p style="float:right;width:220px;">
|
||||
Ihre Kurzbewerbung mit tabellarischem Lebenslauf und Bild senden Sie per E-Mail an:<br />
|
||||
<a style="text-decoration:none;color:black;font-weight:bold;" href="mailto:kanal@twe-immobilien.de">kanal@twe-immobilien.de</a><br />
|
||||
Wir freuen uns auf Sie!
|
||||
</p>
|
||||
<br style="clear:both;" />
|
||||
<p style="margin-bottom:50px;"> </p>
|
||||
7
inhalte/unter/stellen_orig.php
Normal file
7
inhalte/unter/stellen_orig.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$sql = "SELECT * FROM Uns WHERE ID = '7' LIMIT 1;";
|
||||
$result = $db->query ( $sql );
|
||||
$nt = $result->fetch_assoc();
|
||||
?>
|
||||
<h1><?php echo $nt['Titel']; ?></h1>
|
||||
<p><?php echo nl2br ( $nt['Text'] ); ?><a href="mailto:<?php echo $nt['Foto_Layout']; ?>"><?php echo $nt['Foto_Layout']; ?></a></p>
|
||||
34
inhalte/unter/team.php
Normal file
34
inhalte/unter/team.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
$sql1 = "SELECT Titel, Text FROM Uns WHERE ID='2' ";
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
|
||||
echo "<h1>".$nt1['Titel']."</h1>\n";
|
||||
echo "<p>".nl2br($nt1['Text'])."</p>\n";
|
||||
|
||||
$sql2 = "SELECT * FROM Team WHERE Anzeige = \"on\" ORDER BY AnzeigeNr ASC;";
|
||||
$result2 = $db->query($sql2);
|
||||
|
||||
echo "<table class=\"team\">\n";
|
||||
echo " <colgroup>\n";
|
||||
echo " <col width=\"250px\" />\n";
|
||||
echo " <col width=\"100px\" />\n";
|
||||
echo " <col width=\"350px\" />\n";
|
||||
echo " </colgroup>\n";
|
||||
while ($nt2 = $result2->fetch_assoc()) {
|
||||
echo "<tr>\n";
|
||||
echo " <td rowspan=\"2\"><img src=\"img/team/".$nt2['ID'].".jpg\" alt=\"$nt2[Vorname] $nt2[Nachname]\" /></td>\n";
|
||||
echo " <td colspan=\"2\" style=\"border: 0px; vertical-align: bottom;\"><h3>$nt2[Titel1] $nt2[Vorname] $nt2[Nachname]</h3>\n";
|
||||
echo "$nt2[Titel2]</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td style=\"vertical-align: top; padding-top: 0px;\">Telefon:<br />\n";
|
||||
echo " EMail:<br />\n";
|
||||
echo " Bereich:</td>\n";
|
||||
echo " <td style=\"vertical-align: top; padding-top: 0px;\">$nt2[Telefon]<br />\n";
|
||||
echo " <a href=\"mailto:$nt2[EMail]\">$nt2[EMail]</a><br />\n";
|
||||
echo " $nt2[Bereich]</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
echo "</table>\n";
|
||||
?>
|
||||
42
inhalte/unter/uns.php
Normal file
42
inhalte/unter/uns.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
$sql = "SELECT * FROM Uns WHERE ID='1';";
|
||||
$result = $db->query($sql);
|
||||
$nt = $result->fetch_assoc();
|
||||
$sql1 = "SELECT * FROM Firma WHERE ID='2' ";
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
|
||||
$titel = explode ( '||', $nt['Titel'] );
|
||||
$texte = explode ( '||', $nt['Text'] );
|
||||
?>
|
||||
<table>
|
||||
<colgroup>
|
||||
<col span="3" width="250px"/>
|
||||
</colgroup>
|
||||
<tr>
|
||||
<th><big><?php echo $titel[0]; ?></big></th>
|
||||
<th><big><?php echo $titel[1]; ?></big></th>
|
||||
<th><big><?php echo $titel[2]; ?></big></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" style="vertical-align:top;text-align:justify;padding-right:25px;"><?php echo nl2br ( $texte[0] ); ?></td>
|
||||
<td style="vertical-align:top;text-align:justify;padding-right:25px;"><?php echo nl2br ( $texte[1] ); ?></td>
|
||||
<td rowspan="2" style="vertical-align:top;text-align:justify;"><?php echo nl2br ( $texte[2] ); ?></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td valign="top" style="vertical-align:top;text-align:center;">
|
||||
<b><?php echo $nt1['Firma']; ?></b><br />
|
||||
<?php echo $nt1['Strasse']; ?> <?php echo $nt1['HausNr']; ?><br />
|
||||
<?php echo $nt1['PLZ']; ?> <?php echo $nt1['Ort']; ?><br />
|
||||
<br />
|
||||
Telefon: <?php echo $nt1['Telefon']; ?><br />
|
||||
Telefax: <?php echo $nt1['Telefax']; ?><br />
|
||||
<a href="mailto:<?php echo $nt1['EMail']; ?>"><?php echo $nt1['EMail']; ?></a><br />
|
||||
<a href="index.php?section=home">www.twe-immobilien.de</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br /> <br />
|
||||
<p style="text-align: center;">
|
||||
<img style="float: none;" src="img/team/uu_oben.png" title="TWE-Immobilien" alt="TWE-Immobilien" />
|
||||
</p>
|
||||
Reference in New Issue
Block a user