threadr.lostcave.ddnss.de/threadr/board/post.php

11 lines
658 B
PHP
Raw Normal View History

2020-03-08 16:17:27 +01:00
<?php
%REQUIRE_LOGIN%
2021-09-07 05:53:04 +02:00
echo "<section onLoad=\"window.scrollTo(0,document.body.scrollHeight)\" >";
2021-09-05 08:18:49 +02:00
if (isset($_GET['reply_to'])) {
2021-09-07 05:53:04 +02:00
echo "<form action='%CONTENT_DIR%/board/?id=$id&action=submit&reply_to=" . $_GET['reply_to'] . "' method='post'>";
2021-09-05 08:17:00 +02:00
} else {
2021-09-07 05:53:04 +02:00
echo "<form action='%CONTENT_DIR%/board/?id=$id&action=submit' method='post'>";
2021-09-05 08:17:00 +02:00
}
2021-09-07 05:53:04 +02:00
echo "<input type='text' name='title' maxlength='128' placeholder='Title'/><textarea name='content' maxlength='65535' placeholder='You can contribute to the conversation here. Tell us your story in up to 65535 characters...' rows='3'></textarea><input type='submit' value='Post'></form></section>";
2020-03-08 16:17:27 +01:00
?>