show_hosts) { page_head("Computers belonging to $user->name"); user_host_table_start(false); } else { echo "Hidden\n"; end_cache(USER_PAGE_TTL,$cache_args); exit(); } $private = false; } else { $caching=false; $user = get_logged_in_user(); $userid = $user->id; page_head("Your computers"); user_host_table_start(true); $private = true; } $i = 1; $result = mysql_query("select * from host where userid=$userid order by expavg_credit desc"); while ($host = mysql_fetch_object($result)) { show_host_row($host, $i, $private, false); $i++; } mysql_free_result($result); echo "\n"; page_tail(); if ($caching) end_cache(USER_PAGE_TTL,$cache_args); ?>