MY CODE >> Navigation Bar
<?php 
    // Tommy Martin
    // December 2013
    // This Navigation bar was created from the Object Oriented concept of "write once, use
    // many". 
    
    $page = "sub code";
    include '../../navi.php'; 
    ?>
<?php 
    // Tommy Martin
    // December 2013
    // This is the code that will be used as many times as needed.  The $page variable is
    // retrieved from the main page.  Based on this variable the navigation bar will
    // highlight what page the user is on and tell the navigation how to link to the other
    // pages on the website.

    $home = "navi";
    $resume = "navi";
    $myCode = "navi";
    $about = "navi";
    $contact = "navi";

    $subLink = "";

    if($page == "sub code")
    {
        $myCode = "navi selected";

        $subLink = "../../";
    }

    else
    {
        $selected = "navi selected";

        switch($page)
        {
            case "home":
                $home = $selected;
                break;
            case "resume":
                $resume = $selected;
                break;
            case "myCode":
                $myCode = $selected;
                break;
            case "about":
                $about = $selected;
                break;
            case "contact":
                $contact = $selected;
                break;
            }
        }
    ?>

<ul class="navi">	<!--  Nav Bar  -->
    <li class="<?php echo $home; ?>"> <a href="<?php echo $subLink; ?>index.php" class="navi">Home</a> </li>
    <li class="<?php echo $resume; ?>"> <a href="<?php echo $subLink; ?>resume.php" class="navi">Resume</a> </li>
    <li class="<?php echo $myCode; ?>"> <a href="<?php echo $subLink; ?>code.php" class="navi">My Code</a> </li>
    <li class="<?php echo $about; ?>"> <a href="<?php echo $subLink; ?>about.php" class="navi">About</a> </li>
    <li class="<?php echo $contact; ?>"> <a href="<?php echo $subLink; ?>contact.php" class="navi">Contact</a> </li>
</ul>