25 lines
786 B
PHP
25 lines
786 B
PHP
<?php
|
|
$url = $_SERVER["PHP_SELF"] . "?";
|
|
if (isset($_GET["team"])) {
|
|
$url = $url . "team=" . htmlspecialchars($_GET["team"]) . "&";
|
|
}
|
|
if (isset($_GET["id"])) {
|
|
$url = $url . "id=" . htmlspecialchars($_GET["id"]) . "&";
|
|
}
|
|
$url = $url . "lg=";
|
|
?>
|
|
|
|
<nav>
|
|
<p><a href="index.php"><?= $tr["nav"]["title"] ?></a></p>
|
|
<ul>
|
|
<li><a href="index.php"><?= $tr["nav"]["home"] ?></a></li>
|
|
<li><a href="<?= $url ?>fr">FR</a>/<a href="<?= $url ?>en">EN</a></li>
|
|
</ul>
|
|
<nav>
|
|
<p><a>Menu</a></p>
|
|
<ul>
|
|
<li><a href="index.php"><?= $tr["nav"]["home"] ?></a></li>
|
|
<li><a href="<?= $url ?>fr">FR</a>/<a href="<?= $url ?>en">EN</a></li>
|
|
</ul>
|
|
</nav>
|
|
</nav>
|