forked from root/threadr.lostcave.ddnss.de
board is visible to public, posting is only possible when logged in
parent
55977fcf05
commit
7b544103af
|
@ -3,7 +3,6 @@ session_start();
|
||||||
%SET_LOGIN_VARIABLE%
|
%SET_LOGIN_VARIABLE%
|
||||||
%NO_CHEAP_SESSION_STEALING%
|
%NO_CHEAP_SESSION_STEALING%
|
||||||
%PLEAZE_NO_CACHE%
|
%PLEAZE_NO_CACHE%
|
||||||
%REQUIRE_LOGIN%
|
|
||||||
$navbar="boards";
|
$navbar="boards";
|
||||||
$id=$_GET['id'];
|
$id=$_GET['id'];
|
||||||
?>
|
?>
|
||||||
|
@ -51,6 +50,7 @@ $id=$_GET['id'];
|
||||||
</div>
|
</div>
|
||||||
<div class="item-3">
|
<div class="item-3">
|
||||||
<?php
|
<?php
|
||||||
|
if($login) {
|
||||||
if(isset($_GET['action'])) {
|
if(isset($_GET['action'])) {
|
||||||
if($_GET['action']=='post') {
|
if($_GET['action']=='post') {
|
||||||
include("./post.php");
|
include("./post.php");
|
||||||
|
@ -65,6 +65,7 @@ $id=$_GET['id'];
|
||||||
} else {
|
} else {
|
||||||
include("./default.php");
|
include("./default.php");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue