<?php
 $user_dtl="select * from user_master where User_Name='".$_SESSION['user']."'";
 $user_dtl_query=mysqli_query($con,$user_dtl);
 $userDtlRow=mysqli_fetch_array($user_dtl_query);
?>
<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" style="margin-top:80px;">
            <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="educate-icon educate-nav"></i>
												</button>
                                        </div>
                                    </div>
                                    <div class="col-lg-6 col-md-7 col-sm-6 col-xs-12">
                                        &nbsp;
                                    </div>
                                    <div class="col-lg-5 col-md-5 col-sm-12 col-xs-12">
                                        <div class="header-right-info" style="margin-top:10px; margin-bottom:5px; float:right;">
                                            <img src="img/logo.png" style="width:250px;">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <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">
                                        <?php 
						if($userDtlRow['User_Type']=='Super Admin' || $userDtlRow['User_Type']=='Co-Admin' || $userDtlRow['User_Type']=='Admin')
						{
						?>
                        
                                        <li><a data-toggle="collapse" data-target="#Charts" href="#">Admin <span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                            <ul class="collapse dropdown-header-top">
                                                <li>
                                                    <a data-toggle="collapse" data-target="#Charts" href="#">Create SMS<span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                                   <ul class="collapse dropdown-header-top">
                                                        <li><a href="Create_SMS.php">Add SMS</a></li>
                                                <li><a href="View_SMS.php">View SMS</a></li>
                                                        </ul>
                                                    </li>
                        <?
                        if($userDtlRow['User_Type']=='Super Admin' || $userDtlRow['User_Type']=='Co-Admin')
						{
						?>        
                                                <li>
                                                <a data-toggle="collapse" data-target="#Charts" href="#">Location<span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                                   <ul class="collapse dropdown-header-top">
                                                        <li><a title=""  href="add-location.php">Add Location</a></li>
                                                        <li><a title=""  href="view-location.php">View Location</a></li>
                                                
                                                        </ul>
                                                </li>
                                                    
                                               <li>
                                                <a data-toggle="collapse" data-target="#Charts" href="#">Source<span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                                   <ul class="collapse dropdown-header-top">
                                                        <li><a title=""  href="add-source.php">Add Source</a></li>
                                                        <li><a title=""  href="view-source.php">View Source</a></li> 
                                                
                                                        </ul>
                                                </li>
                                                
                                                <li><a data-toggle="collapse" data-target="#Charts" href="#">User<span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                
                                
                                <ul class="submenu-angle" aria-expanded="true">
                                  <li><a title=""  href="add-user.php">Add User</a></li>
                                  <li><a title=""  href="view-user.php">View User</a></li> 
                                </ul>
                                
                                </li> 
                                
                                	<?php 
						if($userDtlRow['User_Type']=='Super Admin')
						{
						?>
                                <li><a data-toggle="collapse" data-target="#Charts" href="#">Service<span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                
                                
                                <ul class="submenu-angle" aria-expanded="true">
                                   <li><a title=""  href="add-service.php">Add Service</a></li>
                                   <li><a title=""  href="view-service.php">View Service</a></li> 
                                </ul>
                                
                                
                                
                                </li> 
                                
                                <li><a data-toggle="collapse" data-target="#Charts" href="#">Scop Of Service<span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                
                                
                                <ul class="submenu-angle" aria-expanded="true">
                                   <li><a title=""  href="add-servicescope.php">Add Scope of Service</a></li>
                                   <li><a title=""  href="view-servicescope.php">View Scope of Service</a></li> 
                                </ul>
                                
                                
                                
                                </li>
                                    <?php
						}
						}
                                        ?>             
                                            </ul>
                                        </li>
                                     <?php
						}
                                        ?>   
                                       
                                        <li><a data-toggle="collapse" data-target="#demoevent" href="#">Leads <span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                            <ul id="demoevent" class="collapse dropdown-header-top">
                                                <li><a title=""  href="current_leads.php">Current Leads</span></a></li>
                                <li><a title=""  href="to_be_called_leads.php">To be Called</span></a></li> 
                                <li><a title=""  href="qualified_leads.php">Interested Leads</span></a></li>
                                 <li><a title=""  href="allocated_leads.php">Sent to Assesment</span></a></li>
								  <li><a title=""  href="invalid_leads.php">Invalid Leads</span></a></li>
                            <li><a title=""  href="manual-lead-create.php">Add Manual Lead</span></a></li>
                                <li><a title=""  href="import_lead.php">Import Manual Lead</span></a></li>
							   <li><a title=""  href="archive.php">Archive Leads</span></a></li> 
                                            </ul>
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#demopro" href="#">Agreement <span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                            <ul id="demopro" class="collapse dropdown-header-top">
                                                <li><a title=""  href="Pending_Agreement.php" >Pending Agreement</span></a></li>
                                   <li><a title=""  href="Live_Agreement.php">Live Agreement</span></a></li>
								   <li><a title=""  href="Expire_Agreement.php">Expired Agreement</span></a></li>
                                            </ul>
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#democrou" href="#">Report <span class="admin-project-icon edu-icon edu-down-arrow"></span></a>
                                            <ul id="democrou" class="collapse dropdown-header-top">
                                               <li><a title=""  href="sourcewise-leads-status-report.php">Source wise Leads Status</span></a></li>
								<li><a title=""  href="datewise-leads-status-report.php">Date wise Leads Status</span></a></li>
                                <?php
								if($userDtlRow['User_Type']=='Super Admin')
						{
							?>
								<li><a title=""  href="daily-operational-report.php">Daily Operation Report</span></a></li>
								<li><a title=""  href="physiotherapy.php">Physio Operation Report</span></a></li>
								<?php
						}
								?>
                                            </ul>
                                        </li>
                                        <li><a data-toggle="collapse" data-target="#demopro" href="invoice_list.php">Invoice </a></li>
                                         <li><a data-toggle="collapse" data-target="#demopro" href="logout.php">Logout </a></li>
                                    </ul>
                                </nav>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
          
        </div>