Richard changes
This commit is contained in:
parent
61f61599e5
commit
2c9b1bae2e
4 changed files with 10 additions and 6 deletions
|
|
@ -11,7 +11,6 @@ if ($host == 'dev.dtch.online') {
|
|||
<div id="myLinks">
|
||||
<a href="last_stats.php">Last month %</a>
|
||||
<a href="latestmatches.php">Last Matches</a>
|
||||
<a href="topstatsavg.php">Match % T10</a>
|
||||
<a href="topstats.php">Top10</a>
|
||||
<a href="user_stats.php">User Stats</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -28,8 +28,13 @@ body {
|
|||
font-size: 14px;
|
||||
}
|
||||
|
||||
th:nth-child(4), td:nth-child(4), th:nth-child(9), td:nth-child(9) {
|
||||
display: none;
|
||||
th:nth-child(1), td:nth-child(1), /* Player */
|
||||
th:nth-child(2), td:nth-child(2), /* winrato */
|
||||
th:nth-child(3), td:nth-child(3), /* win% */
|
||||
th:nth-child(4), td:nth-child(4), /* kdh% */
|
||||
th:nth-child(8), td:nth-child(8) /* matches */
|
||||
{
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
header .banner {
|
||||
|
|
|
|||
|
|
@ -135,8 +135,8 @@ $ogDescription = "Explore detailed player statistics over the past month includi
|
|||
|
||||
echo "<tr>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$player_name</a></td>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$ahd</a></td>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$winratio</a></td>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$ahd</a></td>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$KD_H</a></td>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$humankills</a></td>
|
||||
<td><a href='latestmatches.php?selected_player=$player_name'>$KD_ALL</a></td>
|
||||
|
|
|
|||
|
|
@ -227,8 +227,8 @@ function Get-MatchStatsPlayer {
|
|||
kills = $kills
|
||||
humankills = $humankills
|
||||
matches = $player_matches
|
||||
KD_H = $humankills / ($deaths + $alives) # KD_Human calculated per match (kills / (deaths + alives))
|
||||
KD_ALL = $kills / ($deaths + $alives) # KD_ALL calculated per match (kills / (deaths + alives))
|
||||
KD_H = $humankills / $deaths
|
||||
KD_ALL = $kills / $deaths
|
||||
winratio = $winratio
|
||||
wins = $player_wins
|
||||
dbno = $dbno
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue