<?php
$role=$this->session->userdata('role');
$user_role=$this->session->userdata('user_role');
//print_r($user_role);

?>
            <div class="left-custom-menu-adp-wrap comment-scrollbar">
                <nav class="sidebar-nav left-sidebar-menu-pro">
                    <ul class="metismenu" id="menu1">
                                              <li class="<?php if(!empty($active_customer)){echo $active_customer;}?>">
                            <a class="has-arrow" href="<?php echo site_url();?>Login/main"><i class="icon nalika-pie-chart icon-wrap"></i> <span class="mini-click-non">Dashboard</span></a>
                        </li> 
                                               <li class="<?php if(!empty($active_customer)){echo $active_customer;}?>">
                            <a class="has-arrow" href="<?php echo site_url();?>Customer/Customer"><i class="icon nalika-pie-chart icon-wrap"></i> <span class="mini-click-non">Customer Master</span></a>
                        </li>
					  <li class="<?php if(!empty($active_datacenter)){echo $active_datacenter;}?>">
                            <a class="has-arrow"href="<?php echo site_url();?>Datacenter/Datacenter">
								   <i class="icon nalika-home icon-wrap"></i>
								   <span class="mini-click-non">Data center</span>
								</a>
     
                        </li>
                         <li class="<?php if(!empty($active_rack)){echo $active_rack;}?>">
                            <a class="has-arrow" href="<?php echo site_url();?>Rack/Rack"><i class="icon nalika-mail icon-wrap"></i> <span class="mini-click-non">Rack</span></a>
                          
                        </li>
                        <li class="<?php if(!empty($active_server)){echo $active_server;}?>">
                            <a class="has-arrow" href="<?php echo site_url();?>IPAddress/IPAddress"><i class="icon nalika-diamond icon-wrap"></i> <span class="mini-click-non">IP Master</span></a>
                        </li> 

						<li class="<?php if(!empty($active_server)){echo $active_server;}?>">
                            <a class="has-arrow" href="<?php echo site_url();?>Server/Server"><i class="icon nalika-diamond icon-wrap"></i> <span class="mini-click-non">Server</span></a>
                        </li>

                        <li class="<?php if(!empty($active_allocation)){echo $active_allocation;}?>">
                            <a class="has-arrow" href="<?php echo site_url();?>Allocation/Allocation"><i class="icon nalika-bar-chart icon-wrap"></i> <span class="mini-click-non">Allocation</span></a>
                        </li>
						 <li><a href="<?php echo site_url();?>Login"><span class="icon nalika-unlocked author-log-ic"></span> Log Out</a>
                                                        </li>
                    </ul>
                </nav>
            </div>
        </nav>
    </div>
	
    <!-- Start Welcome area -->
    <div class="all-content-wrapper">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="logo-pro">
                        <a href="index.html"><img class="main-logo" src="img/logo/logo.png" alt="" /></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="header-advance-area">
            <div class="header-top-area">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="header-top-wraper">
                                <div class="row">
                                    <div class="col-lg-1 col-md-0 col-sm-1 col-xs-12">
                                        <div class="menu-switcher-pro">
                                            <button type="button" id="sidebarCollapse" class="btn bar-button-pro header-drl-controller-btn btn-info navbar-btn">
													<i class="icon nalika-menu-task"></i>
												</button>
                                        </div>
                                    </div>
                                  
                                    <div class="col-lg-5 col-md-offset-7 col-md-5 col-sm-12 col-xs-12">
                                        <div class="header-right-info">
                                            <ul class="nav navbar-nav mai-top-nav header-right-menu">
                      
                                       
                                                <li class="nav-item">
                                                    <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle">
															<i class="icon nalika-user"></i>
															<span class="admin-name">Spectacloud</span>
															<i class="icon nalika-down-arrow nalika-angle-dw"></i>
														</a>
                                                    <ul role="menu" class="dropdown-header-top author-log dropdown-menu animated zoomIn">
                                    
                                                        <li><a href="#"><span class="icon nalika-settings author-log-ic"></span> Change Password</a>
                                                        </li>
                                                        <li><a href="<?php echo site_url();?>Login"><span class="icon nalika-unlocked author-log-ic"></span> Log Out</a>
                                                        </li>
                                                    </ul>
                                                </li>

                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Mobile Menu start -->
            <div class="mobile-menu-area">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="mobile-menu">
                                <nav id="dropdown">
                                    <ul class="mobile-menu-nav">
                                        <li><a data-toggle="collapse" data-target="#Charts" href="#">Data center <span class="admin-project-icon nalika-icon nalika-down-arrow"></span></a>
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#demo" href="#">Rack <span class="admin-project-icon nalika-icon nalika-down-arrow"></span></a>
                                          
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#others" href="#">Server <span class="admin-project-icon nalika-icon nalika-down-arrow"></span></a>
                                            
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#Miscellaneousmob" href="#">Customer Master <span class="admin-project-icon nalika-icon nalika-down-arrow"></span></a>
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#Chartsmob" href="#">Allocation <span class="admin-project-icon nalika-icon nalika-down-arrow"></span></a>
                                           
                                        </li>
                                         <li class="nav-item">
                                                    <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle">
															<i class="icon nalika-user"></i>
															<span class="admin-name">Spectacloud</span>
															<i class="icon nalika-down-arrow nalika-angle-dw"></i>
														</a>
                                                    <ul role="menu" class="dropdown-header-top author-log dropdown-menu animated zoomIn">
                                    
                                                        <li><a href="#"><span class="icon nalika-settings author-log-ic"></span> Settings</a>
                                                        </li>
                                                        <li><a href="<?php echo site_url();?>Login"><span class="icon nalika-unlocked author-log-ic"></span> Log Out</a>
                                                        </li>
                                                    </ul>
                                                </li>
                      
                                    </ul>
                                </nav>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Mobile Menu end -->