2003-08-13 22:06:08 +00:00
|
|
|
<?php
|
2006-08-22 08:48:40 +00:00
|
|
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
2003-08-13 22:06:08 +00:00
|
|
|
|
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-12-27 03:42:11 +00:00
|
|
|
db_init();
|
|
|
|
|
2005-02-23 00:42:14 +00:00
|
|
|
page_head("Questions and answers");
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2006-08-22 08:48:40 +00:00
|
|
|
echo "
|
2005-09-21 23:59:23 +00:00
|
|
|
<p>
|
2006-08-22 08:48:40 +00:00
|
|
|
Select a topic or do a <br /><a href=forum_search.php>keyword search</a> to find what you are looking for.
|
|
|
|
<p>";
|
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)) {
|
2005-02-13 21:33:02 +00:00
|
|
|
echo "
|
2006-08-22 08:48:40 +00:00
|
|
|
<tr class=\"subtitle\">
|
|
|
|
<td class=\"category\" colspan=\"4\">", $category->name, "</td>
|
2005-02-13 21:33:02 +00:00
|
|
|
</tr>
|
|
|
|
";
|
|
|
|
|
|
|
|
$forums = getForums($category->id);
|
|
|
|
while ($forum = mysql_fetch_object($forums)) {
|
|
|
|
echo "
|
2006-08-22 08:48:40 +00:00
|
|
|
<tr class=\"row1\">
|
2005-02-13 21:33:02 +00:00
|
|
|
<td>
|
2006-08-22 08:48:40 +00:00
|
|
|
<b><a href=\"forum_forum.php?id=$forum->id\">$forum->title</a></b>
|
2005-02-13 21:33:02 +00:00
|
|
|
<br>", $forum->description, "
|
|
|
|
</td>
|
|
|
|
<td>", $forum->threads, "</td>
|
|
|
|
<td>", time_diff_str($forum->timestamp, time()), "</td>
|
|
|
|
</tr>
|
|
|
|
";
|
|
|
|
}
|
2003-08-13 22:06:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
echo "
|
2005-02-13 21:33:02 +00:00
|
|
|
</table>
|
2003-08-13 22:06:08 +00:00
|
|
|
</p>
|
|
|
|
";
|
|
|
|
|
2003-08-15 01:01:00 +00:00
|
|
|
page_tail();
|
2003-11-30 21:05:57 +00:00
|
|
|
?>
|