Skip to content

Conversation

@Nairdaa
Copy link

@Nairdaa Nairdaa commented Sep 2, 2019

Fixed it to work with shavit's bhoptimer version 2.5.5

Copy link

@sneak-it sneak-it left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are the queries changed and rank removed from user pages? Seems unnecessary.

$results = ($rows = $stmt->num_rows) > 0;

if (USES_RANKINGS == '1') {
$stmt->bind_result($id, $auth, $name, $map, $time, $jumps, $strafes, $sync, $date, $points, $style, $track, $rank);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we removing rank?

$stmt->bind_result($id, $auth, $name, $map, $time, $jumps, $strafes, $sync, $date, $points, $style, $track, $rank);
$stmt->bind_result($id, $auth, $name, $map, $time, $jumps, $strafes, $sync, $date, $points, $style, $track);
} else {
$stmt->bind_result($id, $auth, $name, $map, $time, $jumps, $strafes, $sync, $date, $style, $track, $rank);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as L551

<th>Name</th>
<th>Map</th>
<th>Style / Track</th>
<th>Rank</th>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as L551

<td><?php echo $name; ?></td>
<td><?php echo '<a href="index.php?style='.$style.'&map='.removeworkshop($map).'&track='.$track.'">'.removeworkshop($map).'</a>'; ?></td>
<td><?php echo $styles[$style].' / '.$tracks[$track]; ?></td>
<td><?php echo $rank; ?></td>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as L551

@SaengerItsWar
Copy link

SaengerItsWar commented Sep 20, 2019

the better version
Example
index.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants