Block Hall of Fame'.$pg; $pg .= "\n"; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= ""; $pg .= "\n"; if ($ans['STATUS'] == 'ok') { $all = array(); $count = $ans['rows']; for ($i = 0; $i < $count; $i++) { $all[] = array('blocks' => $ans['blocks:'.$i], 'username' => $ans['username:'.$i], 'diffacc' => $ans['diffacc:'.$i]); } usort($all, 'blocksorder'); for ($i = 0; $i < $count; $i++) { if (($i % 2) == 0) $row = 'even'; else $row = 'odd'; $pg .= ""; $un = htmlspecialchars($all[$i]['username']); $pg .= ""; $bl = $all[$i]['blocks']; $pg .= ""; $diffacc = difffmt($all[$i]['diffacc']); $pg .= ""; $pg .= "\n"; } } $pg .= "
UserBlocksDiff
$un$bl$diffacc
\n"; return $pg; } # function show_userinfo($info, $page, $menu, $name, $user) { gopage($info, NULL, 'douserinfo', $page, $menu, $name, $user); } # ?>