|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/gwsolutions/includes/ |
Upload File : |
<?php
$file = basename($_SERVER['REQUEST_URI']);
?>
<!-- benchmarking index -->
<div class="col-md-4 col-md-pull-8">
<div class="list-group">
<?php
for ($i = 0; $i < count($benchmarking,2); $i++) {
echo '<a href="'.$benchmarking[$i][1].'" class="list-group-item ';
if ($file == $benchmarking[$i][1]) echo 'active';
echo '">'.$benchmarking[$i][0].'</a>';
}
// output is like this: <a href="services.php" class="list-group-item active"> Overview </a>
// or for non active : <a href="services.php" class="list-group-item"> Overview </a>
?>
</div>
</div>
<!-- end of benchmarking index -->