link
This commit is contained in:
parent
9e70ea11f8
commit
ee824a4267
1 changed files with 15 additions and 13 deletions
|
|
@ -1,16 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<?php include './includes/head.php'; ?>
|
||||
|
||||
<body>
|
||||
|
||||
<?php include './includes/navigation.php'; ?>
|
||||
<header>
|
||||
<img src="./images/banner2.png" alt="banner" class="banner">
|
||||
<?php include './includes/navigation.php'; ?>
|
||||
<header>
|
||||
<img src="./images/banner2.png" alt="banner" class="banner">
|
||||
</header>
|
||||
<main>
|
||||
<section>
|
||||
<h2>Clan Stats</h2>
|
||||
<?php
|
||||
<main>
|
||||
<section>
|
||||
<h2>Clan Stats</h2>
|
||||
<?php
|
||||
include './config/config.php';
|
||||
|
||||
// Load clan data from claninfo.json
|
||||
|
|
@ -26,7 +27,7 @@
|
|||
echo "<tr><td>" . htmlspecialchars($key) . "</td><td>" . htmlspecialchars($value) . "</td></tr>";
|
||||
}
|
||||
foreach ($clanmembers['clanMembers'] as $value) {
|
||||
echo "<tr><td>name</td><td>" . htmlspecialchars($value) . "</td></tr>";
|
||||
echo "<tr><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($value) . "'>name</a></td><td><a href='latestmatches.php?selected_player=" . htmlspecialchars($value) . "'>" . htmlspecialchars($value) . "</a></td></tr>";
|
||||
}
|
||||
|
||||
echo "</table>";
|
||||
|
|
@ -36,11 +37,12 @@
|
|||
} else {
|
||||
echo "<p>Clan info file missing</p>";
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
</main>
|
||||
?>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php include './includes/footer.php'; ?>
|
||||
<?php include './includes/footer.php'; ?>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue