New DB based GuestBook

This commit is contained in:
2024-06-14 13:48:24 +02:00
parent 15d3507b04
commit 70da3e66fd
14 changed files with 403 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
<div class="col">
<div class="card h-100 shadow-sm">
<div class="card-header">
<h6 class="card-subtitle mb-2 text-muted"><?= htmlspecialchars($comment["name"]) ?></h6>
</div>
<div class="card-body">
<p class="card-text"><?= nl2br(htmlspecialchars($comment["comment"])) ?></p>
</div>
<div class="card-footer">
<small class="text-muted">
<?= $comment["time"] ?>
</small>
</div>
</div>
</div>