<body class="sb-nav-fixed">
<?php
if(!isset($_SESSION['username']) || $_SESSION['username']=='')
{
   //echo '<script>window.location="index.php"</script>';
   header('Location:index.php');
   ob_end_flush();
}
if($_SESSION['role']==2){?>

<style>
   div#career {
    display: none;
}
a#sthr {
    display: none;
}

</style>

<?php
}
?>
        <nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
            <a class="navbar-brand" href="dashboard.php">Ethics Prosperity</a><button class="btn btn-link btn-sm order-1 order-lg-0" id="sidebarToggle" href="#"><i class="fas fa-bars"></i></button
            ><!-- Navbar Search-->
            <form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0">
                <!-- <div class="input-group">
                    <input class="form-control" type="text" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2" />
                    <div class="input-group-append">
                        <button class="btn btn-primary" type="button"><i class="fas fa-search"></i></button>
                    </div>
                </div> -->
            </form>
            <!-- Navbar-->
            <ul class="navbar-nav ml-auto ml-md-0">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" id="userDropdown" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
                    <div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
                        <!-- <a class="dropdown-item" href="profile.php">Profile</a> -->
						<!-- <a class="dropdown-item" href="edit_profile.php">Edit Profile</a> -->
                        <a class="dropdown-item" href="change_password.php">Change Password</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="logout.php">Logout</a>
                    </div>
                </li>
            </ul>
        </nav>
        <div id="layoutSidenav">
            <div id="layoutSidenav_nav">
                <nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
                    <div class="sb-sidenav-menu" id="sroll_menu12">
                        <div class="nav" >
                            <!-- <div class="sb-sidenav-menu-heading">Core</div> -->
                            <a class="nav-link" href="dashboard.php"><div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>Dashboard</a>
                             <a class="nav-link" href="site_configuration.php" id="sthr">
                                    <div class="sb-nav-link-icon"><i class="fas fa-tools"></i></div>
                                    Site Configuration
                                </a>
                                <a class="nav-link" href="email_setting.php"  id="sthr">
                                    <div class="sb-nav-link-icon"><i class="fas fa-tools"></i></div>
                                    Email Setting
                                </a>
                                 
                           <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Home Section <i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                            	 <a id="Employee" class="nav-link" href="home_slider.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
                                    Home Slider
                                </a>
								 <a id="Employee" class="nav-link" href="supply_chain.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   Supply Chain 
                                </a>
								<a id="Employee" class="nav-link" href="glance.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   Ethics Glance
                                </a>
                                
                                <a id="Employee" class="nav-link" href="homeservice.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Our Services
                                </a>
								<a id="Employee" class="nav-link" href="video.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Video Section
                                </a>
                                <a id="Employee" class="nav-link" href="home_end_to_end.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    End To End 
                                </a>
								<a id="Employee" class="nav-link" href="what_make.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    What Make
                                </a>
								<a class="nav-link" href="slider_logo.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
                                    Logo Slider
                                </a>
								<!--<a id="Employee" class="nav-link" href="homewedeploy.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    We Deploy
                                </a>-->
                                 <!-- <a class="nav-link" href="homeourfacility.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Our Facility
                                </a>-->
                               
                                
                            </div>
                        </div>
                          
                          <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">About Us <i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                <a id="Vendor" class="nav-link" href="aboutpage.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   About Us
                                </a>
                                 <!--<a id="Vendor" class="nav-link" href="aboutus_details.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   About Us Details
                                </a>
                                 <a id="Vendor" class="nav-link" href="about_details_services.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   About Details Services
                                </a>--->
                              </div>
                        </div>
						
						 <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Why Us <i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                             <a class="nav-link" href="why_us.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Why Us
                                </a>
                                <!--<a class="nav-link" href="why_us_points.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Why Us Inner Points
                                </a>-->
                              </div>
                        </div>
						<div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Management Team<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                <a class="nav-link" href="ourteamtop.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Team Top Section
                             </a>
                             <a class="nav-link" href="team.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Team
                             </a>
                             
                              </div>
                        </div>
						<div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Contact Us<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                <a class="nav-link" href="contact.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   Contact Us
                             </a>
                             </div>
                        </div>
                        <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Service <i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                <a id="Vendor" class="nav-link" href="service.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   Services
                                </a>
                                
                              </div>
                        </div>
                       
                        <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Industry<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                             <a class="nav-link" href="industry_services.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Indusrty
                                </a>
                              </div>
                        </div>
                        <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Software<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                <a class="nav-link" href="software_top_section.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Software Top Section
                                </a>
                             <a class="nav-link" href="software.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Software
                                </a>
                              </div>
                        </div>
                        <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Integration<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                 <a class="nav-link" href="integration.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Integration
                             </a>
                             <a class="nav-link" href="integration_mgt_sys.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Integration system
                             </a>
                              <a class="nav-link" href="integration_supply_chain.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Supply Chain Management
                             </a>
                             
                              </div>
                        </div>
                       <!-- <div id="quality">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Quality Policy<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                             <a class="nav-link" href="quality_policy.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Quality Policy
                             </a>
                             <a class="nav-link" href="quality_policy_commited.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Commited
                             </a>
                              </div>
                        </div>--->
                        <div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Faq<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                             <a class="nav-link" href="faq_menu.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Faq Category
                             </a>
                             <a class="nav-link" href="faq.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Faq
                             </a>
                             
                              </div>
                        </div>
                         
                        <div id="career_hr">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Career<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                               <a class="nav-link" href="career.php"  id="sthr">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Career Content
                             </a>                               
							   <a class="nav-link" href="career_works.php"  id="sthr">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Career Works
                             </a>
                             <a class="nav-link" href="current_openings.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Current Openings
                             </a>
							 
                             
                              </div>
                        </div>
						
						<div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Life At Ethics<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                               <a class="nav-link" href="life-category.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    Life at Ethics Category
                             </a>                             
							   <a class="nav-link" href="life_at_ethics_gallery.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                   Ethics Gallery
                             </a>
                             
                             
                              </div>
                        </div>
						
						
						
						<div id="career">
                            <div class="sb-sidenav-menu-heading dropdown-btn">SEO Metainfo<i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                               <a class="nav-link" href="metainfo.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-border-style"></i></div>
                                    SEO Section
                             </a>                             
							</div>
                        </div>
                        
                                
                       <!-- <div id="Trash">
                            <div class="sb-sidenav-menu-heading dropdown-btn">Trash <i class="fa fa-caret-down"></i></div>
                            <div class="dropdown-container">
                                <a class="nav-link" href="del_homeslider.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Home Slider
                                </a>
                                 <a class="nav-link" href="del_homewedeploy.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    We Deploy
                                </a>
                                <a class="nav-link" href="del_homeservices.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Our Services
                                </a>
                                 <a class="nav-link" href="del_homeourfacility.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Our Facility
                                </a>
                                <a class="nav-link" href="del_home_end_to_end.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    End To End Services
                                </a>
                                 <a class="nav-link" href="del_logo.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Logo Slider
                                </a>
                                <a class="nav-link" href="del_about_details_services.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                 About Us Services
                                </a>
                                <a class="nav-link" href="del_service.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                  Services
                                </a>
                                 <a class="nav-link" href="del_services_inner_services.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                  Inner Services
                                </a>
                                <a class="nav-link" href="del_industry_services.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Industry Services
                                </a>
                                 <a class="nav-link" href="del_faq_menu.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Faq Title
                                </a>
                                <a class="nav-link" href="del_faq.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Faq 
                                </a>
                                <a class="nav-link" href="del_team.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Team 
                                </a>
                                <a class="nav-link" href="del_integration_mgt_sys.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Integration system 
                                </a>
                                <a class="nav-link" href="del_integration_supply_chain.php">
                                    <div class="sb-nav-link-icon"><i class="fas fa-recycle"></i></div>
                                    Supply Chain Management 
                                </a>
                               </div>
                        </div>-->
                    
                        </div>
                    </div>
                    <div class="sb-sidenav-footer">
                        <div class="small">Logged in as:</div>
                        <?php echo ucwords($_SESSION['username']);?>
                    </div>
                </nav>
            </div>