threadr.lostcave.ddnss.de/threadr/board
BodgeMaster 905b74a5a3 added reply backend 2021-09-05 08:17:00 +02:00
..
README.md added links to all the READMEs 2021-08-31 03:21:30 +02:00
board.php un-hard-coded db name and server 2021-09-02 17:01:28 +02:00
default.php %REQUIRE_LOGIN% 2020-03-08 16:16:09 +01:00
edit.php %REQUIRE_LOGIN% 2020-03-08 16:16:44 +01:00
index.php prevent posting empty posts 2021-09-05 07:30:22 +02:00
post.php added reply backend 2021-09-05 08:17:00 +02:00
submit.php added reply to backend 2021-09-05 08:12:42 +02:00

README.md

A short overview of the files:

index.php

Somewhat obvious... $_GET values:

  • id → the board id
  • action → what action file should be loaded in the bottom section (see below)
    • valid actions: [not present], post, submit, edit

board.php

the top part of a board page, displays the posts, loaded via include()

post.php

one of the action files for the bottom of the page, displays a form to add a post, loaded via include()

submit.php

displays a message in the bottom of the page and submits a new post, loaded via include()

edit.php

? [Will look into it later, seems not to do very much ATM]

default.php

displays a button giving the user the option to post something

README.md

this file