2003-08-13 22:06:08 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once('forum.inc');
|
|
|
|
require_once('../util.inc');
|
2003-12-03 23:29:22 +00:00
|
|
|
require_once('../time.inc');
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2003-11-30 21:05:57 +00:00
|
|
|
page_head('Questions and problems');
|
2003-08-13 22:06:08 +00:00
|
|
|
|
|
|
|
show_forum_title(NULL, NULL, true);
|
|
|
|
|
|
|
|
echo "<p style=\"text-align:center\">";
|
|
|
|
|
2003-11-30 21:05:57 +00:00
|
|
|
start_forum_table(array("Topic", "# Questions", "Last answer posted"));
|
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\">
|
2003-08-13 22:06:08 +00:00
|
|
|
<span style=\"font-size:10pt; font-weight:bold\"><a href=\"forum.php?id=", $forum->id, "\">", $forum->title, "</a></span>
|
|
|
|
<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
|
|
|
?>
|