diff options
author | Cflip <36554078+cflip@users.noreply.github.com> | 2021-01-23 00:12:23 -0700 |
---|---|---|
committer | Cflip <36554078+cflip@users.noreply.github.com> | 2021-01-23 00:12:23 -0700 |
commit | 0eb8b3ce47958435853a9b72fc71b4f06b47a9df (patch) | |
tree | d41cc34e7f101b784b0d3f658789eca805a5033c | |
parent | b49c2533c5a82332113d125a40712ab50adade81 (diff) |
Add placeholder for latest post in thread
-rw-r--r-- | category.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/category.php b/category.php index 4e10444..b2f6dbd 100644 --- a/category.php +++ b/category.php @@ -41,7 +41,7 @@ echo '<table><tr><th class="left">Topic</th><th class="right">Latest Post</th></ while ($row = mysqli_fetch_assoc($result)) { echo '<tr><td class="left">'; echo '<h4><a href="topic.php?id=' . $row['topic_id'] . '">' . $row['topic_subject'] . '</a></h4>'; - echo '<small>by <b>' . $row['user_name'] . '</b> on ' . date('M d, Y', strtotime($row['topic_date'])) . '</small></td><td class="right">24 replies</td></tr>'; + echo '<small>by <b>' . $row['user_name'] . '</b> on ' . date('M d, Y', strtotime($row['topic_date'])) . '</small></td><td class="right">by <b>cflip</b><br><small>01-22-2021 9:34</small></td></tr>'; } echo '</table>'; |