<!-- Profile Sidebar -->
							<div class="profile-sidebar">
								<div class="widget-profile pro-widget-content">
									<div class="profile-info-widget">
										<a href="dashboard.php" class="booking-doc-img">
										    <?php
    										    $u_sql = $config->query("SELECT up_image FROM user_profile WHERE user_id = '$user_id' ");
                                                $u_res = $u_sql->fetch_assoc();
										    ?>
											<img src="assets/img/<?php echo empty($u_res['up_image']) ? 'no-avatar.png' : 'user/profile/'.$u_res['up_image']; ?>" alt="<?= $username ?> user image">
										</a>
										<div class="profile-det-info">
											<h3><?= $username; ?></h3>
											
											<div class="patient-details">
												<h5 class="mb-0"><?= $company ?></h5>
											</div>
										</div>
									</div>
								</div>
								<div class="dashboard-widget">
									<nav class="dashboard-menu">
										<ul>
											<li class="active">
												<a href="dashboard.php">
													<i class="fas fa-columns"></i>
													<span>Dashboard</span>
												</a>
											</li>
											<li>
												<a href="add-players.php">
													<i class="fas fa-user"></i>
													<span>Add Players</span>
												</a>
											</li>
											<li>
												<a href="players-list.php">
													<i class="fas fa-users"></i>
													<span>Players List</span>
												</a>
											</li>
											<li>
												<a href="tournaments.php">
													<i class="fas fa-chess"></i>
													<span>Tournaments</span>
												</a>
											</li>
											
											<li>
												<a href="applied_history.php">
													<i class="fas fa-hourglass-start"></i>
													<span>Buy Package</span>
													<!--<small class="unread-msg">12</small>-->
												</a>
											</li>
											<li>
												<a href="user_wallet.php">
													<i class="fas fa-file-invoice"></i>
													<span>Wallet Amount</span>
												</a>
											</li>
											
											<li>
												<a href="user-swap.php">
													<i class="fas fa-star"></i>
													<span>Wallet Swap</span>
												</a>
											</li>
										
											<!--<li>-->
											<!--	<a href="#">-->
											<!--		<i class="fas fa-comments"></i>-->
											<!--		<span>Notification</span>-->
											<!--		<small class="unread-msg">23</small>-->
											<!--	</a>-->
											<!--</li>-->
											<li>
												<a href="profile.php">
													<i class="fas fa-user-cog"></i>
													<span>Profile Settings</span>
												</a>
											</li>
											
											<li>
												<a href="change_pass.php">
													<i class="fas fa-lock"></i>
													<span>Change Password</span>
												</a>
											</li>
											<li>
												<a href="logout.php">
													<i class="fas fa-sign-out-alt"></i>
													<span>Logout</span>
												</a>
											</li>
										</ul>
									</nav>
								</div>
							</div>
							<!-- /Profile Sidebar -->
<style>
    .submenu-ul{
        display: none;
    }
    #submenu-ul li {
        padding: 12px 26px 6px;
        border-bottom: 1px solid #cfc7c791;
    }
    #submenu-ul li:last-child{
        border-bottom: unset;
    }
    #submenu-ul li a{
        color: #757575;
    }
    #submenu-ul li a:hover{
        color: #FF6600;
    }
    #sidebar-submenu{
        cursor:pointer;
        padding:16px 20px;
    }
    #sidebar-submenu i{ 
        font-size: 16px;
        margin-right: 10px;
        width: 16px;
    }
    .sd-badge{
        font-size: 12px;
        padding: 4px 5px;
        color: #fff;
        border-radius:2px;
    }
</style>							
<script>
    let sidemenu = document.getElementById("sidebar-submenu");
    let sideul = document.getElementById("submenu-ul");
    function sideshow(){
        if(sideul.style.display == "none"){
            sideul.style.display = "block" ;
        }else{
            sideul.style.display = "none" ;
        }
    }
</script>							