forked from root/threadr.lostcave.ddnss.de
11 lines
658 B
PHP
11 lines
658 B
PHP
<?php
|
|
%REQUIRE_LOGIN%
|
|
echo "<section onLoad=\"window.scrollTo(0,document.body.scrollHeight)\" >";
|
|
if (isset($_GET['reply_to'])) {
|
|
echo "<form action='%CONTENT_DIR%/board/?id=$id&action=submit&reply_to=" . $_GET['reply_to'] . "' method='post'>";
|
|
} else {
|
|
echo "<form action='%CONTENT_DIR%/board/?id=$id&action=submit' method='post'>";
|
|
}
|
|
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>";
|
|
?>
|