2004-05-24 03:40:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once('../inc/forum.inc');
|
|
|
|
require_once('../inc/util.inc');
|
|
|
|
require_once('../inc/time.inc');
|
|
|
|
|
2004-12-27 03:42:11 +00:00
|
|
|
db_init();
|
|
|
|
|
2004-05-24 03:40:38 +00:00
|
|
|
page_head('Message boards');
|
|
|
|
|
2005-01-18 19:56:18 +00:00
|
|
|
//show_forum_title(NULL, NULL, false);
|
2004-05-24 03:40:38 +00:00
|
|
|
|
|
|
|
echo "<p>
|
|
|
|
If you have a question or problem, please use the
|
2004-05-30 21:47:11 +00:00
|
|
|
<a href=forum_help_desk.php>Questions/problems</a>
|
2004-05-24 03:40:38 +00:00
|
|
|
area instead of the Message boards.</p>
|
|
|
|
<p>
|
2004-05-30 21:47:11 +00:00
|
|
|
Do a <a href=forum_text_search_form.php>keyword search</a>
|
2004-05-24 03:40:38 +00:00
|
|
|
of messages.
|
2005-01-18 19:56:18 +00:00
|
|
|
<p>
|
2004-05-24 03:40:38 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
function show_category($category) {
|
|
|
|
echo "
|
|
|
|
<tr class=subtitle>
|
|
|
|
<td class=category colspan=4>", $category->name, "</td>
|
|
|
|
</tr>
|
|
|
|
";
|
|
|
|
|
|
|
|
$forums = getForums($category->id);
|
|
|
|
while ($forum = mysql_fetch_object($forums)) {
|
|
|
|
show_forum_summary($forum);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function show_forums() {
|
2005-02-13 06:13:33 +00:00
|
|
|
$categories = getCategories();
|
|
|
|
while ($category = mysql_fetch_object($categories)) {
|
2004-05-24 03:40:38 +00:00
|
|
|
show_category($category);
|
2005-02-13 06:13:33 +00:00
|
|
|
}
|
2004-05-24 03:40:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
start_forum_table(array("Topic", "Threads", "Posts", "Last post"));
|
|
|
|
show_forums();
|
|
|
|
end_table();
|
|
|
|
page_tail();
|
|
|
|
?>
|