Bootstrap PHP Header
<p>I wanted to use a PHP include in my website so making new pages would go very easily but I have got one problem. I also want to include my Navigation in this header.php but my problem is, I have an active class on the active page, so I wanted to know how I can do this using PHP. This is what I have I have now in my header.php but I can't figure it out.</p>

<pre><code>&lt;?php
function pageName( $name="" ){

print "
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-type" content="text/html; charset=utf-8" /&gt;
    &lt;meta http-equiv="Content-Language" content="en-gb" /&gt;
    &lt;meta name="keywords" content="Minecraft Hosting, Minecraft, Hosting, VoxelHost, VoxelHost, Cheap, Reliable, Great Support, Great, Support, Europe, Best Minecraft Host, Best, Minecraft, Host" /&gt;
    &lt;meta name="description" content="Voxel Host delivers Cheap and Reliable Hosting Solutions for your daily needs." /&gt;
    &lt;link rel="shortcut icon" type="image/png" href="https://www.voxelhost.com/img/icon.png" /&gt;
    &lt;title&gt;Voxel Host - Cheap And Reliable Hosting Solutions&lt;/title&gt;
    &lt;link rel="stylesheet" type="text/css" href="https://www.voxelhost.com/css/bootstrap.css" media="all" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="https://www.voxelhost.com/css/voxelhost.css" media="all" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="https://www.voxelhost.com/css/nivo-slider.css" media="all" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="https://www.voxelhost.com/css/default.css" media="all" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="https://www.voxelhost.com/css/font-awesome.css" /&gt;
    &lt;script type="text/javascript" src="https://www.voxelhost.com/js/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="https://www.voxelhost.com/js/bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="https://www.voxelhost.com/js/jquery.slider.nivo.js"&gt;&lt;/script&gt;
    &lt;!--Start of Zopim Live Chat Script--&gt;
    &lt;script type="text/javascript"&gt;
        window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
        d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
        _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
        $.src='//cdn.zopim.com/?bIkq1WcfGahuJo4awX9QoDtEdvXXAClp';z.t=+new Date;$.
        type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
    &lt;/script&gt;
    &lt;!--End of Zopim Live Chat Script--&gt;
    &lt;script type="text/javascript"&gt;
        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-35044907-1']);
        _gaq.push(['_setDomainName', 'voxelhost.com']);
        _gaq.push(['_trackPageview']);

        (function() {
          var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class="alertbar inactive"&gt;&lt;/div&gt;
    &lt;div class="infobar"&gt;We are starting the 20th of October! See you soon!&lt;/div&gt;
    &lt;div class="succesbar inactive"&gt;&lt;/div&gt;
    &lt;div id="topbar"&gt;
        &lt;ul&gt;
            &lt;li&gt;&lt;a href="https://www.voxelhost.com/billing/supporttickets.php"&gt;Support Ticket&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="mailto:info@voxelhost.com"&gt;Email&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="skype:martijnriemers?chat"&gt;Skype&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div id="logo"&gt;
        &lt;div class="align"&gt;
            &lt;div class="left" style="width: 500px;"&gt;
                &lt;a href="#"&gt;&lt;img src="https://www.voxelhost.com/img/logo.png" /&gt;&lt;/a&gt;
            &lt;/div&gt;
            &lt;div class="clear"&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div id="wrapper"&gt;
        &lt;div class="container"&gt;
            &lt;div class="navbar" id="navbarhomepage"&gt;
                &lt;div class="navbar-inner"&gt;
                    &lt;div class="container"&gt;
                        &lt;ul class="nav"&gt;
                            &lt;li class="active"&gt;&lt;a href="https://www.voxelhost.com/"&gt;&lt;i class="icon-home"&gt;&lt;/i&gt; &amp;nbsp;Home&lt;/a&gt;&lt;/li&gt;
                            &lt;li class="dropdown"&gt;
                                &lt;a href="#" class="dropdown-toggle"&gt;&lt;i class="icon-star"&gt;&lt;/i&gt; &amp;nbsp;Services&lt;/a&gt;
                                &lt;ul class="dropdown-menu"&gt;
                                    &lt;li&gt;&lt;a href="https://www.voxelhost.com/minecraft/standard"&gt;Standard Minecraft Servers&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://www.voxelhost.com/minecraft/premium"&gt;Premium Minecraft Servers&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://www.voxelhost.com/minecraft_reseller"&gt;Minecraft Reseller&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://www.voxelhost.com/comingsoon"&gt;VPS Hosting&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://www.voxelhost.com/comingsoon"&gt;Dedicated Servers&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://www.voxelhost.com/comingsoon"&gt;Web Hosting&lt;/a&gt;&lt;/li&gt;
                                &lt;/ul&gt;
                            &lt;/li&gt;
                            &lt;li&gt;&lt;a href="https://www.voxelhost.com/status"&gt;&lt;i class="icon-ok-sign"&gt;&lt;/i&gt; &amp;nbsp;Server Status&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="https://www.voxelhost.com/billing/cart"&gt;&lt;i class="icon-shopping-cart"&gt;&lt;/i&gt; &amp;nbsp;Order Now&lt;/a&gt;&lt;/li&gt;
                            &lt;li&gt;&lt;a href="https://www.voxelhost.com/billing/"&gt;&lt;i class="icon-user"&gt;&lt;/i&gt; &amp;nbsp;Client Area&lt;/a&gt;&lt;/li&gt;
                            &lt;li class="dropdown"&gt;
                                &lt;a href="#" class="dropdown-toggle"&gt;&lt;i class="icon-dashboard"&gt;&lt;/i&gt; &amp;nbsp;Control Panels&lt;/a&gt;
                                &lt;ul class="dropdown-menu"&gt;
                                    &lt;li&gt;&lt;a href="https://mcpanel.voxelhost.com/"&gt;Minecraft Servers&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://mintpanel.voxelhost.com/"&gt;Game Servers&lt;/a&gt;&lt;/li&gt;
                                    &lt;li&gt;&lt;a href="https://cpanel.voxelhost.com/"&gt;Webhosting&lt;/a&gt;&lt;/li&gt;
                                &lt;/ul&gt;
                            &lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div id="content"&gt;" ;

}
?&gt;
</code></pre>

<p>And this is what I have in my index.php etc.</p>

<pre><code>&lt;?php
include( "header.php" );
pageName( "Home" );
?&gt;
</code></pre>

<p>Many thanks for reading this and maybe helping me out!</p>
