summaryrefslogtreecommitdiff
path: root/create_thread.php
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-04-07 15:24:15 -0600
committercflip <36554078+cflip@users.noreply.github.com>2021-04-07 15:24:15 -0600
commit700449b8d903b9707b2751784dc54b4450a655df (patch)
tree438db8c9baaa026f46a35e3f6f149d7aaa32db1e /create_thread.php
parentd61a18a93bc1b39d91725497ebb2fe85c4785ead (diff)
Style and layout changes
Diffstat (limited to 'create_thread.php')
-rw-r--r--create_thread.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/create_thread.php b/create_thread.php
index dc0ce06..4598ce2 100644
--- a/create_thread.php
+++ b/create_thread.php
@@ -3,6 +3,7 @@
<html>
<head>
<title>Create a thread - cflip.net forum</title>
+ <link rel="stylesheet" href="styles/style.css">
</head>
<body>
<?php include_once 'templates/header.php' ?>
@@ -58,9 +59,9 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$sql = "UPDATE categories SET `cat_thread_count` = `cat_thread_count` + '1' WHERE cat_id = " . $thread_cat . ";";
mysqli_query($dbc, $sql);
- header("Location: /forum/thread/" . $thread_id);
+ header("Location: viewthread.php?id=" . $thread_id);
}
}
?>
</body>
-</html> \ No newline at end of file
+</html>