<li class="mlogo"><a href="./"><img src="images/logo/evolution-logo-big-3.png" alt="Evolution Windows and Doors" title="Evolution Windows and Doors"></a></li>
<li class="mphone"><a href="tel:<?php echo $tellink; ?>"><?php echo $tel; ?></a></li>
<li class="mhours"><?php echo $hours; ?></li>

<?php
$actual_link = basename($_SERVER['REQUEST_URI'], '?' . $_SERVER['QUERY_STRING']);

foreach ($navmain as $key => $value) {

    if ($value === $actual_link) {
        echo '<li class="mlinks lactive"><span class="undeli"></span><a href="' . $value . '">' . $key . '</a></li>';
    } else {
        echo '<li class="mlinks"><a href="' . $value . '">' . $key . '</a></li>';
    }
}


?>

<li class="mmlink"><a href="review-us.php" title="Review Us">review us</a></li>
<li class="mmlink"><a href="disclaimer.php" title="Disclaimer">disclaimer</a></li>

<li class="maddress"><a href="<?php echo $location; ?>"><span class="clickForDir">click for directions</span><?php echo $address; ?></a></li>

<li class="msocial">
    <a href="<?php echo $fb; ?>" target="_blank" title="Facebook"><img src="images/icons/facebook.png" alt="Facebook"></a>
    <a href="<?php echo $twitter; ?>" target="_blank" title="Twitter"><img src="images/icons/twitter-x.png" alt="Twitter"></a>
    <a href="<?php echo $insta; ?>" target="_blank" title="Instagram"><img src="images/icons/instagram.png" alt="Instagram"></a>
    <a href="<?php echo $youtube; ?>" target="_blank" title="Youtube"><img src="images/icons/youtube.png" alt="Youtube"></a>
</li>
