authenticator); BoincForumPrefs::lookup($user); $now = time(); $user->prefs->update("mark_as_read_timestamp=$now"); Header("Location: ".get_str("return", true)); } } function show_forum_summary($forum) { switch ($forum->parent_type) { case 0: $t = $forum->title; $d = $forum->description; break; case 1: $team = BoincTeam::lookup_id($forum->category); $t = $forum->title; if (!strlen($t)) $t = $team->name; $d = $forum->description; if (!strlen($d)) $d = "Discussion among members of $team->name"; break; } echo "
If you have a question or problem, please use the Questions & answers area instead of the Message boards.
"; show_forum_header($user); $categories = BoincCategory::enum("is_helpdesk=0 order by orderID"); $first = true; foreach ($categories as $category) { if ($first) { $first = false; show_forum_title($category, NULL, NULL); start_forum_table( array(tra("Topic"), tra("Threads"), tra("Posts"), tra("Last post")) ); } if (strlen($category->name)) { echo '