thread_load($_GET["thread_id"]); if ($thread["error"]!=null) { $title = "Unknown Thread | ".BBJ_NAME; include 'client/header.php'; echo "\t\t

No such thread exists. Go home.

"; include 'client/footer.php'; die(); } else { $title = $thread["data"]["title"]." by ".$thread["usermap"][$thread["data"]["author"]]["user_name"]." | ".BBJ_NAME; } } else { $title = BBJ_NAME; } include 'client/header.php'; if (isset($thread)) { include 'client/thread.php'; } else { include 'client/main.php'; } include 'client/footer.php'; ?>