From 93825beae2dd7cdcaca8bdb3aace712aee85fe36 Mon Sep 17 00:00:00 2001 From: Cflip <36554078+cflip@users.noreply.github.com> Date: Sat, 23 Jan 2021 17:56:13 -0700 Subject: Show latest threads on index page --- index.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/index.php b/index.php index 03069b7..08f4928 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,14 @@ +
+

Welcome to the cflip.net forum!

+ Latest Updates: + +
+ @@ -23,6 +31,30 @@ include_once 'header.php'; echo ''; } + mysqli_free_result($result); +?> +
CategoryExample thread
1 hour ago by example user
+ + + + + +'; + } + mysqli_free_result($result); ?>
Latest ThreadsLatest Post
'; + echo '

' . $row['thread_subject'] . '

'; + echo 'by ' . $row['user_name'] . ' on ' . date('M d, Y', strtotime($row['thread_date'])) . '
by cflip
01-22-2021 9:34
-- cgit v1.2.3