Пример #1
0
		<td align="right">Stamina</td>
	<td align="left">
	<?php 
    stars($t['stamina']);
    ?>
	</td>
	<td align="left"><?php 
    echo $t['stamina'];
    ?>
</td>
	</tr> 
		<tr>
		<td align="right">Jump</td>
	<td align="left">
	<?php 
    stars($t['jump']);
    ?>
	</td>
	<td align="left"><?php 
    echo $t['jump'];
    ?>
</td>
	</tr> 
		<tr>
		<td align="right">Total</td>
	<td align="left">
		</td>
	<td align="left"><?php 
    echo $t['total'];
    ?>
</td>
                                    <th class="header">Last seen</th>
                                    <th class="header"><abbr title="Server">Srv.</abbr></th>
                                </tr>
                            </thead>
                            <tbody>
                            <?php 
$playercount = 1;
foreach ($db->query("SELECT * FROM accounts ORDER BY aliveFame DESC LIMIT 100;") as $rupee) {
    update($rupee['id']);
    $name = $rupee['name'];
    $guild = guild($rupee['id']);
    $guildname = guildname($guild);
    $alivefame = alivefame($rupee['id']);
    $aliveexp = aliveexp($rupee['id']);
    $characters = alivechars($rupee['id']);
    $stars = stars($rupee['id']);
    $lastseen = lastseen($rupee['id']);
    ?>
                                    <tr>
                                        <td><?php 
    echo $playercount;
    ?>
.</td>
                                        <td>
                                            <div class="star-container">
                                                <a href="player.php?name=<?php 
    echo $name;
    ?>
"><?php 
    echo $name;
    ?>