Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (55 sloc) 1.28 KB
<head>
<style>
body {
font-family:Courier, Georgia, Serif;
text-align:center;
vertical-align:text-top;
position:relative;
top:75;
color:white;
background-color:black;
}
#error {
color:red;
}
td {
text-align:center;
}
a {
color:red;
}
</style>
</head>
<body>
<img src='resources/mongoman/logo.png'/>
<h1>TOP 20 HIGHSCORE</h1>
<h2><a href="/">Back</a></h2>
<table border="1" align="center" width="90%">
<thead>
<th>Player name</th>
<th>Score</th>
<th>#Games</th>
<th>#MWins</th>
<th>#MLoss</th>
<th>#GWins</th>
<th>#GLoss</th>
<th>#Eaten</th>
</thead>
<%
for(var i = 0; i < players.length; i++) {
%>
<tr>
<td><%= players[i].name %></td>
<td><%= players[i].score %></td>
<td><%= players[i].numberofgames %></td>
<td><%= players[i].stats.mongoman.wins %></td>
<td><%= players[i].stats.mongoman.deaths %></td>
<td><%= players[i].stats.ghost.wins %></td>
<td><%= players[i].stats.ghost.deaths %></td>
<td><%= players[i].stats.ghost.eaten %></td>
</tr>
<%
}
%>
</table>
</body>
Something went wrong with that request. Please try again.