From 19a3704acbf9801c0b1491a84828496ef46bc840 Mon Sep 17 00:00:00 2001 From: Cflip <36554078+cflip@users.noreply.github.com> Date: Sat, 23 Jan 2021 11:24:05 -0700 Subject: Form cleanup and better password hashing --- topic.php | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) (limited to 'topic.php') diff --git a/topic.php b/topic.php index 216211f..751370b 100644 --- a/topic.php +++ b/topic.php @@ -1,6 +1,6 @@ - -include_once 'header.php'; +' . $row['post_content'] . ''; } echo ''; - - echo ' -
-
-

Reply to this thread

- -
- -
-
'; } mysqli_free_result($result); -include 'footer.php'; \ No newline at end of file +if (isset($_SESSION['signed_in'])) { + echo ' +
+
+

Reply to this thread

+ +
+ +
+
+ '; +} else { + echo ' +
+ Sign in to reply to this thread +
+ '; +} + +include_once 'footer.php'; +?> \ No newline at end of file -- cgit v1.2.3