This commit is contained in:
Lanta 2023-11-03 21:35:09 +01:00
parent 2941af9c49
commit 85cc25173b
3 changed files with 64 additions and 18 deletions

View file

@ -5,16 +5,27 @@ if ($host == 'dev.dtch.online') {
echo "You are on the development! Site";
}
?>
<div class="topnav">
<a href="index.php" class="active">Logo</a>
<nav>
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="clan_stats.php">Clan Stats</a></li>
<li><a href="user_stats.php">User Stats</a></li>
<li><a href="topstats.php">Top10</a></li>
<li><a href="topstatsavg.php">Match % T10</a></li>
<li><a href="latestmatches.php">Last Matches</a></li>
<li><a href="last_stats.php">Last 14 days %</a></li>
<div id="myLinks">
<a href="clan_stats.php">Clan Stats</a>
<a href="user_stats.php">User Stats</a>
<a href="topstats.php">Top10</a>
<a href="topstatsavg.php">Match % T10</a>
<a href="latestmatches.php">Last Matches</a>
<a href="last_stats.php">Last 14 days %</a>
</div>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
</ul>
</nav>
function myFunction() {
var x = document.getElementById("myLinks");
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
}