userid != $user->id) { error_page("We have no record of that computer"); } page_head("Merge host"); $t = time_str($host->create_time); echo " Sometimes BOINC assigns separate identities to the same computer by mistake. You can correct this by merging old identities with the newest one.

Check the computers that are the same as $host->domain_name (created $t, computer ID $host->id):

"; $result = mysql_query("select * from host where userid=$user->id"); $nhosts = 1; start_table(); row_heading_array(array("", "name", "created", "computer ID")); while ($host2 = mysql_fetch_object($result)) { if ($host->id == $host2->id) continue; //if ($host2->create_time > $host->create_time) continue; if (!hosts_compatible($host, $host2)) continue; $t = time_str($host2->create_time); $x = $host2->domain_name; if ($x == "") { $x = "[no hostname]"; } row_array(array( "id>", $x, "$t", "$host2->id" )); $nhosts++; if ($nhosts==500) break; } end_table(); mysql_free_result($result); echo "

Select all

Unselect all

"; page_tail(); ?>