<style>
    .select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #d6d7d9 !important;
    border-radius: 24px !important;
    cursor: text;
    height: 34px !important;
}
</style>


<input name="_token" type="hidden" class="token_admin" value="<?php echo e(csrf_token()); ?>">

<div class="right-panel" id="testload">
           
			   <?php
					$res  			= App\Helpers\CustomHelper::adminnotification();
				?>
               <div class="notifications chat-icon" id="msg-lists" style="cursor: pointer;">
                    <i class="fas fa-bell"></i> 
                 <div class="counts">
                     <span class="count"><?php echo e($res['messagecount']); ?></</span>
                 </div>
                   <div class="notification-list" style="display:none;">
                         <div class="row">
                             <div class="col-lg-12">
                                 <h4 class="msg">Notifications</h4>
                             </div>
                         </div>
                         <div class="list-of">
						 <?php if($res['totalcount']==0): ?>
							 <span>Notification Not Found</span>
						 <?php else: ?>
						    <?php $__currentLoopData = $res['messagelist']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $mlist): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						    
							    
							
							<?php if($mlist->type=='register_new_critical_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'vendors')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								<?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   <?php
									$pname  			= App\Helpers\CustomHelper::product_name($mlist->product_id);
								   ?>
								  
									 <div class="Desic">
										 <h6></h6>
										 <p>The buyer <b> <?php echo e(ucfirst($mlist->name)); ?></b> has marked the  <b><?php echo e(ucfirst($pname)); ?></b>  condition as critical</p>
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>

								<?php elseif($mlist->type=='vendor_product_request'): ?>
							 
								<a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'vendorproductslist1/<?php echo e($mlist->sender_id); ?>')">

									
							   
							   <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
							   <?php if(!empty($mlist->pro_pic)): ?>
								   <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
							   <?php else: ?>
								  <img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
							   <?php endif; ?>
							
								   <div class="Desic">
									   <h6></h6>
									   <p>The vendor <b> <?php echo e(ucfirst($mlist->name)); ?></b> has sent request for adding new product </p>
									   <p><?php
										  $nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
									  ?>
									  <?php echo e($nw); ?></p>
								   </div>
							  
							   </div>
							  </a>





							<?php elseif($mlist->type=='admin_existing_request'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'product_request')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   
								  
									 <div class="Desic">
										 <h6></h6>
										 <p>The buyer <b> <?php echo e(ucfirst($mlist->name)); ?></b> has sent request for adding new product in existing list</p>
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>
							 <?php elseif($mlist->type=='buyer_register_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'buyers')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   
								  
									 <div class="Desic">
										 <h6></h6>
										 <p>A new buyer <b> <?php echo e(ucfirst($mlist->name)); ?></b> has registered with Meddbot </p>
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>
								
							<?php elseif($mlist->type=='product_request_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'productapprovals')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   
								  
									 <div class="Desic">
										 <h6></h6>
										
										 <p><b><?php echo e(ucfirst($mlist->name)); ?></b>  has requested to add new master product</p>
										
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>

								<?php elseif($mlist->type=='category_request_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'categoryapprovals')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   
								  
									 <div class="Desic">
										 <h6></h6>
										 
										 
										
										 <p><b><?php echo e(ucfirst($mlist->name)); ?></b> has requested to add new category</p>
										
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>

							<?php elseif($mlist->type=='manufacture_register_notification'): ?>
							 
								<a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'manufacturers')">
							   
							   <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
							   <?php if(!empty($mlist->pro_pic)): ?>
								   <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
							   <?php else: ?>
								  <img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
							   <?php endif; ?>
								 
								
								   <div class="Desic">
									   <h6></h6>
									   <p>A new Manufacturer <b><?php echo e(ucfirst($mlist->name)); ?></b>  has registered with Meddbot </p>
									   <p><?php
										  $nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
									  ?>
									  <?php echo e($nw); ?></p>
								   </div>
							  
							   </div>
							  </a>
								
							 <?php elseif($mlist->type=='vendor_register_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'vendors')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   
								  
									 <div class="Desic">
										 <h6></h6>
										 <p>A new vendor <b><?php echo e(ucfirst($mlist->name)); ?></b>  has registered with Meddbot </p>
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>
								<?php elseif($mlist->type=='dealer_register_notification'): ?>
								
										<?php
											$details  			= App\Helpers\CustomHelper::userdetails($mlist->manufacturer_id);
										?>
										<?php
										//print_r($details );
										?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'vendorapprovals')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								  


								  
									 <div class="Desic">
										 <h6></h6>
										 <p>The dealer <b><?php echo e(ucfirst($mlist->name)); ?></b>  has requested to register with manufacturer <?php echo e(ucfirst($details['userdetails']['name'])); ?></p>
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>
								
								
								
							 <?php elseif($mlist->type=='vendor_manufaturer_register_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'vendorapprovals')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   <?php
									$manuname  			= App\Helpers\CustomHelper::manu_name($mlist->manufacturer_id);
								   ?>
								  
								  
								  
									 <div class="Desic">
										 <h6></h6>
										 
										 <p>The vendor <b><?php echo e(ucfirst($mlist->name)); ?></b> has sent request to add <b><?php echo e(ucfirst($manuname)); ?></b> to the database</p>
										
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>
							<?php elseif($mlist->type=='vendor_manufaturer_update_notification'): ?>
							 
							 	 <a href="#" onclick="readmessage(<?php echo e($mlist->id); ?>,'vendors')">
							     
								 <div class="notification icons <?php if($mlist->admin_read==0){echo "active";}?>">
								 <?php if(!empty($mlist->pro_pic)): ?>
									 <img src="<?php echo e(url('user_files')); ?>/<?php echo e($mlist->pro_pic); ?>">
								 <?php else: ?>
									<img src="<?php echo e(url('assets/images/1200px-No-Image-Placeholder.svg.png')); ?>">
								 <?php endif; ?>
								   
								  
									 <div class="Desic">
										 <h6></h6>
										 <p>The vendor <b><?php echo e(ucfirst($mlist->name)); ?></b> has requested to register as a manufacturer </p>
										 
										
										 <p><?php
											$nw  			= App\Helpers\CustomHelper::timeAgo($mlist->date);
										?>
										<?php echo e($nw); ?></p>
									 </div>
								
								 </div>
							    </a>
							 <?php endif; ?>
							
							 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
						  <?php endif; ?>
					 
                        
                         </div>
				
                    </div>
                 
                 
              </div> 
              <div class="pro-details">
                <div class="dropdown">
                      <div class="dropbtn f-small serBtn"><i class="far fa-user" aria-hidden="true"></i> <span><?php echo e(Auth::user()->name); ?> [ <?php if(Auth::user()->is_admin_role==1): ?> Main Admin <?php else: ?>  Sub Admin <?php endif; ?>]</span></div>
                          <div class="dropdown-content">
                          <a href="#"><i class="fas fa-user-alt" aria-hidden="true"></i> Profile & settings</a>
                            <a href="<?php echo e(url('/logout')); ?>">
                               <i class="fas fa-sign-out-alt" aria-hidden="true"></i> Logout
                             </a>
                          </div>
                    </div>
              </div>
              <div class="bars">
                <i class="fas fa-bars"></i>  
              </div>   
         </div>
	</div> 

    <div class="main-container">
		<div class="side-bar" id="msgheader">
			<div class="menus">
			<?php if(Auth::user()->is_admin == '1'): ?>
				
				<?php
					
					$resadmincount  			= App\Helpers\CustomHelper::sidebarAdmincount();
					
				?>
			
			
			
			
			
            <ul>
					
                <li>
                    <a href="<?php echo e(url('/admin/dashboard')); ?>" class="menu-lists <?php if($page == 'dashboard'){ ?> active <?php } ?>">
<!--
                        <div class="sideIc">
                            <img src="<?php echo e(url('assets/images/icons/dashboard.png')); ?>">
                        </div>
-->
                        <div class="menu-title">
                            My Dashboard
                        </div>
                    </a> 
                </li>

			<?php if(Auth::user()->is_admin_role==1): ?>

				<li>
                    <a href="<?php echo e(url('/admin/subadmin')); ?>" class="menu-lists <?php if($page == 'subadmin'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Sub Admin <span class="counts"><?php echo e($resadmincount['subadmin']); ?></span>
                        </div>
                    </a> 
                </li>

			<?php endif; ?>

				<li>
                    <a href="<?php echo e(url('/admin/categorylist')); ?>" class="menu-lists <?php if($page == 'categories'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Categories <span class="counts"><?php echo e($resadmincount['category']); ?></span>
                        </div>
                    </a> 
                </li>
				
                 <li>
                    <a href="<?php echo e(url('/admin/productslist')); ?>" class="menu-lists <?php if($page == 'products'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Master Products <span class="counts"><?php echo e($resadmincount['masterproducts']); ?></span>
                        </div>
                    </a> 
                </li>

		
                 
                 <li>
                    <a href="<?php echo e(url('/admin/manufacturers')); ?>" class="menu-lists <?php if($page == 'manufacturers'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Manufacturers <span class="counts"><?php echo e($resadmincount['manufacturer']); ?></span>
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('admin/vendors')); ?>" class="menu-lists <?php if($page == 'vendors'){ ?> active <?php } ?>">
                        <div class="request">
                        
                        </div>
                        <div class="menu-title">
                           Vendors <span class="counts"><?php echo e($resadmincount['vendor']); ?></span>
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('admin/buyers')); ?>" class="menu-lists <?php if($page == 'buyers'){ ?> active <?php } ?>">
                        <div class="dealers">
                        
                        </div>
                        <div class="menu-title">
                           Buyers <span class="counts"><?php echo e($resadmincount['buyer']); ?></span>
                        </div>
                    </a> 
                </li> 
                <li>
                    <a href="<?php echo e(url('/admin/vendorproductslist')); ?>" class="menu-lists <?php if($page == 'vendorproducts'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Vendor Products  <span class="counts"><?php echo e($resadmincount['vendorproducts']); ?></span>
                        </div>
                    </a> 
                </li>
                
                 <li>
                    <a href="<?php echo e(url('/admin/vendorapprovals')); ?>" class="menu-lists <?php if($page == 'vendorapprovals'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Vendor Approvals <span class="counts"><?php echo e($resadmincount['vendorapprovals']); ?></span> 
                        </div>
                    </a> 
                </li>
                
                 <li>
                    <a href="<?php echo e(url('/admin/categoryapprovals')); ?>" class="menu-lists <?php if($page == 'categoryapprovals'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Category Approvals <span class="counts"><?php echo e($resadmincount['categoryapproval']); ?></span>
                        </div>
                    </a> 
                </li>
                
				<li>
                    <a href="<?php echo e(url('/admin/productapprovals')); ?>" class="menu-lists <?php if($page == 'productapprovals'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Product Approvals  <span class="counts"><?php echo e($resadmincount['productapproval']); ?></span>
                        </div>
                    </a> 
                </li>
				<li>
                    <a href="<?php echo e(url('/admin/departrmentlist')); ?>" class="menu-lists <?php if($page == 'departmentlist'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Departments  <span class="counts"><?php echo e($resadmincount['departmentcount']); ?></span>
                        </div>
                    </a> 
                </li>
				<li>
                    <a href="<?php echo e(url('/admin/productlist_existing')); ?>" class="menu-lists <?php if($page == 'productlist_existing'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Existing Products  <span class="counts"><?php echo e($resadmincount['existingcount']); ?></span>
                        </div>
                    </a> 
                </li>
				
				<li>
                    <a href="<?php echo e(url('/admin/product_request')); ?>" class="menu-lists <?php if($page == 'product_request'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           Product Request  <span class="counts"><?php echo e($resadmincount['requestcount']); ?></span>
                        </div>
                    </a> 
                </li>
				
				
				
				
				
				
				

			<li class="mobile-show">
						<a href="#" class="menu-lists ">
							<div>
							<i class="fas fa-user-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Profile & Setting
							</div>
						</a> 
					</li>
					<li class="mobile-show">
						<a href="<?php echo e(url('/logout')); ?>" class="menu-lists ">
							<div>
							<i class="fas fa-sign-out-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Logout
							</div>
						</a> 
					</li>                
             </ul>
            <?php else: ?>
			<?php if(Auth::user()->user_type == '1'): ?>
				<ul>
					
					<li>
						<a href="<?php echo e(url('/buyers/dashboard')); ?>" class="menu-lists <?php if($page == 'dashboard'){ ?> active <?php } ?>">
							<div class="sideIc">
                            <img src="<?php echo e(url('assets/images/icons/dashboard.png')); ?>">
                        </div>
                        <div class="menu-title">
                            My Dashboard
                        </div>
						</a> 
					</li>
					<li>
						<a href="<?php echo e(url('buyers/asset_management')); ?>" class="menu-lists <?php if($page == 'assetmanagement'){ ?> active <?php } ?>">
							<div class="dashboard">
                        
							</div>
							<div class="menu-title">
								Asset Management
							</div>
						</a> 
					</li>
					<li>
						<a href="<?php echo e(url('buyers/getquote')); ?>" class="menu-lists <?php if($page == 'getquotes'){ ?> active <?php } ?>">
							<div class="getaquote getaquote2">
							
							</div>
							<div class="menu-title">
								Get a quote
							</div>
						</a> 
					</li>
                 
					 <li>
						<a href="<?php echo e(url('buyers/quotestatus')); ?>" class="menu-lists <?php if($page == 'quotestatus'){ ?> active <?php } ?>">
							<div class="getaquote">
							
							</div>
							<div class="menu-title">
							   Quote status
							</div>
						</a> 
					</li>
					<li>
						<a href="<?php echo e(url('buyers/orderlists')); ?>" class="menu-lists <?php if($page == 'orders'){ ?> active <?php } ?>">
							<div class="orders">
							
							</div>
							<div class="menu-title">
							   My Orders
							</div>
						</a> 
					</li>
					<li>
						<a href="<?php echo e(url('buyers/create_department')); ?>" class="menu-lists <?php if($page == 'create department'){ ?> active <?php } ?>">
							<div class="dealers">
							
							</div>
							<div class="menu-title">
							   Create Department
							</div>
						</a> 
					</li>
					<li>
						<a href="<?php echo e(url('buyers/approveddealers')); ?>" class="menu-lists <?php if($page == 'approveddealers'){ ?> active <?php } ?>">
							<div class="dealers">
							
							</div>
							<div class="menu-title">
							   Approved Dealers
							</div>
						</a> 
					</li>

						<li class="mobile-show">
						<a href="#" class="menu-lists ">
							<div>
							<i class="fas fa-user-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Profile & Setting
							</div>
						</a> 
					</li>
					<li class="mobile-show">
						<a href="<?php echo e(url('/logout')); ?>" class="menu-lists ">
							<div>
							<i class="fas fa-sign-out-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Logout
							</div>
						</a> 
					</li>
				</ul>
				<?php elseif(Auth::user()->user_type == '2'): ?>
				
				<ul>
					
                <li>
                    <a href="<?php echo e(url('/vendors/dashboard')); ?>" class="menu-lists <?php if($page == 'dashboard'){ ?> active <?php } ?>">
                        <div class="sideIc">
                            <img src="<?php echo e(url('assets/images/icons/dashboard.png')); ?>">
                        </div>
                        <div class="menu-title">
                            My Dashboard
                        </div>
                    </a> 
                </li>
				<li>
                    <a href="<?php echo e(url('/vendors/quality_manage')); ?>" class="menu-lists <?php if($page == 'Quality manage'){ ?> active <?php } ?>">
                        <div class="dashboard">
                        
                        </div>
                        <div class="menu-title">
                            Quality Management
                        </div>
                    </a> 
                </li>
					<li>
                    <a href="<?php echo e(url('/vendors/serviceengregistration')); ?>" class="menu-lists <?php if($page == 'Sevice engg registration'){ ?> active <?php } ?>">
                        <div class="dashboard">
                        
                        </div>
                        <div class="menu-title">
                            Add Service Engineer
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('/vendors/productslist')); ?>" class="menu-lists <?php if($page == 'productlist'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                            Product listing
                        </div>
                    </a> 
                </li>
                 
                 <li>
                    <a href="<?php echo e(url('/vendors/myquotes')); ?>" class="menu-lists <?php if($page == 'myquotes'){ ?> active <?php } ?>">
                        <div class="getaquote getaquote2">
                        
                        </div>
                        <div class="menu-title">
                           My quotes
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('vendors/quoterequests')); ?>" class="menu-lists <?php if($page == 'quoterequests'){ ?> active <?php } ?>">
                        <div class="request">
                        
                        </div>
                        <div class="menu-title">
                           New requests
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('vendors/dealerregistration')); ?>" class="menu-lists <?php if($page == 'dealerregistration'){ ?> active <?php } ?>">
                        <div class="dealers">
                        
                        </div>
                        <div class="menu-title">
                           Register as dealer
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('vendors/orderlists')); ?>" class="menu-lists <?php if($page == 'orderlist'){ ?> active <?php } ?>">
                        <div class="orders">
                        
                        </div>
                        <div class="menu-title">
                           Orders
                        </div>
                    </a> 
                </li>

		<li class="mobile-show">
						<a href="#" class="menu-lists ">
							<div>
							<i class="fas fa-user-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Profile & Setting
							</div>
						</a> 
					</li>
					<li class="mobile-show">
						<a href="<?php echo e(url('/logout')); ?>" class="menu-lists ">
							<div>
							<i class="fas fa-sign-out-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Logout
							</div>
						</a> 
					</li>

             </ul>
				
				<?php elseif(Auth::user()->user_type == '3'): ?>
				<ul>
					

                <li>
                    <a href="<?php echo e(url('/manufacturers/dashboard')); ?>" class="menu-lists <?php if($page == 'dashboard'){ ?> active <?php } ?>">
                        <div class="sideIc">
                            <img src="<?php echo e(url('assets/images/icons/dashboard.png')); ?>">
                        </div>
                        <div class="menu-title">
                            My Dashboard
                        </div>
                    </a> 
                </li>
                <li>
                    <a href="<?php echo e(url('/manufacturers/productslist')); ?>" class="menu-lists <?php if($page == 'productlist'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                            Product listing
                        </div>
                    </a> 
                </li> 
                 
                 <li>
                    <a href="<?php echo e(url('/manufacturers/myquotes')); ?>" class="menu-lists <?php if($page == 'myquotes'){ ?> active <?php } ?>">
                        <div class="getaquote">
                        
                        </div>
                        <div class="menu-title">
                           My quotes
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('manufacturers/quoterequests')); ?>" class="menu-lists <?php if($page == 'quoterequests'){ ?> active <?php } ?>">
                        <div class="request">
                        
                        </div>
                        <div class="menu-title">
                           New requests
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('manufacturers/dealerapprovals')); ?>" class="menu-lists <?php if($page == 'dealerapprovals'){ ?> active <?php } ?>">
                        <div class="dealers">
                        
                        </div>
                        <div class="menu-title">
                           Dealer Approvals
                        </div>
                    </a> 
                </li>
                 <li>
                    <a href="<?php echo e(url('manufacturers/orderlists')); ?>" class="menu-lists <?php if($page == 'orderlist'){ ?> active <?php } ?>">
                        <div class="orders">
                        
                        </div>
                        <div class="menu-title">
                           Orders
                        </div>
                    </a> 
                </li>
			<li class="mobile-show">
						<a href="#" class="menu-lists ">
							<div>
							<i class="fas fa-user-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Profile & Setting
							</div>
						</a> 
					</li>
					<li class="mobile-show">
						<a href="<?php echo e(url('/logout')); ?>" class="menu-lists ">
							<div>
							<i class="fas fa-sign-out-alt" aria-hidden="true"></i>
							</div>
							<div class="menu-title">
							  Logout
							</div>
						</a> 
					</li>
             </ul>
				<?php endif; ?>
				<?php endif; ?>
			</div>
		</div>
        <?php /**PATH /home/meddbot/public_html/resources/views/include/header_admin.blade.php ENDPATH**/ ?>