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> </center></h1>
</div> </div>
<div class="item-2"> <div class="item-2">
<?php <iframe src="%CONTENT_DIR%/board/board.php?id=$id"></iframe>
echo "<a href='%CONTENT_DIR%/boards/post.php?id=$id'><button> Post something </button></a>"; </div>
?> <div class="item-3">
<iframe src="%CONTENT_DIR%/board/default.php?id=$id"></iframe>
</div> </div>
</div> </div>
</body> </body>

View File

@ -1,3 +1,9 @@
<?php
session_start();
%NO_CHEAP_SESSION_STEALING%
%PLEAZE_NO_CACHE%
$id=$_GET['id'];
?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
@ -7,7 +13,7 @@
</head> </head>
<body> <body>
<div class="form"> <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="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"> <input type="submit" value="Post">
</form> </form>

View File

@ -316,4 +316,10 @@ div.form {
background-color: #f3d2c1; background-color: #f3d2c1;
padding: 14px 20px; padding: 14px 20px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
} }
iframe {
border: none;
margin: 0px;
width: 100%;
}