2003-08-13 22:06:08 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once('../inc/forum.inc');
|
|
|
|
require_once('../inc/util.inc');
|
|
|
|
require_once('../inc/time.inc');
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2004-01-10 01:08:50 +00:00
|
|
|
page_head(PROJECT.': Questions and problems');
|
2003-08-13 22:06:08 +00:00
|
|
|
|
|
|
|
show_forum_title(NULL, NULL, true);
|
|
|
|
|
2003-12-09 06:46:50 +00:00
|
|
|
echo "
|
|
|
|
<p>
|
2004-05-30 21:47:11 +00:00
|
|
|
Do a <a href=forum_text_search_form.php>keyword search</a> of messages.
|
2003-12-09 06:46:50 +00:00
|
|
|
";
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2003-12-08 01:19:49 +00:00
|
|
|
start_forum_table(array("Topic", "# Questions", "Last post"));
|
2003-08-13 22:06:08 +00:00
|
|
|
|
|
|
|
$categories = getHelpDeskCategories();
|
2003-08-14 00:56:20 +00:00
|
|
|
while ($category = mysql_fetch_object($categories)) {
|
2003-08-13 22:06:08 +00:00
|
|
|
echo "
|
2003-11-30 21:05:57 +00:00
|
|
|
<tr class=subtitle>
|
|
|
|
<td class=category colspan=4>", $category->name, "</td>
|
2003-08-13 22:06:08 +00:00
|
|
|
</tr>
|
|
|
|
";
|
2003-08-22 19:09:32 +00:00
|
|
|
|
2003-08-13 22:06:08 +00:00
|
|
|
$forums = getForums($category->id);
|
2003-08-14 00:56:20 +00:00
|
|
|
while ($forum = mysql_fetch_object($forums)) {
|
2003-08-13 22:06:08 +00:00
|
|
|
echo "
|
2003-08-22 19:09:32 +00:00
|
|
|
<tr class=\"row1\" style=\"font-size:8pt; text-align:right\">
|
2003-11-30 21:05:57 +00:00
|
|
|
<td class=indent style=\"text-align:left\">
|
2004-05-30 21:47:11 +00:00
|
|
|
<span style=\"font-size:10pt; font-weight:bold\"><a href=forum_forum.php?id=$forum->id>$forum->title</a></span>
|
2003-08-13 22:06:08 +00:00
|
|
|
<br>", $forum->description, "
|
|
|
|
</td>
|
|
|
|
<td>", $forum->threads, "</td>
|
2003-12-03 23:29:22 +00:00
|
|
|
<td>", time_diff_str($forum->timestamp, time()), "</td>
|
2003-08-13 22:06:08 +00:00
|
|
|
</tr>
|
|
|
|
";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "
|
|
|
|
</table>
|
|
|
|
</p>
|
|
|
|
";
|
|
|
|
|
2003-08-15 01:01:00 +00:00
|
|
|
page_tail();
|
2003-11-30 21:05:57 +00:00
|
|
|
?>
|