2020-03-12 22:57:54 +01:00
|
|
|
# A short overview of the files:
|
2021-08-31 03:21:30 +02:00
|
|
|
### [index.php](./index.php)
|
2020-03-12 22:57:54 +01:00
|
|
|
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
|
2021-08-31 03:21:30 +02:00
|
|
|
### [board.php](./board.php)
|
2020-03-12 22:57:54 +01:00
|
|
|
the top part of a board page, displays the posts, loaded via include()
|
2021-08-31 03:21:30 +02:00
|
|
|
### [post.php](./post.php)
|
2020-03-12 22:57:54 +01:00
|
|
|
one of the action files for the bottom of the page, displays a form to add a post, loaded via include()
|
2021-08-31 03:21:30 +02:00
|
|
|
### [submit.php](./submit.php)
|
2020-03-12 22:57:54 +01:00
|
|
|
displays a message in the bottom of the page and submits a new post, loaded via include()
|
2021-08-31 03:21:30 +02:00
|
|
|
### [edit.php](./edit.php)
|
2020-03-12 22:57:54 +01:00
|
|
|
? [Will look into it later, seems not to do very much ATM]
|
2021-08-31 03:21:30 +02:00
|
|
|
### [default.php](./default.php)
|
2020-03-12 22:57:54 +01:00
|
|
|
displays a button giving the user the option to post something
|
2021-08-31 03:21:30 +02:00
|
|
|
### [README.md](./README.md)
|
2020-03-12 22:57:54 +01:00
|
|
|
this file
|