mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
commit
513cb4ded0
@ -85,7 +85,6 @@ if ($latests) {
|
|||||||
} else echo 'No player kills exist.';
|
} else echo 'No player kills exist.';
|
||||||
|
|
||||||
} else if ($config['TFSVersion'] == 'TFS_03') {
|
} else if ($config['TFSVersion'] == 'TFS_03') {
|
||||||
/////////
|
|
||||||
$cache = new Cache('engine/cache/killers');
|
$cache = new Cache('engine/cache/killers');
|
||||||
if ($cache->hasExpired()) {
|
if ($cache->hasExpired()) {
|
||||||
$deaths = fetchLatestDeaths_03(30, true);
|
$deaths = fetchLatestDeaths_03(30, true);
|
||||||
@ -94,8 +93,9 @@ if ($latests) {
|
|||||||
} else {
|
} else {
|
||||||
$deaths = $cache->load();
|
$deaths = $cache->load();
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
||||||
|
if ($deaths && !empty($deaths)) {
|
||||||
|
?>
|
||||||
<h1>Latest Killers</h1>
|
<h1>Latest Killers</h1>
|
||||||
<table id="deathsTable" class="table table-striped">
|
<table id="deathsTable" class="table table-striped">
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
@ -111,8 +111,7 @@ if ($latests) {
|
|||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
} ?>
|
} ?>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/////////
|
} else echo 'No player deaths exist.';
|
||||||
}
|
}
|
||||||
include 'layout/overall/footer.php'; ?>
|
include 'layout/overall/footer.php'; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user