Make them corners beatiful

This commit is contained in:
Lauren Toivanen 2024-09-29 00:18:04 +03:00
parent 4a89a35984
commit 9eb5191096
Signed by: jt
GPG key ID: 9151B109B73ECAD5
2 changed files with 26 additions and 2 deletions

View file

@ -79,8 +79,11 @@ $posts = array_reverse($database->getPosts());
//var_dump($posts);
foreach($posts as $post) {
echo '<div class="post">';
echo '<div class="postinfo">';
echo '<strong>' . $post["user.name"] . '</strong>';
echo '<br><small>@' . $post["user.handle"] . '</small>';
echo '</div>';
echo '<p>' . $post["post.text"] . '</p>';
echo '<hr><small>' . date("D j.n.Y \@ G:i", $post["post.time"]) . '</small>';
echo '