Commit a021c192 authored by Hamza Arfaoui's avatar Hamza Arfaoui

CAFI175

parent 240cf92c
......@@ -11,13 +11,13 @@ if(in_array($statType, array('WEEKLY','MONTHLY','YEARLY'))){
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav mr-auto nav">
<li class="nav-item">
<a class="nav-link <?php echo ((!empty($_SERVER['HTTPS']) ? 'https' : 'http').'://').$requestUrl == SITE_URL.'weekly_chart.php' ? 'active' : '';?>" href="weekly_chart.php">Semaine <span class="sr-only"></span></a>
<a class="nav-link <?php echo strpos($_SERVER["REQUEST_URI"], 'weekly_chart.php') > 0 ? 'active' : '';?>" href="weekly_chart.php">Semaine <span class="sr-only"></span></a>
</li>
<li class="nav-item">
<a class="nav-link <?php echo ((!empty($_SERVER['HTTPS']) ? 'https' : 'http').'://').$requestUrl == SITE_URL.'monthly_chart.php' ? 'active' : '';?>" href="monthly_chart.php">Mois <span class="sr-only"></span></a>
<a class="nav-link <?php echo strpos($_SERVER["REQUEST_URI"], 'monthly_chart.php') > 0 ? 'active' : '';?>" href="monthly_chart.php">Mois <span class="sr-only"></span></a>
</li>
<li class="nav-item">
<a class="nav-link <?php echo ((!empty($_SERVER['HTTPS']) ? 'https' : 'http').'://').$requestUrl == SITE_URL.'annual_chart.php' ? 'active' : '';?>" href="annual_chart.php" >Année <span class="sr-only"></span></a>
<a class="nav-link <?php echo strpos($_SERVER["REQUEST_URI"], 'annual_chart.php') > 0 ? 'active' : '';?>" href="annual_chart.php" >Année <span class="sr-only"></span></a>
</li>
</ul>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment