From 2ae22c4a438dc3c1822b8d909a4b38a211427bee Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Sat, 5 Jun 2021 11:57:12 -0600 Subject: Use different syntax for conditions in HTML --- index.php | 104 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index dadef39..ac2dd3e 100644 --- a/index.php +++ b/index.php @@ -1,55 +1,55 @@ - + - - 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(); - - echo ''; - echo ''; - echo ''; - echo ''; - if ($latest_thread->has_value()) { - echo ''; - } else { - echo ''; - } - echo ''; - } - ?> -
CategoryThreadsPostsLatest Thread
'; - echo '' . $category->name . ''; - echo '
' . $category->description . ''; - echo '
' . $category->thread_count . '' . $category->post_count . '' . $latest_thread->subject . '
'; - echo 'by ' . $latest_thread->author->name . ', ' . $latest_thread->date_created . '
No threads yet!
- + + 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!
+ -- cgit v1.2.3