From f83530a122119d7f69812493f9c2f4987ccb2065 Mon Sep 17 00:00:00 2001 From: Cflip <36554078+cflip@users.noreply.github.com> Date: Wed, 10 Feb 2021 20:40:32 -0700 Subject: Reorganize code and add info to front page --- index.php | 62 ++++++++++++++++---------------------------------------------- 1 file changed, 16 insertions(+), 46 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index a3d6fce..ec81d0a 100644 --- a/index.php +++ b/index.php @@ -1,21 +1,22 @@ - +

Welcome to the cflip.net forum!

- Latest Updates: - +

+ This is the beta test of the forum website, so there are lots of features missing. Since there are no moderation features built into the website, + for the most part I don't care that much about what is posted here. Some links and buttons may not have any functionality either! +

+

+ If you notice a problem or have an idea for a feature that is missing, reply to this thread! +

- - - - - - +
CategoryLatest Thread
+ + + + '; - } else { - $no_threads_msg = 'There are no threads in this category yet.'; - echo ''; - } - } - - mysqli_stmt_close($stmt); - mysqli_free_result($result); + display_categories($dbc, $result); ?> -
CategoryLatest Thread
'; - echo '

' . $row['cat_name'] . '

'; - echo $row['cat_description']; - if ($thread) { - echo '
' . $thread['thread_subject'] . '
'; - echo 'by ' . $thread['user_name'] . '
'. $no_threads_msg .'
- -
Latest Threads View All Latest Post
- \ No newline at end of file -- cgit v1.2.3