reply($user->id, $_POST['content'], $parent_post); header('Location: thread.php?id='.$thread->id); } if (empty($_SESSION['authenticator'])) get_logged_in_user(true, '../'); doHeader('Forum'); if (!empty($_GET['post'])) { $postId = $_GET['post']; } else { $postId = -1; } $thread = getThread($_GET['thread']); $forum = getForum($thread->forum); $logged_in_user = get_logged_in_user(true); ?>

title ?>
Forum -> title ?>

getPosts(); while ($post = getNextPost($posts)): $user = getUser($post->user); ?> id == $postId) { show_message_row($thread, $post); } ?>
Author Message

has_profile) { ?> name ?> name; } ?>

Joined: create_time) ?>
Posts: posts ?>

Posted: timestamp) ?>

content)) ?>

"; if ($logged_in_user->has_profile) { echo "id, "\">", $logged_in_user->name, ""; } else { echo $logged_in_user->name; } echo "

Joined: ", date('M j, Y', $logged_in_user->create_time), "

Your Message

"; echo ""; } ?>