id and server_state=$state");
$foobar = mysql_fetch_object($r);
mysql_free_result($r);
return $foobar->nresults;
}
init_session();
db_init();
$platforms = array();
$r2 = mysql_query("select * from platform");
while ($platform = mysql_fetch_object($r2)) {
if ($platform->deprecated) continue;
array_push($platforms, $platform);
}
mysql_free_result($r2);
page_head("Applications");
echo "
".PROJECT." currently has the following applications.
When you participate in ".PROJECT.", work for one or
more of these applications will be assigned to your computer.
The current version of the application will be downloaded
to your computer.
This happens automatically;
you don't have to do anything.
";
$result = mysql_query("select * from app");
start_table();
while ($app = mysql_fetch_object($result)) {
echo "