BodgeMaster 2020-03-07 21:10:30 +01:00
commit 14aea7dbe4
5 changed files with 56 additions and 5 deletions

19
threadr/board/board.php Normal file
View File

@ -0,0 +1,19 @@
<?php
session_start();
%NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE%
$id=$_GET['id'];
?>
<!DOCTYPE html>
<html>
<head>
<p></p>
%STYLESHEET%
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0"> ToDo: ?-->
</head>
<body>
<?php
echo "<p>EPIC FEED</p>";
?>
</body>
</html>

19
threadr/board/default.php Normal file
View File

@ -0,0 +1,19 @@
<?php
session_start();
%NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE%
$id=$_GET['id'];
?>
<!DOCTYPE html>
<html>
<head>
<p></p>
%STYLESHEET%
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0"> ToDo: ?-->
</head>
<body>
<?php
echo "<a href='%CONTENT_DIR%/board/post.php?id=$id'><button> Post something </button></a>";
?>
</body>
</html>

View File

@ -35,9 +35,10 @@ $id=$_GET['id'];
</center></h1>
</div>
<div class="item-2">
<?php
echo "<a href='%CONTENT_DIR%/boards/post.php?id=$id'><button> Post something </button></a>";
?>
<iframe src="%CONTENT_DIR%/board/board.php?id=$id"></iframe>
</div>
<div class="item-3">
<iframe src="%CONTENT_DIR%/board/default.php?id=$id"></iframe>
</div>
</div>
</body>

View File

@ -1,3 +1,9 @@
<?php
session_start();
%NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE%
$id=$_GET['id'];
?>
<!DOCTYPE html>
<html>
<head>
@ -7,7 +13,7 @@
</head>
<body>
<div class="form">
<form action="%CONTENT_DIR%/boards/post.php" method="post">
<form action="%CONTENT_DIR%/board/submit.php" method="post">
<input type="text" name="post" maxlength="65535" placeholder="You can contribute to the conversation here. Tell us your story in up to 65535 characters..."/>
<input type="submit" value="Post">
</form>

View File

@ -317,3 +317,9 @@ div.form {
padding: 14px 20px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
iframe {
border: none;
margin: 0px;
width: 100%;
}