<div class="sidebar sidebar-hide-to-small sidebar-shrink sidebar-gestures">
        <div class="nano">
            <div class="nano-content">
                <ul>
				
				<?php 

	if ($user_type==1){  ?>
	
				<?php
				$tkt_notification=" SELECT * FROM `tickets` WHERE last_reply_by='Client' AND status='Open' ";
				$tkt_notification = mysqli_query($connection,$tkt_notification);
                $tkt_notification = mysqli_num_rows($tkt_notification);
				
				?>
				
                    <li><a href="dashboard.php"><i class="ti-home"></i>Dashboard</a></li>
					 <li class="label">Bookings</li>
					 
				
					  
					  
					  <li class="active"><a class="sidebar-sub-toggle"><i class="ti-calendar"></i> Bookings  <span class="sidebar-collapse-icon ti-angle-down"></span></a>
                        <ul>
                           <li><a href="booking_list_tmp.php?stat=0"><i class="ti-calendar"></i> Temporary Bookings </a></li>
					  <li><a href="booking_list.php"><i class="ti-calendar"></i> Booking List </a></li>
					   <li><a href="booking_list_tmp.php?stat=2"><i class="ti-calendar"></i> All Bookings </a></li>
                        </ul>
                    </li>  
					
					
					
					  
					   
					   
					<li class="active"><a class="sidebar-sub-toggle"><i class="ti-shopping-cart"></i> POS  <span class="sidebar-collapse-icon ti-angle-down"></span></a>
                        <ul>
                            <li><a href="pos_invoice_create.php"><i class="ti-shopping-cart"></i>Invoice Create</a></li>
					       <li><a href="pos_invoice_list.php"><i class="ti-files"></i>Invoice List</a></li>
					      <li><a href="pos_customers.php"><i class="ti-face-smile"></i>Customers</a></li>
                        </ul>
                    </li>   
					   
					   
					   
					   
					  <li><a href="artists.php"><i class="ti-user"></i> Artists </a></li>
					   
					  <li><a href="add_event.php"><i class="ti-plus"></i> Add Event </a></li>
					  <li><a href="events.php"><i class="ti-agenda"></i> Events </a></li>
					    
					   <li><a href="assignments.php?type=export"><i class="ti-panel"></i> Assignments </a></li>
					  
					  <li><a href="payments.php"><i class="ti-money"></i> Payments </a></li>
					  <li><a href="tickets.php?status=1"><i class="ti-comments"></i> Tickets 
					  
					  <?php if ($tkt_notification>0) { ?>
					  <span class="badge badge-primary"><?php echo $tkt_notification; ?></span> 
					  
					  <?php } ?>
					  
					  </a></li>
					  
					  
					  <li class="active"><a class="sidebar-sub-toggle"><i class="ti-list"></i> Reports  <span class="sidebar-collapse-icon ti-angle-down"></span></a>
                        <ul>
                            <li><a href="report_artist.php"><i class="ti-stats-up"></i> Artist Report </a></li>
                             <li><a href="report_total_year.php"><i class="ti-calendar"></i> Total Report </a></li>
                        </ul>
                    </li>
					  
					  
					  
					  
					  
					  <li><a href="settings.php"><i class="ti-settings"></i> Settings </a></li>
					   <li><a href="db_backup.php"><i class="ti-cloud-down"></i> DB Backup </a></li>
					    <li><a href="users.php"><i class="ti-user"></i> Users </a></li>
					  
					
	   <?php	}  ?>
					
					
					<?php
                   
					if ($user_type==2){  ?>
					 <li><a href="dashboard.php"><i class="ti-home"></i>Dashboard</a></li>
					 <li class="label">Assignments</li>
					 <li><a href="assignments_photo.php"> <i class="ti-panel"></i> Pending Assignments</a></li>
                     <li><a href="assignments_photo.php?all=yes"><i class="ti-panel"></i> Completed Assignments</a></li>
					
					
					 	
					
                   
					
				<?php	}  ?>
				
				<?php
                   
					if ($user_type==3){  ?>
					
					 <li><a href="dashboard.php"><i class="ti-home"></i>Dashboard</a></li>
					 <li class="label">Assignments</li>
					 <li><a href="assignments_video.php"> <i class="ti-panel"></i> Pending Assignments</a></li>
                     <li><a href="assignments_video.php?all=yes"><i class="ti-panel"></i> Completed Assignments</a></li>
                   
					
                   
					
				<?php	}  ?>
				
				<?php
                   
					if ($user_type==4){  ?>
					
					
					 <li><a href="dashboard.php"><i class="ti-home"></i>Dashboard</a></li>
					
					   <li><a href="booking_list.php"><i class="ti-calendar"></i> Booking List </a></li>
					   	   <li><a href="report_artist.php"><i class="ti-stats-up"></i> Artist Report </a></li>
					 <li><a href="event_list.php"> <i class="ti-agenda"></i> Event List</a></li>
					   <li><a href="assignments.php"><i class="ti-panel"></i> Assignments </a></li>
                   <li><a href="payments.php"><i class="ti-money"></i> Payments </a></li>
				    <li><a href="tickets.php?status=1"><i class="ti-comments"></i> Tickets 
					  
					  <?php if ($tkt_notification>0) { ?>
					  <span class="badge badge-primary"><?php echo $tkt_notification; ?></span> 
					  
					  <?php } ?>
					  
					  </a></li>
					  <li><a href="change_pass.php"><i class="ti-settings"></i> <span>Change Password</span></a></li>
                                <li><a href="logout.php"><i class="ti-power-off"></i> <span>SignOut</span></a></li>
                   
					
				<?php	}  ?>
				
				
				<?php
                   
					if ($user_type==5){  ?>
					
					   <li><a href="booking_list.php"><i class="ti-calendar"></i> Booking List </a></li>
					 <li class="label">Payments</li>
					   <li><a href="payments.php"><i class="ti-money"></i> Payments </a></li>
                   
					  <li><a href="change_pass.php"><i class="ti-settings"></i> <span>Change Password</span></a></li>
                                <li><a href="logout.php"><i class="ti-power-off"></i> <span>SignOut</span></a></li>
                   
					
				<?php	}  ?>
                   
                </ul>
            </div>
        </div>
    </div>
	
	