started the thread loading section of board.php, but now its time for bed

This commit is contained in:
hayden 2019-07-21 23:55:01 -05:00
parent 9de116b2f9
commit 4ab145a32d
3 changed files with 4 additions and 31 deletions

View File

@ -67,5 +67,8 @@ display_header("~chan - /$board_code/");
<hr>
<b>(<a href="#">archive</a>) (<a href="#">catalog</a>)</b>
<hr>
<?php
// time to get all the threads
$thread_sql = 'SELECT thread.id, thread.title, user.username, thread.posted FROM thread LEFT JOIN user ON user.id = thread.user_id';
?>
</div>

View File

@ -1,16 +0,0 @@
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
require_once($path . '/core/board.php');
$settings = array(
'title' => 'random',
'code' => 'b',
'splash' => array(
'wacky',
'totally tubular'
)
);
display_board($settings);
?>

View File

@ -1,14 +0,0 @@
<?php
$path = $_SERVER['DOCUMENT_ROOT'];
require_once($path . '/core/board.php');
$settings = array(
'title' => 'minecraft',
'code' => 'mc',
'splash' => array(
'block by block'
)
);
display_board($settings);
?>