- Link to our new and improved search mechanism instead of google (unless ours doesn't find anything).

- A few HTML4.01 trans corrections
- Added CVS auto-header

svn path=/trunk/boinc/; revision=10961
This commit is contained in:
Janus B. Kristensen 2006-08-22 08:48:40 +00:00
parent 1a886b519e
commit 05909d9424
1 changed files with 8 additions and 19 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
require_once('../inc/forum.inc'); require_once('../inc/forum.inc');
require_once('../inc/util.inc'); require_once('../inc/util.inc');
@ -8,39 +9,27 @@ db_init();
page_head("Questions and answers"); page_head("Questions and answers");
if (true) { echo "
echo "
<form action=http://www.google.com/search>
<input type=hidden name=domains value=".URL_BASE.">
<input type=hidden name=sitesearch value=".URL_BASE."/forum_thread.php>
<input class=small name=q size=20>
<input type=submit value=Search>
</form>
";
} else {
echo "
<p> <p>
Do a <a href=forum_text_search_form.php>keyword search</a> of messages. Select a topic or do a <br /><a href=forum_search.php>keyword search</a> to find what you are looking for.
<p> <p>";
";
}
start_forum_table(array("Topic", "# Questions", "Last post")); start_forum_table(array("Topic", "# Questions", "Last post"));
$categories = getHelpDeskCategories(); $categories = getHelpDeskCategories();
while ($category = mysql_fetch_object($categories)) { while ($category = mysql_fetch_object($categories)) {
echo " echo "
<tr class=subtitle> <tr class=\"subtitle\">
<td class=category colspan=4>", $category->name, "</td> <td class=\"category\" colspan=\"4\">", $category->name, "</td>
</tr> </tr>
"; ";
$forums = getForums($category->id); $forums = getForums($category->id);
while ($forum = mysql_fetch_object($forums)) { while ($forum = mysql_fetch_object($forums)) {
echo " echo "
<tr class=row1> <tr class=\"row1\">
<td> <td>
<b><a href=forum_forum.php?id=$forum->id>$forum->title</a></b> <b><a href=\"forum_forum.php?id=$forum->id\">$forum->title</a></b>
<br>", $forum->description, " <br>", $forum->description, "
</td> </td>
<td>", $forum->threads, "</td> <td>", $forum->threads, "</td>