2003-08-13 22:06:08 +00:00
|
|
|
<?php
|
2008-08-05 22:43:14 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
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
|
|
|
|
2007-11-15 00:27:02 +00:00
|
|
|
$user = get_logged_in_user(false);
|
2007-04-29 14:22:28 +00:00
|
|
|
|
2005-02-23 00:42:14 +00:00
|
|
|
page_head("Questions and answers");
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2007-02-24 16:05:41 +00:00
|
|
|
echo "<p>
|
2006-12-05 03:50:36 +00:00
|
|
|
Talk live via Skype with a volunteer, in any of several languages.
|
|
|
|
Go to
|
2007-02-24 16:05:41 +00:00
|
|
|
<a href=\"http://boinc.berkeley.edu/help.php\">BOINC Online Help</a>.</p>
|
2006-12-05 03:50:36 +00:00
|
|
|
";
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2007-11-15 00:27:02 +00:00
|
|
|
show_forum_header($user);
|
2003-08-13 22:06:08 +00:00
|
|
|
|
2007-11-12 20:57:15 +00:00
|
|
|
$categories = BoincCategory::enum("is_helpdesk=1 order by orderID");
|
2007-11-15 00:27:02 +00:00
|
|
|
$first = true;
|
2007-11-12 20:57:15 +00:00
|
|
|
foreach ($categories as $category) {
|
2007-11-15 00:27:02 +00:00
|
|
|
if ($first) {
|
|
|
|
$first = false;
|
|
|
|
show_forum_title($category, null, null);
|
2007-11-22 01:52:27 +00:00
|
|
|
echo "<p>";
|
2008-09-27 10:33:43 +00:00
|
|
|
show_mark_as_read_button($user);
|
2007-11-15 00:27:02 +00:00
|
|
|
start_forum_table(array("Topic", "# Questions", "Last post"));
|
|
|
|
}
|
|
|
|
if (strlen($category->name)) {
|
|
|
|
echo "
|
|
|
|
<tr class=\"subtitle\">
|
|
|
|
<td class=\"category\" colspan=\"4\">", $category->name, "</td>
|
|
|
|
</tr>
|
|
|
|
";
|
|
|
|
}
|
2005-02-13 21:33:02 +00:00
|
|
|
|
2007-11-22 01:52:27 +00:00
|
|
|
$forums = BoincForum::enum("parent_type=0 and category=$category->id order by orderID");
|
2007-11-12 20:57:15 +00:00
|
|
|
foreach ($forums as $forum) {
|
2005-02-13 21:33:02 +00:00
|
|
|
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();
|
2007-11-12 20:57:15 +00:00
|
|
|
|
|
|
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
2003-11-30 21:05:57 +00:00
|
|
|
?>
|