» Unterdrück(t)er
Web-Sheriff - ohne Bild
» Unterdrück(t)er
<p><h4>Gästebuch</h4></p>
<p><a href="?s=include/guestbook_eintrag">[Eintrag]</a></p><br />
<div style="width: 500px;">
<?php
include('inc/inc.php');
$sql = "SELECT id, name, email, website, text, zeit FROM guestbook ORDER BY id DESC";
$result = mysql_query($sql);
if (!$result) {
echo "Es ist ein Fehler aufgetreten.";
} else {
while ($row = mysql_fetch_assoc($result)) {
echo "<div style='width: 150px; height: 16px; background: #eee; padding: 4px 0 0 0; text-align: center; float: left; font-size: 10px; letter-spacing: 5px;'>Daten</div>";
echo "<div style='width: 349px; margin-left: 1px; float: left; height: 16px; padding: 4px 0 0 0; background: #eee; text-align: center; font-size: 10px; letter-spacing: 5px;'>Nachricht</div>";
echo "<div style='width: 145px; background: #f5f4f4; margin-top: 1px; margin-bottom: 1px; clear: both; float: left; padding: 5px 0 5px 5px;'>";
echo "Name:<br /><b>".$row['name']."</b><br />Uhrzeit:<br />".date('d.m.y - H:i', $row['zeit'])."";
if (!empty($row['website'])) {
echo "<br /><a href='" .$row['website']. "'><img src='images/house.png' alt='world' /></a></b>";
}
echo "</div>";
echo nl2br("<div style='float: left; margin-left: 1px; width: 349px margin-bottom: 1px;'>" .$row['text']. "</div>");
echo "<div style='clear: both;'></div>";
}
}
?>
</div>
Web-Sheriff - ohne Bild
echo "</div>";
echo nl2br("<div style='float: left; margin-left: 1px; width: 349px margin-bottom: 1px;'>" .$row['text']. "</div>");
echo "<div style='clear: both;'></div>";
echo "</div>";
echo "<div style='float: left; margin-left: 1px; width: 349px margin-bottom: 1px;'>" .nl2br($row['text']). "</div>";
echo "<div style='clear: both;'></div>";
Willkommen auf PSD-Tutorials.de
In unseren Foren vernetzt du dich mit anderen Personen, um dich rund um die Themen Fotografie, Grafik, Gestaltung, Bildbearbeitung und 3D auszutauschen. Außerdem schalten wir für dich regelmäßig kostenlose Inhalte frei. Liebe Grüße senden dir die PSD-Gründer Stefan und Matthias Petri aus Waren an der Müritz. Hier erfährst du mehr über uns.
Nächster neuer Gratisinhalt
Statistik des Forums