<ul class="metismenu" id="menu">
                    <li class="nav-label first">Main Menu</li>
                    <li><a href="home.php" aria-expanded="false">
							<i class="fa fa-tachometer" aria-hidden="true"></i>
							<span class="nav-text">Dashboard <?php 
							
							$permission_qury1=mysqli_query($conn,"SELECT * FROM ormsregister WHERE reid='$_SESSION[reid]'");
							$permission_resalt1=mysqli_fetch_array($permission_qury1);
							
                            if($permission_resalt1['sellertype'] == "1"){

                            echo '<button class="btn btn-success btn-sm">Admin</button>';
							
							}else if($permission_resalt1['sellertype'] == "2"){
								
							echo '<button class="btn btn-success btn-sm">White Label Admin</button>';

                            }else if($permission_resalt1['sellertype'] == "3"){

                            echo '<button class="btn btn-primary btn-sm">Master</button>';

                            }else if($permission_resalt1['sellertype'] == "4"){

                            echo '<button class="btn btn-secondary btn-sm">Manager</button>';

                            }else if($permission_resalt1['sellertype'] == "5"){

                            echo '<button class="btn btn-dark btn-sm">Distributor</button>';

                            }else if($permission_resalt1['sellertype'] == "6"){

                            echo '<button class="btn btn-info btn-sm">Retailer</button>';

                            }

                            ?></span>
						</a>
                    </li>
					<?php 
						$permission_qury=mysqli_query($conn,"SELECT * FROM ormsregister WHERE reid='$_SESSION[reid]'");
						$permission_resalt=mysqli_fetch_array($permission_qury);
						
                        if($permission_resalt['sellertype'] == "1"){
							
                   ?>
<li>
<a class="has-arrow" href="javascript:void()" aria-expanded="false">							
<i class="la la-th-list"></i>							
<span class="nav-text">Filters</span>						
</a>                        
<ul aria-expanded="false">

<li>							
<a href="category.php">Category</a>						
</li>							
<li>							
<a href="providers.php">Providers</a>						
</li>							
<li>							
<a href="services.php">Services</a>						
</li>							
<li>							
<a href="datacard.php">Data Card</a>					
</li>							
<li><a href="province.php">Province</a></li>							
<li><a href="district.php">District</a></li>							
<li><a href="division.php">Division</a></li>							
<li><a href="notice.php">Notice</a></li>
</ul>							
</li>


                        <li>
					<a class="ai-icon" href="pay_desk.php" aria-expanded="false">
							<i class="fa fa-credit-card" aria-hidden="true"></i>
							<span class="nav-text">Pay Desk</span>
						</a>
                    </li>
                    
                    	<li>
					<a class="ai-icon" href="packages.php" aria-expanded="false">
							<i class="fa fa-gift aria-hidden="true"></i>
							<span class="nav-text">Packages</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Sellers</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="customers.php" aria-expanded="false">
							<span class="nav-text">All Sellers</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="reseller_customers.php" aria-expanded="false">
							<span class="nav-text">Other Sellers</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
<a class="has-arrow" href="#" aria-expanded="false">							
<i class="fa fa-user-circle-o" aria-hidden="true"></i>							
<span class="nav-text">Payment Requests</span>						
</a>                       
<ul aria-expanded="false">						    
<li>					        
<a class="ai-icon" href="admin_payment_requests.php" aria-expanded="false">							
<span class="nav-text">Payment Requests By Admin</span>						   
</a>                            
</li>							
<li>							
<a class="ai-icon" href="sellers_payment_requests.php" aria-expanded="false">							
<span class="nav-text">Payment Requests By Sellers</span>						   
</a>							
</li>
<li>							
<a class="ai-icon" href="admin_credit_payment_requests.php" aria-expanded="false">							
<span class="nav-text">Credit Payment Add By Admin</span>						   
</a>							
</li> 
<li>							
<a class="ai-icon" href="sellers_credit_payment_requests.php" aria-expanded="false">							
<span class="nav-text">Credit Payment Add By Sellers</span>						   
</a>							
</li> 
</ul>                    				
</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Reload API</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="reload_api.php" aria-expanded="false">
							<span class="nav-text">Credentials</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="documantation.php" aria-expanded="false">
							<span class="nav-text">Documentation</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-history" aria-hidden="true"></i>
							<span class="nav-text">History</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="my_reload_history.php" aria-expanded="false">
							<span class="nav-text">My Reload History</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="seller_reload_history.php" aria-expanded="false">
							<span class="nav-text">Seller Reload History</span>
						    </a>
							</li>
							<li>
							<a class="ai-icon" href="#utility_reload_history.php" aria-expanded="false">
							<span class="nav-text">Unitiliy Reload History</span>
						    </a>
							</li>
                            <li>
							<a class="ai-icon" href="payment_history.php" aria-expanded="false">
							<span class="nav-text">Payment History</span>
						    </a>
                            </li>
							<li>							
							<a class="ai-icon" href="ad_payment_history.php" aria-expanded="false">							
							<span class="nav-text">Payment History - Admin</span>						    
							</a>                            
							</li> 
							<li>							
							<a class="ai-icon" href="sellers_payment_history.php" aria-expanded="false">							
							<span class="nav-text">Payment History - Sellers</span>						    
							</a>                            
							</li>
							<li>							
							<a class="ai-icon" href="admin_credit_payment_history.php" aria-expanded="false">							
							<span class="nav-text">Credit History - Admin</span>						    
							</a>                            
							</li>
							<li>							
							<a class="ai-icon" href="sellers_credit_payment_history.php" aria-expanded="false">							
							<span class="nav-text">Credit History - Sellers</span>						    
							</a>                            
							</li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="support_tickets.php" aria-expanded="false">
							<i class="fa fa-headphones" aria-hidden="true"></i>
							<span class="nav-text">Support Tickets</span>
						</a>
                    </li>
					<li><a class="ai-icon" href="settings.php" aria-expanded="false">							
					<i class="fa fa-cog" aria-hidden="true"></i>							
					<span class="nav-text">Settings</span>						
					</a>                    
					</li>
					<?php
							
                            }else if($permission_resalt['sellertype'] == "2"){
							
                            ?>
					
					<li>
					<a class="ai-icon" href="pay_desk.php" aria-expanded="false">
							<i class="fa fa-credit-card" aria-hidden="true"></i>
							<span class="nav-text">Pay Desk</span>
						</a>
                    </li>
                    
                    	<li>
					<a class="ai-icon" href="packages.php" aria-expanded="false">
							<i class="fa fa-gift aria-hidden="true"></i>
							<span class="nav-text">Packages</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Sellers</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="customers.php" aria-expanded="false">
							<span class="nav-text">All Sellers</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="reseller_customers.php" aria-expanded="false">
							<span class="nav-text">Other Sellers</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="payment_requests.php" aria-expanded="false">
							<i class="fa fa-phone-square" aria-hidden="true"></i>
							<span class="nav-text">Payment Requests</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Reload API</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="reload_api.php" aria-expanded="false">
							<span class="nav-text">Credentials</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="documantation.php" aria-expanded="false">
							<span class="nav-text">Documentation</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-history" aria-hidden="true"></i>
							<span class="nav-text">History</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="my_reload_history.php" aria-expanded="false">
							<span class="nav-text">My Reload History</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="seller_reload_history.php" aria-expanded="false">
							<span class="nav-text">Seller Reload History</span>
						    </a>
							</li>
                            <li>
							<a class="ai-icon" href="payment_history.php" aria-expanded="false">
							<span class="nav-text">Payment History</span>
						    </a>
                            </li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="support_tickets.php" aria-expanded="false">
							<i class="fa fa-headphones" aria-hidden="true"></i>
							<span class="nav-text">Support Tickets</span>
						</a>
                    </li>

							<?php
							
                            }else if($permission_resalt['sellertype'] == "3"){
							
                            ?>

                            <li>
					<a class="ai-icon" href="pay_desk.php" aria-expanded="false">
							<i class="fa fa-credit-card" aria-hidden="true"></i>
							<span class="nav-text">Pay Desk</span>
						</a>
                    </li>
                    
                    		<li>
					<a class="ai-icon" href="packages.php" aria-expanded="false">
							<i class="fa fa-gift aria-hidden="true"></i>
							<span class="nav-text">Packages</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Sellers</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="customers.php" aria-expanded="false">
							<span class="nav-text">All Sellers</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="reseller_customers.php" aria-expanded="false">
							<span class="nav-text">Other Sellers</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="payment_requests.php" aria-expanded="false">
							<i class="fa fa-phone-square" aria-hidden="true"></i>
							<span class="nav-text">Payment Requests</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Reload API</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="reload_api.php" aria-expanded="false">
							<span class="nav-text">Credentials</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="documantation.php" aria-expanded="false">
							<span class="nav-text">Documentation</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-history" aria-hidden="true"></i>
							<span class="nav-text">History</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="my_reload_history.php" aria-expanded="false">
							<span class="nav-text">My Reload History</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="seller_reload_history.php" aria-expanded="false">
							<span class="nav-text">Seller Reload History</span>
						    </a>
							</li>
                            <li>
							<a class="ai-icon" href="payment_history.php" aria-expanded="false">
							<span class="nav-text">Payment History</span>
						    </a>
                            </li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="support_tickets.php" aria-expanded="false">
							<i class="fa fa-headphones" aria-hidden="true"></i>
							<span class="nav-text">Support Tickets</span>
						</a>
                    </li>
							<?php 
							
                            }else if($permission_resalt['sellertype'] == "4"){
							
                            ?>

							<li>
					<a class="ai-icon" href="pay_desk.php" aria-expanded="false">
							<i class="fa fa-credit-card" aria-hidden="true"></i>
							<span class="nav-text">Pay Desk</span>
						</a>
                    </li>
                    
                    			<li>
					<a class="ai-icon" href="packages.php" aria-expanded="false">
							<i class="fa fa-gift aria-hidden="true"></i>
							<span class="nav-text">Packages</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Sellers</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="customers.php" aria-expanded="false">
							<span class="nav-text">All Sellers</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="reseller_customers.php" aria-expanded="false">
							<span class="nav-text">Other Sellers</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="payment_requests.php" aria-expanded="false">
							<i class="fa fa-phone-square" aria-hidden="true"></i>
							<span class="nav-text">Payment Requests</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Reload API</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="reload_api.php" aria-expanded="false">
							<span class="nav-text">Credentials</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="documantation.php" aria-expanded="false">
							<span class="nav-text">Documentation</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-history" aria-hidden="true"></i>
							<span class="nav-text">History</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="my_reload_history.php" aria-expanded="false">
							<span class="nav-text">My Reload History</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="seller_reload_history.php" aria-expanded="false">
							<span class="nav-text">Seller Reload History</span>
						    </a>
							</li>
                            <li>
							<a class="ai-icon" href="payment_history.php" aria-expanded="false">
							<span class="nav-text">Payment History</span>
						    </a>
                            </li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="support_tickets.php" aria-expanded="false">
							<i class="fa fa-headphones" aria-hidden="true"></i>
							<span class="nav-text">Support Tickets</span>
						</a>
                    </li>

							<?php 
							
                            }else if($permission_resalt['sellertype'] == "5"){
							
                            ?>

							<li>
					<a class="ai-icon" href="pay_desk.php" aria-expanded="false">
							<i class="fa fa-credit-card" aria-hidden="true"></i>
							<span class="nav-text">Pay Desk</span>
						</a>
                    </li>
                    
                    			<li>
					<a class="ai-icon" href="packages.php" aria-expanded="false">
							<i class="fa fa-gift aria-hidden="true"></i>
							<span class="nav-text">Packages</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Sellers</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="customers.php" aria-expanded="false">
							<span class="nav-text">All Sellers</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="reseller_customers.php" aria-expanded="false">
							<span class="nav-text">Other Sellers</span>
						    </a>
							</li>
                        </ul>
					</li>
				
					<li>
					<a class="ai-icon" href="payment_requests.php" aria-expanded="false">
							<i class="fa fa-phone-square" aria-hidden="true"></i>
							<span class="nav-text">Payment Requests</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Reload API</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="reload_api.php" aria-expanded="false">
							<span class="nav-text">Credentials</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="documantation.php" aria-expanded="false">
							<span class="nav-text">Documentation</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-history" aria-hidden="true"></i>
							<span class="nav-text">History</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="my_reload_history.php" aria-expanded="false">
							<span class="nav-text">My Reload History</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="seller_reload_history.php" aria-expanded="false">
							<span class="nav-text">Seller Reload History</span>
						    </a>
							</li>
                            <li>
							<a class="ai-icon" href="payment_history.php" aria-expanded="false">
							<span class="nav-text">Payment History</span>
						    </a>
                            </li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="support_tickets.php" aria-expanded="false">
							<i class="fa fa-headphones" aria-hidden="true"></i>
							<span class="nav-text">Support Tickets</span>
						</a>
                    </li>
							
							<?php 
							
                            }else if($permission_resalt['sellertype'] == "6"){
							
                            ?>
							<li>
					<a class="ai-icon" href="pay_desk.php" aria-expanded="false">
							<i class="fa fa-credit-card" aria-hidden="true"></i>
							<span class="nav-text">Pay Desk</span>
						</a>
                    </li>

					<li>
					<a class="ai-icon" href="payment_requests.php" aria-expanded="false">
							<i class="fa fa-phone-square" aria-hidden="true"></i>
							<span class="nav-text">Payment Requests</span>
						</a>
                    </li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-user-circle-o" aria-hidden="true"></i>
							<span class="nav-text">Reload API</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="reload_api.php" aria-expanded="false">
							<span class="nav-text">Credentials</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="documantation.php" aria-expanded="false">
							<span class="nav-text">Documentation</span>
						    </a>
							</li>
                        </ul>
					</li>
					<li>
					<a class="has-arrow" href="javascript:void()" aria-expanded="false">
							<i class="fa fa-history" aria-hidden="true"></i>
							<span class="nav-text">History</span>
						</a>
                        <ul aria-expanded="false">
						    <li>
					        <a class="ai-icon" href="my_reload_history.php" aria-expanded="false">
							<span class="nav-text">My Reload History</span>
						    </a>
                            </li>
							<li>
							<a class="ai-icon" href="seller_reload_history.php" aria-expanded="false">
							<span class="nav-text">Seller Reload History</span>
						    </a>
							</li>
                            <li>
							<a class="ai-icon" href="payment_history.php" aria-expanded="false">
							<span class="nav-text">Payment History</span>
						    </a>
                            </li>
                        </ul>
					</li>
					<li>
					<a class="ai-icon" href="support_tickets.php" aria-expanded="false">
							<i class="fa fa-headphones" aria-hidden="true"></i>
							<span class="nav-text">Support Tickets</span>
						</a>
                    </li>
							
							<?php 

                            }

                            ?>
									
					
					
					<li>
                    
					
				</ul>