set_charset('utf8'); $style = 0; if (isset($_REQUEST['style'])) { $style = $_REQUEST['style']; } $map = ''; if (isset($_REQUEST['map'])) { $map = $_REQUEST['map']; } $rr = isset($_REQUEST['rr']); ?>
'.HOMEPAGE_TITLE.''; } else { echo '
To view the records of any map, please select it using the menu at the top right of this page.
Don't forget to select a style if you wish, and then tap 'Submit'!
Alternatively, you may click Recent Records to view the latest records.
prepare('SELECT p.map, u.name, p.style, p.time, p.jumps, u.auth, p.date FROM '.MYSQL_PREFIX.'playertimes p JOIN (SELECT style, MIN(time) time FROM '.MYSQL_PREFIX.'playertimes GROUP BY style, map) s ON p.style = s.style AND p.time = s.time JOIN '.MYSQL_PREFIX.'users u ON p.auth = u.auth GROUP BY style, map ORDER BY date DESC;')) || $stmt = $connection->prepare('SELECT pt.map, u.name, pt.style, pt.time, pt.jumps, u.auth, pt.date, pp.points FROM '.MYSQL_PREFIX.'playertimes pt JOIN '.MYSQL_PREFIX.'playerpoints pp JOIN (SELECT style, MIN(time) time FROM '.MYSQL_PREFIX.'playertimes GROUP BY style, map) s ON pt.style = s.style AND pt.time = s.time AND pt.id = pp.recordid JOIN '.MYSQL_PREFIX.'users u ON pt.auth = u.auth GROUP BY style, map ORDER BY date DESC;'))) { echo $connection->error; $stmt->execute(); $stmt->store_result(); $results = ($rows = $stmt->num_rows) > 0; if (USES_RANKINGS == '1') { $stmt->bind_result($map, $name, $style, $time, $jumps, $auth, $date, $pp); } else { $stmt->bind_result($map, $name, $style, $time, $jumps, $auth, $date); } if ($rows > 0) { $records = 0; $first = true; while ($row = $stmt->fetch()) { if ($first) { ?>| Map | Player | Style | Time | Jumps | Points | SteamID 3 | Date (YYYY-MM-DD) |
|---|---|---|---|---|---|---|---|
| Format(SteamID::FORMAT_STEAMID64).'/" target="_blank">'.$auth.''; ?> |
| Rank | Record ID | SteamID 3 | Player | Time | Jumps | Points | Date (YYYY-MM-DD) |
|---|---|---|---|---|---|---|---|
| '; break; } case 2: { echo ''; break; } case 3: { echo ''; break; } default: { echo '#'.$rank; break; } } ?> | Format(SteamID::FORMAT_STEAMID64).'/" target="_blank">'.$auth.''; ?> |
Try another map, there may be some records!
'; } else { echo ''; } ?>