forked from root/threadr.lostcave.ddnss.de
previous attempt didn’t work
parent
40e6c4a183
commit
ca2717cd40
|
@ -22,7 +22,7 @@ $id=$_GET['id'];
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body <?php if (isset($_GET['action'])) { echo "onLoad=\"window.scrollTo(0,document.body.scrollHeight)\""; } ?> >
|
||||||
%NAVBAR%
|
%NAVBAR%
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="item-1">
|
<div class="item-1">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
%REQUIRE_LOGIN%
|
%REQUIRE_LOGIN%
|
||||||
echo "<section onLoad=\"window.scrollTo(0,document.body.scrollHeight)\" >";
|
echo "<section>";
|
||||||
if (isset($_GET['reply_to'])) {
|
if (isset($_GET['reply_to'])) {
|
||||||
echo "<form action='%CONTENT_DIR%/board/?id=$id&action=submit&reply_to=" . $_GET['reply_to'] . "' method='post'>";
|
echo "<form action='%CONTENT_DIR%/board/?id=$id&action=submit&reply_to=" . $_GET['reply_to'] . "' method='post'>";
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -7,7 +7,7 @@ if (isset($_GET['reply_to'])) {
|
||||||
$reply_to = -1;
|
$reply_to = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<section onLoad=\"window.scrollTo(0,document.body.scrollHeight)\" >";
|
echo "<section>";
|
||||||
|
|
||||||
if ($_POST['title']==="" || $_POST['content']==="") {
|
if ($_POST['title']==="" || $_POST['content']==="") {
|
||||||
echo "<center><h1>Please fill out both the title field and content box.</h1></center>";
|
echo "<center><h1>Please fill out both the title field and content box.</h1></center>";
|
||||||
|
|
Loading…
Reference in New Issue