get_from_database($_GET['id'], $dbc); if ($result == 0) { http_response_code(404); include_once 'templates/404.php'; die(); } } ?> <?= $current->name; ?> - cflip.net forum

name; ?>

description; ?>

thread_count . ' threads, ' . $current->post_count . ' posts'; ?>

Threads

date_lastpost); $db = strtotime($b->date_lastpost); if ($da == $db) return 0; return ($da > $db) ? -1 : 1; } $threads = $current->get_threads($dbc); usort($threads, "cmp"); foreach ($threads as $thread) { $latest_post = $thread->get_latest_post($dbc); echo ''; echo ''; if (!is_null($latest_post)) { echo ''; } else { echo ''; } echo ''; } ?>
Thread Name Latest Post
' . $thread->subject . ''; echo ' by ' . $thread->author->name . ' on ' . date('M d, Y', strtotime($thread->date_created)) . 'by ' . $latest_post->author->name . ' on ' . $latest_post->date_created . 'No posts yet!