From fd0c3a283153d6f2d759e5e14888e40e65dc61b7 Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Wed, 23 Jun 2021 15:19:21 -0600 Subject: Add latest threads to index page --- index.php | 115 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 60 insertions(+), 55 deletions(-) mode change 100644 => 100755 index.php (limited to 'index.php') diff --git a/index.php b/index.php old mode 100644 new mode 100755 index ac2dd3e..3b3f21b --- a/index.php +++ b/index.php @@ -1,55 +1,60 @@ - - - - - cflip.net forum - - - - - - -

Welcome to the cflip.net forum!

-

- 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! -

-

Categories

- - - - - - - - - - - - -get_latest_thread(); if ($latest_thread->has_value()): ?> - - - - - - -
CategoryThreadsPostsLatest Thread
- name ?> -
description ?> -
thread_count ?>post_count ?> - subject ?> -
- by author->name ?>, date_created ?> -
No threads yet!
- - + + + + + cflip.net forum + + + + +

Categories

+ + + + + + + + +get_latest_thread(); if ($latest_thread->has_value()): ?> + + + + + + +
CategoryLatest Thread
+ name ?> +
description ?> +
+ subject ?> +
+ by author->name ?>, date_created ?> +
No threads yet!
+

Latest Threads

+ + + + + + + + + + +get_latest_post(); if ($latest_post->has_value()): ?> + + + + + + +
ThreadCategoryLatest Post
+ subject ?> + on date_created)); ?> + category->name ?> + by author->name ?> + on date_created ?> + No posts yet!
+ + -- cgit v1.2.3