<?php
$urlpath = explode('.',basename($_SERVER['REQUEST_URI']));
$bpagename = $urlpath[0];
?>
<ul id="main-menu-navigation" data-menu="menu-navigation" class="navigation navigation-main">
    <li class="<?php if($bpagename == '' || $bpagename == 'dashboard'){ ?>active <?php } ?> nav-item"><a href="<?php echo ADMIN_URL; ?>dashboard.php"><i class="ft-home"></i><span data-i18n="" class="menu-title">Dashboard</span></a>
    </li>
	
	<li class="<?php if($bpagename == 'Vinyl_Flooring'){ ?>active <?php } ?> nav-item"><a href="<?php echo ADMIN_URL; ?>Vinyl_Flooring.php"><i class="fa fa-th-large"></i><span data-i18n="" class="menu-title">Vinyl Flooring</span></a>
    </li>
	
	<li class="<?php if($bpagename == 'carpet'){ ?>active <?php } ?> nav-item"><a href="<?php echo ADMIN_URL; ?>carpet.php"><i class="fa fa-th-large"></i><span data-i18n="" class="menu-title">Carpet Tiles Collection</span></a>
    </li>
	
	<li class="<?php if($bpagename == 'blog'){ ?>active <?php } ?> nav-item"><a href="<?php echo ADMIN_URL; ?>blog.php"><i class="fa fa-list-alt"></i><span data-i18n="" class="menu-title">Blog</span></a>
    </li>
	
	<li class="has-sub nav-item"><a href="#"><i class="ft-align-justify"></i><span data-i18n="" class="menu-title">Pages</span></a>
        <ul class="menu-content">            
            
			<li <?php if($bpagename == 'contact-us'){ ?> class="active" <?php } ?>><a href="<?php echo ADMIN_URL; ?>contact-us.php" class="menu-item">Contact Us</a></li>
			<li <?php if($bpagename == 'about-us'){ ?> class="active" <?php } ?>><a href="<?php echo ADMIN_URL; ?>about-us.php" class="menu-item">About Us</a></li>
			
        </ul>
    </li>
	
	<li class="has-sub nav-item"><a href="#"><i class="ft-align-justify"></i><span data-i18n="" class="menu-title">Other</span></a>
        <ul class="menu-content">            
            
			<li <?php if($bpagename == 'slider'){ ?> class="active" <?php } ?>><a href="<?php echo ADMIN_URL; ?>slider.php" class="menu-item">Slider</a></li>
			<li <?php if($bpagename == 'setting'){ ?> class="active" <?php } ?>><a href="<?php echo ADMIN_URL; ?>setting.php" class="menu-item">Setting</a></li>
			
        </ul>
    </li>
	
	
	
	
	
	
</ul>