mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fix #429 Various warnings
Rewrote other characters on this account list in characterprofile Added hash_equal() backport for low PHP versions Fixed some warnings
This commit is contained in:
@@ -124,28 +124,32 @@
|
||||
return $string;
|
||||
}
|
||||
|
||||
if (!empty($guilds) || $guilds !== false) {
|
||||
?>
|
||||
|
||||
<table id="onlinelistTable" class="table table-striped table-hover">
|
||||
<tr class="yellow">
|
||||
<b><tr><h3><center>Top 10 guilds with most frags</center></h3></tr></b>
|
||||
<th>#</th>
|
||||
<th>Name:</th>
|
||||
<th>Frags:</th>
|
||||
</tr>
|
||||
<?php foreach ($guilds as $guild) {
|
||||
|
||||
$url = url("guilds.php?name=". $guild['name']);
|
||||
echo '<tr class="special" onclick="javascript:window.location.href=\'' . $url . '\'">'; ?>
|
||||
<td><?php echo convert_number_to_words($count);
|
||||
$count++; ?></td>
|
||||
<td><a href="" onclick="return false"><?php echo $guild['name']; ?></a></td>
|
||||
<td><?php echo $guild['frags']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
} else echo '<h1>No frags yet.</h1>';
|
||||
if (!empty($guilds) && $guilds !== false) {
|
||||
?>
|
||||
<h3><center>Top 10 guilds with most frags</center></h3>
|
||||
<table id="onlinelistTable" class="table table-striped table-hover">
|
||||
<tr class="yellow">
|
||||
<th>#</th>
|
||||
<th>Name:</th>
|
||||
<th>Frags:</th>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($guilds as $guild):
|
||||
$url = url("guilds.php?name=". $guild['name']);
|
||||
?>
|
||||
<tr class="special" onclick="javascript:window.location.href='<?php echo $url; ?>'">
|
||||
<td><?php
|
||||
echo convert_number_to_words($count);
|
||||
$count++;
|
||||
?></td>
|
||||
<td><a href="" onclick="return false"><?php echo $guild['name']; ?></a></td>
|
||||
<td><?php echo $guild['frags']; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
endforeach; ?>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
echo '<h1>No frags yet.</h1>';
|
||||
}
|
||||
include 'layout/overall/footer.php'; ?>
|
||||
|
Reference in New Issue
Block a user